google-api-client 0.8.7 → 0.9.pre1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +21 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +6 -3
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +28 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +158 -150
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +872 -0
  15. data/api_names_out.yaml +20843 -0
  16. data/bin/generate-api +93 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1124 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +375 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +893 -0
  21. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  24. data/generated/google/apis/adexchangeseller_v2_0/service.rb +682 -0
  25. data/generated/google/apis/admin_directory_v1.rb +89 -0
  26. data/generated/google/apis/admin_directory_v1/classes.rb +2389 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +780 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +2805 -0
  29. data/generated/google/apis/admin_reports_v1.rb +38 -0
  30. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  31. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  32. data/generated/google/apis/admin_reports_v1/service.rb +341 -0
  33. data/generated/google/apis/adsense_v1_4.rb +38 -0
  34. data/generated/google/apis/adsense_v1_4/classes.rb +1279 -0
  35. data/generated/google/apis/adsense_v1_4/representations.rb +493 -0
  36. data/generated/google/apis/adsense_v1_4/service.rb +1752 -0
  37. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  38. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  39. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  40. data/generated/google/apis/adsensehost_v4_1/service.rb +1190 -0
  41. data/generated/google/apis/analytics_v3.rb +49 -0
  42. data/generated/google/apis/analytics_v3/classes.rb +5113 -0
  43. data/generated/google/apis/analytics_v3/representations.rb +1661 -0
  44. data/generated/google/apis/analytics_v3/service.rb +3600 -0
  45. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  46. data/generated/google/apis/androidenterprise_v1/classes.rb +1162 -0
  47. data/generated/google/apis/androidenterprise_v1/representations.rb +431 -0
  48. data/generated/google/apis/androidenterprise_v1/service.rb +1979 -0
  49. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +1374 -0
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +630 -0
  52. data/generated/google/apis/androidpublisher_v2/service.rb +2390 -0
  53. data/generated/google/apis/appsactivity_v1.rb +46 -0
  54. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  55. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  56. data/generated/google/apis/appsactivity_v1/service.rb +129 -0
  57. data/generated/google/apis/appstate_v1.rb +34 -0
  58. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  59. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  60. data/generated/google/apis/appstate_v1/service.rb +265 -0
  61. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  62. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  63. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  64. data/generated/google/apis/autoscaler_v1beta2/service.rb +488 -0
  65. data/generated/google/apis/bigquery_v2.rb +49 -0
  66. data/generated/google/apis/bigquery_v2/classes.rb +2255 -0
  67. data/generated/google/apis/bigquery_v2/representations.rb +754 -0
  68. data/generated/google/apis/bigquery_v2/service.rb +1003 -0
  69. data/generated/google/apis/blogger_v3.rb +37 -0
  70. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  71. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  72. data/generated/google/apis/blogger_v3/service.rb +1620 -0
  73. data/generated/google/apis/books_v1.rb +34 -0
  74. data/generated/google/apis/books_v1/classes.rb +3515 -0
  75. data/generated/google/apis/books_v1/representations.rb +1361 -0
  76. data/generated/google/apis/books_v1/service.rb +2170 -0
  77. data/generated/google/apis/calendar_v3.rb +37 -0
  78. data/generated/google/apis/calendar_v3/classes.rb +1702 -0
  79. data/generated/google/apis/calendar_v3/representations.rb +566 -0
  80. data/generated/google/apis/calendar_v3/service.rb +1943 -0
  81. data/generated/google/apis/civicinfo_v2.rb +31 -0
  82. data/generated/google/apis/civicinfo_v2/classes.rb +1057 -0
  83. data/generated/google/apis/civicinfo_v2/representations.rb +374 -0
  84. data/generated/google/apis/civicinfo_v2/service.rb +284 -0
  85. data/generated/google/apis/cloudmonitoring_v2beta2.rb +34 -0
  86. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  87. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  88. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +458 -0
  89. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +139 -0
  91. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +65 -0
  92. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +301 -0
  93. data/generated/google/apis/compute_v1.rb +49 -0
  94. data/generated/google/apis/compute_v1/classes.rb +6391 -0
  95. data/generated/google/apis/compute_v1/representations.rb +2209 -0
  96. data/generated/google/apis/compute_v1/service.rb +6352 -0
  97. data/generated/google/apis/container_v1beta1.rb +35 -0
  98. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  99. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  100. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  101. data/generated/google/apis/content_v2.rb +35 -0
  102. data/generated/google/apis/content_v2/classes.rb +3780 -0
  103. data/generated/google/apis/content_v2/representations.rb +1456 -0
  104. data/generated/google/apis/content_v2/service.rb +1706 -0
  105. data/generated/google/apis/coordinate_v1.rb +37 -0
  106. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  107. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  108. data/generated/google/apis/coordinate_v1/service.rb +687 -0
  109. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  110. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  111. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  112. data/generated/google/apis/customsearch_v1/service.rb +208 -0
  113. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  114. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  115. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  116. data/generated/google/apis/datastore_v1beta2/service.rb +300 -0
  117. data/generated/google/apis/deploymentmanager_v2beta2.rb +41 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +820 -0
  119. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +303 -0
  120. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +647 -0
  121. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  122. data/generated/google/apis/dfareporting_v2_1/classes.rb +10755 -0
  123. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +8775 -0
  125. data/generated/google/apis/discovery_v1.rb +32 -0
  126. data/generated/google/apis/discovery_v1/classes.rb +947 -0
  127. data/generated/google/apis/discovery_v1/representations.rb +355 -0
  128. data/generated/google/apis/discovery_v1/service.rb +144 -0
  129. data/generated/google/apis/dns_v1.rb +41 -0
  130. data/generated/google/apis/dns_v1/classes.rb +406 -0
  131. data/generated/google/apis/dns_v1/representations.rb +151 -0
  132. data/generated/google/apis/dns_v1/service.rb +460 -0
  133. data/{spec/google/api_client/request_spec.rb → generated/google/apis/doubleclickbidmanager_v1.rb} +15 -13
  134. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +709 -0
  135. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +297 -0
  136. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +349 -0
  137. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  138. data/generated/google/apis/doubleclicksearch_v2/classes.rb +947 -0
  139. data/generated/google/apis/doubleclicksearch_v2/representations.rb +315 -0
  140. data/generated/google/apis/doubleclicksearch_v2/service.rb +490 -0
  141. data/generated/google/apis/drive_v2.rb +55 -0
  142. data/generated/google/apis/drive_v2/classes.rb +2519 -0
  143. data/generated/google/apis/drive_v2/representations.rb +781 -0
  144. data/generated/google/apis/drive_v2/service.rb +2685 -0
  145. data/generated/google/apis/fitness_v1.rb +49 -0
  146. data/generated/google/apis/fitness_v1/classes.rb +809 -0
  147. data/generated/google/apis/fitness_v1/representations.rb +295 -0
  148. data/generated/google/apis/fitness_v1/service.rb +684 -0
  149. data/generated/google/apis/fusiontables_v2.rb +37 -0
  150. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  151. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  152. data/generated/google/apis/fusiontables_v2/service.rb +1496 -0
  153. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  154. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  155. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  156. data/generated/google/apis/games_configuration_v1configuration/service.rb +578 -0
  157. data/generated/google/apis/games_v1.rb +40 -0
  158. data/generated/google/apis/games_v1/classes.rb +4578 -0
  159. data/generated/google/apis/games_v1/representations.rb +1570 -0
  160. data/generated/google/apis/games_v1/service.rb +2306 -0
  161. data/generated/google/apis/gan_v1beta1.rb +31 -0
  162. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  163. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  164. data/generated/google/apis/gan_v1beta1/service.rb +692 -0
  165. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  166. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  167. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  168. data/generated/google/apis/genomics_v1beta2/service.rb +2356 -0
  169. data/generated/google/apis/gmail_v1.rb +49 -0
  170. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  171. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  172. data/generated/google/apis/gmail_v1/service.rb +1502 -0
  173. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  174. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  175. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  176. data/generated/google/apis/groupsmigration_v1/service.rb +111 -0
  177. data/generated/google/apis/groupssettings_v1.rb +34 -0
  178. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  179. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  180. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  181. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  182. data/generated/google/apis/identitytoolkit_v3/classes.rb +1229 -0
  183. data/generated/google/apis/identitytoolkit_v3/representations.rb +422 -0
  184. data/generated/google/apis/identitytoolkit_v3/service.rb +491 -0
  185. data/generated/google/apis/licensing_v1.rb +34 -0
  186. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  187. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  188. data/generated/google/apis/licensing_v1/service.rb +376 -0
  189. data/generated/google/apis/logging_v1beta3.rb +35 -0
  190. data/generated/google/apis/logging_v1beta3/classes.rb +505 -0
  191. data/generated/google/apis/logging_v1beta3/representations.rb +222 -0
  192. data/generated/google/apis/logging_v1beta3/service.rb +670 -0
  193. data/generated/google/apis/manager_v1beta2.rb +50 -0
  194. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  195. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  196. data/generated/google/apis/manager_v1beta2/service.rb +380 -0
  197. data/generated/google/apis/mapsengine_v1.rb +38 -0
  198. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  199. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  200. data/generated/google/apis/mapsengine_v1/service.rb +3465 -0
  201. data/generated/google/apis/mirror_v1.rb +37 -0
  202. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  203. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  204. data/generated/google/apis/mirror_v1/service.rb +1001 -0
  205. data/generated/google/apis/oauth2_v2.rb +43 -0
  206. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  207. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  208. data/generated/google/apis/oauth2_v2/service.rb +203 -0
  209. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  210. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  211. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  212. data/generated/google/apis/pagespeedonline_v2/service.rb +120 -0
  213. data/generated/google/apis/plus_domains_v1.rb +61 -0
  214. data/generated/google/apis/plus_domains_v1/classes.rb +2402 -0
  215. data/generated/google/apis/plus_domains_v1/representations.rb +873 -0
  216. data/generated/google/apis/plus_domains_v1/service.rb +924 -0
  217. data/generated/google/apis/plus_v1.rb +43 -0
  218. data/generated/google/apis/plus_v1/classes.rb +2384 -0
  219. data/generated/google/apis/plus_v1/representations.rb +812 -0
  220. data/generated/google/apis/plus_v1/service.rb +616 -0
  221. data/generated/google/apis/prediction_v1_6.rb +44 -0
  222. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  223. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  224. data/generated/google/apis/prediction_v1_6/service.rb +388 -0
  225. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  226. data/generated/google/apis/pubsub_v1beta2/classes.rb +824 -0
  227. data/generated/google/apis/pubsub_v1beta2/representations.rb +366 -0
  228. data/generated/google/apis/pubsub_v1beta2/service.rb +778 -0
  229. data/generated/google/apis/qpx_express_v1.rb +31 -0
  230. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  231. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  232. data/generated/google/apis/qpx_express_v1/service.rb +101 -0
  233. data/generated/google/apis/replicapool_v1beta2.rb +41 -0
  234. data/generated/google/apis/replicapool_v1beta2/classes.rb +621 -0
  235. data/generated/google/apis/replicapool_v1beta2/representations.rb +235 -0
  236. data/generated/google/apis/replicapool_v1beta2/service.rb +620 -0
  237. data/generated/google/apis/replicapoolupdater_v1beta1.rb +41 -0
  238. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +682 -0
  239. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +247 -0
  240. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +472 -0
  241. data/generated/google/apis/reseller_v1.rb +37 -0
  242. data/generated/google/apis/reseller_v1/classes.rb +502 -0
  243. data/generated/google/apis/reseller_v1/representations.rb +199 -0
  244. data/generated/google/apis/reseller_v1/service.rb +637 -0
  245. data/generated/google/apis/resourceviews_v1beta2.rb +47 -0
  246. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  247. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  248. data/generated/google/apis/resourceviews_v1beta2/service.rb +574 -0
  249. data/generated/google/apis/site_verification_v1.rb +37 -0
  250. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  251. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  252. data/generated/google/apis/site_verification_v1/service.rb +322 -0
  253. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  254. data/generated/google/apis/sqladmin_v1beta4/classes.rb +1817 -0
  255. data/generated/google/apis/sqladmin_v1beta4/representations.rb +688 -0
  256. data/generated/google/apis/sqladmin_v1beta4/service.rb +1534 -0
  257. data/generated/google/apis/storage_v1.rb +43 -0
  258. data/generated/google/apis/storage_v1/classes.rb +1177 -0
  259. data/generated/google/apis/storage_v1/representations.rb +427 -0
  260. data/generated/google/apis/storage_v1/service.rb +1920 -0
  261. data/generated/google/apis/tagmanager_v1.rb +52 -0
  262. data/generated/google/apis/tagmanager_v1/classes.rb +1226 -0
  263. data/generated/google/apis/tagmanager_v1/representations.rb +461 -0
  264. data/generated/google/apis/tagmanager_v1/service.rb +1978 -0
  265. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  266. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  267. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  268. data/generated/google/apis/taskqueue_v1beta2/service.rb +416 -0
  269. data/generated/google/apis/tasks_v1.rb +37 -0
  270. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  271. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  272. data/generated/google/apis/tasks_v1/service.rb +657 -0
  273. data/generated/google/apis/translate_v2.rb +31 -0
  274. data/generated/google/apis/translate_v2/classes.rb +168 -0
  275. data/generated/google/apis/translate_v2/representations.rb +109 -0
  276. data/generated/google/apis/translate_v2/service.rb +185 -0
  277. data/generated/google/apis/urlshortener_v1.rb +34 -0
  278. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  279. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  280. data/generated/google/apis/urlshortener_v1/service.rb +179 -0
  281. data/generated/google/apis/webmasters_v3.rb +37 -0
  282. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  283. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  284. data/generated/google/apis/webmasters_v3/service.rb +587 -0
  285. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  286. data/generated/google/apis/youtube_analytics_v1/classes.rb +540 -0
  287. data/generated/google/apis/youtube_analytics_v1/representations.rb +242 -0
  288. data/generated/google/apis/youtube_analytics_v1/service.rb +567 -0
  289. data/generated/google/apis/youtube_v3.rb +49 -0
  290. data/generated/google/apis/youtube_v3/classes.rb +7225 -0
  291. data/generated/google/apis/youtube_v3/representations.rb +2529 -0
  292. data/generated/google/apis/youtube_v3/service.rb +4051 -0
  293. data/google-api-client.gemspec +27 -39
  294. data/lib/google/api_client/auth/storage.rb +3 -2
  295. data/lib/google/api_client/auth/storages/file_store.rb +1 -3
  296. data/lib/google/api_client/auth/storages/redis_store.rb +6 -2
  297. data/lib/google/apis.rb +48 -0
  298. data/lib/google/apis/core/api_command.rb +128 -0
  299. data/lib/google/apis/core/base_service.rb +314 -0
  300. data/lib/google/apis/core/batch.rb +222 -0
  301. data/lib/google/apis/core/download.rb +94 -0
  302. data/lib/google/apis/core/hashable.rb +44 -0
  303. data/lib/google/apis/core/http_command.rb +275 -0
  304. data/lib/google/apis/core/json_representation.rb +122 -0
  305. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  306. data/lib/google/apis/core/multipart.rb +173 -0
  307. data/lib/google/apis/core/upload.rb +275 -0
  308. data/lib/google/{api_client → apis}/errors.rb +32 -28
  309. data/lib/google/apis/generator.rb +70 -0
  310. data/lib/google/apis/generator/annotator.rb +271 -0
  311. data/lib/google/apis/generator/helpers.rb +74 -0
  312. data/lib/google/apis/generator/model.rb +130 -0
  313. data/lib/google/apis/generator/template.rb +124 -0
  314. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  315. data/lib/google/apis/generator/templates/_method.tmpl +90 -0
  316. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  317. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  318. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  319. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  320. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  321. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  322. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  323. data/lib/google/apis/options.rb +79 -0
  324. data/lib/google/apis/version.rb +39 -0
  325. data/rakelib/metrics.rake +22 -0
  326. data/rakelib/rubocop.rake +10 -0
  327. data/rakelib/spec.rake +11 -0
  328. data/rakelib/yard.rake +11 -0
  329. data/samples/calendar/calendar.rb +43 -0
  330. data/samples/drive/drive.rb +40 -0
  331. data/samples/pubsub/pubsub.rb +52 -0
  332. data/{lib/google/api_client/discovery.rb → samples/translate/translate.rb} +14 -5
  333. data/script/generate +79 -0
  334. data/script/package +8 -0
  335. data/script/release +15 -0
  336. data/spec/fixtures/files/api_names.yaml +3 -0
  337. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  338. data/spec/fixtures/files/client_secrets.json +1 -0
  339. data/spec/fixtures/files/test.blah +1 -0
  340. data/spec/fixtures/files/test.txt +1 -0
  341. data/spec/fixtures/files/test_api.json +440 -0
  342. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  343. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  344. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  345. data/spec/google/apis/core/api_command_spec.rb +170 -0
  346. data/spec/google/apis/core/batch_spec.rb +128 -0
  347. data/spec/google/apis/core/download_spec.rb +90 -0
  348. data/spec/google/apis/core/hashable_spec.rb +60 -0
  349. data/spec/google/apis/core/http_command_spec.rb +238 -0
  350. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  351. data/spec/google/apis/core/service_spec.rb +247 -0
  352. data/spec/google/apis/core/upload_spec.rb +238 -0
  353. data/{lib/google/api_client/service_account.rb → spec/google/apis/generated_spec.rb} +14 -8
  354. data/spec/google/apis/generator/generator_spec.rb +272 -0
  355. data/spec/google/apis/logging_spec.rb +45 -0
  356. data/spec/google/apis/options_spec.rb +40 -0
  357. data/spec/integration_tests/drive_spec.rb +35 -0
  358. data/spec/integration_tests/pubsub_spec.rb +48 -0
  359. data/spec/integration_tests/url_shortener_spec.rb +31 -0
  360. data/spec/spec_helper.rb +102 -46
  361. metadata +433 -178
  362. data/lib/compat/multi_json.rb +0 -19
  363. data/lib/google/api_client.rb +0 -750
  364. data/lib/google/api_client/auth/file_storage.rb +0 -59
  365. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  366. data/lib/google/api_client/auth/key_utils.rb +0 -93
  367. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  368. data/lib/google/api_client/batch.rb +0 -326
  369. data/lib/google/api_client/charset.rb +0 -33
  370. data/lib/google/api_client/discovery/api.rb +0 -310
  371. data/lib/google/api_client/discovery/media.rb +0 -77
  372. data/lib/google/api_client/discovery/method.rb +0 -363
  373. data/lib/google/api_client/discovery/resource.rb +0 -156
  374. data/lib/google/api_client/discovery/schema.rb +0 -117
  375. data/lib/google/api_client/environment.rb +0 -42
  376. data/lib/google/api_client/gzip.rb +0 -28
  377. data/lib/google/api_client/logging.rb +0 -32
  378. data/lib/google/api_client/media.rb +0 -259
  379. data/lib/google/api_client/railtie.rb +0 -18
  380. data/lib/google/api_client/request.rb +0 -350
  381. data/lib/google/api_client/result.rb +0 -255
  382. data/lib/google/api_client/service.rb +0 -233
  383. data/lib/google/api_client/service/batch.rb +0 -110
  384. data/lib/google/api_client/service/request.rb +0 -144
  385. data/lib/google/api_client/service/resource.rb +0 -40
  386. data/lib/google/api_client/service/result.rb +0 -162
  387. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  388. data/lib/google/api_client/service/stub_generator.rb +0 -61
  389. data/spec/google/api_client/batch_spec.rb +0 -248
  390. data/spec/google/api_client/discovery_spec.rb +0 -708
  391. data/spec/google/api_client/gzip_spec.rb +0 -98
  392. data/spec/google/api_client/media_spec.rb +0 -178
  393. data/spec/google/api_client/result_spec.rb +0 -207
  394. data/spec/google/api_client/service_account_spec.rb +0 -169
  395. data/spec/google/api_client/service_spec.rb +0 -618
  396. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  397. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,2209 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ComputeV1
24
+
25
+ class AccessConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+ end
28
+
29
+ class Address
30
+ class Representation < Google::Apis::Core::JsonRepresentation; end
31
+ end
32
+
33
+ class AddressAggregatedList
34
+ class Representation < Google::Apis::Core::JsonRepresentation; end
35
+ end
36
+
37
+ class AddressList
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+ end
40
+
41
+ class AddressesScopedList
42
+ class Representation < Google::Apis::Core::JsonRepresentation; end
43
+
44
+ class Warning
45
+ class Representation < Google::Apis::Core::JsonRepresentation; end
46
+
47
+ class Datum
48
+ class Representation < Google::Apis::Core::JsonRepresentation; end
49
+ end
50
+ end
51
+ end
52
+
53
+ class AttachedDisk
54
+ class Representation < Google::Apis::Core::JsonRepresentation; end
55
+ end
56
+
57
+ class AttachedDiskInitializeParams
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
61
+ class Backend
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class BackendService
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class BackendServiceGroupHealth
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class BackendServiceList
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+ end
76
+
77
+ class DeprecationStatus
78
+ class Representation < Google::Apis::Core::JsonRepresentation; end
79
+ end
80
+
81
+ class Disk
82
+ class Representation < Google::Apis::Core::JsonRepresentation; end
83
+ end
84
+
85
+ class DiskAggregatedList
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+ end
88
+
89
+ class DiskList
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+ end
92
+
93
+ class MoveDiskRequest
94
+ class Representation < Google::Apis::Core::JsonRepresentation; end
95
+ end
96
+
97
+ class DiskType
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+ end
100
+
101
+ class DiskTypeAggregatedList
102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
103
+ end
104
+
105
+ class DiskTypeList
106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
107
+ end
108
+
109
+ class DiskTypesScopedList
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ class Warning
113
+ class Representation < Google::Apis::Core::JsonRepresentation; end
114
+
115
+ class Datum
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+ end
118
+ end
119
+ end
120
+
121
+ class DisksScopedList
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ class Warning
125
+ class Representation < Google::Apis::Core::JsonRepresentation; end
126
+
127
+ class Datum
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+ end
130
+ end
131
+ end
132
+
133
+ class Firewall
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ class Allowed
137
+ class Representation < Google::Apis::Core::JsonRepresentation; end
138
+ end
139
+ end
140
+
141
+ class FirewallList
142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
143
+ end
144
+
145
+ class ForwardingRule
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+ end
148
+
149
+ class ForwardingRuleAggregatedList
150
+ class Representation < Google::Apis::Core::JsonRepresentation; end
151
+ end
152
+
153
+ class ForwardingRuleList
154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
155
+ end
156
+
157
+ class ForwardingRulesScopedList
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ class Warning
161
+ class Representation < Google::Apis::Core::JsonRepresentation; end
162
+
163
+ class Datum
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+ end
166
+ end
167
+ end
168
+
169
+ class HealthCheckReference
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+ end
172
+
173
+ class HealthStatus
174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
175
+ end
176
+
177
+ class HostRule
178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
179
+ end
180
+
181
+ class HttpHealthCheck
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+ end
184
+
185
+ class HttpHealthCheckList
186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
187
+ end
188
+
189
+ class Image
190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
191
+
192
+ class RawDisk
193
+ class Representation < Google::Apis::Core::JsonRepresentation; end
194
+ end
195
+ end
196
+
197
+ class ImageList
198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
199
+ end
200
+
201
+ class Instance
202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
203
+ end
204
+
205
+ class InstanceAggregatedList
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+ end
208
+
209
+ class InstanceList
210
+ class Representation < Google::Apis::Core::JsonRepresentation; end
211
+ end
212
+
213
+ class MoveInstanceRequest
214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
215
+ end
216
+
217
+ class InstanceProperties
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+ end
220
+
221
+ class InstanceReference
222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
223
+ end
224
+
225
+ class InstanceTemplate
226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
227
+ end
228
+
229
+ class InstanceTemplateList
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+ end
232
+
233
+ class InstancesScopedList
234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
235
+
236
+ class Warning
237
+ class Representation < Google::Apis::Core::JsonRepresentation; end
238
+
239
+ class Datum
240
+ class Representation < Google::Apis::Core::JsonRepresentation; end
241
+ end
242
+ end
243
+ end
244
+
245
+ class License
246
+ class Representation < Google::Apis::Core::JsonRepresentation; end
247
+ end
248
+
249
+ class MachineType
250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
251
+
252
+ class ScratchDisk
253
+ class Representation < Google::Apis::Core::JsonRepresentation; end
254
+ end
255
+ end
256
+
257
+ class MachineTypeAggregatedList
258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
259
+ end
260
+
261
+ class MachineTypeList
262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
263
+ end
264
+
265
+ class MachineTypesScopedList
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ class Warning
269
+ class Representation < Google::Apis::Core::JsonRepresentation; end
270
+
271
+ class Datum
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+ end
274
+ end
275
+ end
276
+
277
+ class Metadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ class Item
281
+ class Representation < Google::Apis::Core::JsonRepresentation; end
282
+ end
283
+ end
284
+
285
+ class Network
286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
287
+ end
288
+
289
+ class NetworkInterface
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+ end
292
+
293
+ class NetworkList
294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
295
+ end
296
+
297
+ class Operation
298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
299
+
300
+ class Error
301
+ class Representation < Google::Apis::Core::JsonRepresentation; end
302
+
303
+ class Error
304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
305
+ end
306
+ end
307
+
308
+ class Warning
309
+ class Representation < Google::Apis::Core::JsonRepresentation; end
310
+
311
+ class Datum
312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
313
+ end
314
+ end
315
+ end
316
+
317
+ class OperationAggregatedList
318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
319
+ end
320
+
321
+ class OperationList
322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
323
+ end
324
+
325
+ class OperationsScopedList
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ class Warning
329
+ class Representation < Google::Apis::Core::JsonRepresentation; end
330
+
331
+ class Datum
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+ end
334
+ end
335
+ end
336
+
337
+ class PathMatcher
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+ end
340
+
341
+ class PathRule
342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
343
+ end
344
+
345
+ class Project
346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
347
+ end
348
+
349
+ class Quota
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+ end
352
+
353
+ class Region
354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
355
+ end
356
+
357
+ class RegionList
358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
359
+ end
360
+
361
+ class ResourceGroupReference
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+ end
364
+
365
+ class Route
366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
367
+
368
+ class Warning
369
+ class Representation < Google::Apis::Core::JsonRepresentation; end
370
+
371
+ class Datum
372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
373
+ end
374
+ end
375
+ end
376
+
377
+ class RouteList
378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
379
+ end
380
+
381
+ class Scheduling
382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
383
+ end
384
+
385
+ class SerialPortOutput
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+ end
388
+
389
+ class ServiceAccount
390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
391
+ end
392
+
393
+ class Snapshot
394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
395
+ end
396
+
397
+ class SnapshotList
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+ end
400
+
401
+ class Tags
402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
403
+ end
404
+
405
+ class TargetHttpProxy
406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
407
+ end
408
+
409
+ class TargetHttpProxyList
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+ end
412
+
413
+ class TargetInstance
414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
415
+ end
416
+
417
+ class TargetInstanceAggregatedList
418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
419
+ end
420
+
421
+ class TargetInstanceList
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+ end
424
+
425
+ class TargetInstancesScopedList
426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
427
+
428
+ class Warning
429
+ class Representation < Google::Apis::Core::JsonRepresentation; end
430
+
431
+ class Datum
432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
433
+ end
434
+ end
435
+ end
436
+
437
+ class TargetPool
438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
439
+ end
440
+
441
+ class TargetPoolAggregatedList
442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
443
+ end
444
+
445
+ class TargetPoolInstanceHealth
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+ end
448
+
449
+ class TargetPoolList
450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
451
+ end
452
+
453
+ class AddTargetPoolsHealthCheckRequest
454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
455
+ end
456
+
457
+ class AddTargetPoolsInstanceRequest
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+ end
460
+
461
+ class RemoveTargetPoolsHealthCheckRequest
462
+ class Representation < Google::Apis::Core::JsonRepresentation; end
463
+ end
464
+
465
+ class RemoveTargetPoolsInstanceRequest
466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
467
+ end
468
+
469
+ class TargetPoolsScopedList
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ class Warning
473
+ class Representation < Google::Apis::Core::JsonRepresentation; end
474
+
475
+ class Datum
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+ end
478
+ end
479
+ end
480
+
481
+ class TargetReference
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+ end
484
+
485
+ class TargetVpnGateway
486
+ class Representation < Google::Apis::Core::JsonRepresentation; end
487
+ end
488
+
489
+ class TargetVpnGatewayAggregatedList
490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
491
+ end
492
+
493
+ class TargetVpnGatewayList
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+ end
496
+
497
+ class TargetVpnGatewaysScopedList
498
+ class Representation < Google::Apis::Core::JsonRepresentation; end
499
+
500
+ class Warning
501
+ class Representation < Google::Apis::Core::JsonRepresentation; end
502
+
503
+ class Datum
504
+ class Representation < Google::Apis::Core::JsonRepresentation; end
505
+ end
506
+ end
507
+ end
508
+
509
+ class TestFailure
510
+ class Representation < Google::Apis::Core::JsonRepresentation; end
511
+ end
512
+
513
+ class UrlMap
514
+ class Representation < Google::Apis::Core::JsonRepresentation; end
515
+ end
516
+
517
+ class UrlMapList
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+ end
520
+
521
+ class UrlMapReference
522
+ class Representation < Google::Apis::Core::JsonRepresentation; end
523
+ end
524
+
525
+ class UrlMapTest
526
+ class Representation < Google::Apis::Core::JsonRepresentation; end
527
+ end
528
+
529
+ class UrlMapValidationResult
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+ end
532
+
533
+ class ValidateUrlMapsRequest
534
+ class Representation < Google::Apis::Core::JsonRepresentation; end
535
+ end
536
+
537
+ class ValidateUrlMapsResponse
538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
539
+ end
540
+
541
+ class UsageExportLocation
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+ end
544
+
545
+ class VpnTunnel
546
+ class Representation < Google::Apis::Core::JsonRepresentation; end
547
+ end
548
+
549
+ class VpnTunnelAggregatedList
550
+ class Representation < Google::Apis::Core::JsonRepresentation; end
551
+ end
552
+
553
+ class VpnTunnelList
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+ end
556
+
557
+ class VpnTunnelsScopedList
558
+ class Representation < Google::Apis::Core::JsonRepresentation; end
559
+
560
+ class Warning
561
+ class Representation < Google::Apis::Core::JsonRepresentation; end
562
+
563
+ class Datum
564
+ class Representation < Google::Apis::Core::JsonRepresentation; end
565
+ end
566
+ end
567
+ end
568
+
569
+ class Zone
570
+ class Representation < Google::Apis::Core::JsonRepresentation; end
571
+
572
+ class MaintenanceWindow
573
+ class Representation < Google::Apis::Core::JsonRepresentation; end
574
+ end
575
+ end
576
+
577
+ class ZoneList
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+ end
580
+
581
+ class AccessConfig
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :kind, as: 'kind'
585
+ property :name, as: 'name'
586
+ property :nat_ip, as: 'natIP'
587
+ property :type, as: 'type'
588
+ end
589
+ end
590
+
591
+ class Address
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :address, as: 'address'
595
+ property :creation_timestamp, as: 'creationTimestamp'
596
+ property :description, as: 'description'
597
+ property :id, as: 'id'
598
+ property :kind, as: 'kind'
599
+ property :name, as: 'name'
600
+ property :region, as: 'region'
601
+ property :self_link, as: 'selfLink'
602
+ property :status, as: 'status'
603
+ collection :users, as: 'users'
604
+ end
605
+ end
606
+
607
+ class AddressAggregatedList
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ property :id, as: 'id'
611
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::AddressesScopedList, decorator: Google::Apis::ComputeV1::AddressesScopedList::Representation
612
+
613
+ property :kind, as: 'kind'
614
+ property :next_page_token, as: 'nextPageToken'
615
+ property :self_link, as: 'selfLink'
616
+ end
617
+ end
618
+
619
+ class AddressList
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :id, as: 'id'
623
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Address, decorator: Google::Apis::ComputeV1::Address::Representation
624
+
625
+ property :kind, as: 'kind'
626
+ property :next_page_token, as: 'nextPageToken'
627
+ property :self_link, as: 'selfLink'
628
+ end
629
+ end
630
+
631
+ class AddressesScopedList
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ collection :addresses, as: 'addresses', class: Google::Apis::ComputeV1::Address, decorator: Google::Apis::ComputeV1::Address::Representation
635
+
636
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::AddressesScopedList::Warning, decorator: Google::Apis::ComputeV1::AddressesScopedList::Warning::Representation
637
+
638
+ end
639
+
640
+ class Warning
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :code, as: 'code'
644
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::AddressesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::AddressesScopedList::Warning::Datum::Representation
645
+
646
+ property :message, as: 'message'
647
+ end
648
+
649
+ class Datum
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :key, as: 'key'
653
+ property :value, as: 'value'
654
+ end
655
+ end
656
+ end
657
+ end
658
+
659
+ class AttachedDisk
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :auto_delete, as: 'autoDelete'
663
+ property :boot, as: 'boot'
664
+ property :device_name, as: 'deviceName'
665
+ property :index, as: 'index'
666
+ property :initialize_params, as: 'initializeParams', class: Google::Apis::ComputeV1::AttachedDiskInitializeParams, decorator: Google::Apis::ComputeV1::AttachedDiskInitializeParams::Representation
667
+
668
+ property :interface, as: 'interface'
669
+ property :kind, as: 'kind'
670
+ collection :licenses, as: 'licenses'
671
+ property :mode, as: 'mode'
672
+ property :source, as: 'source'
673
+ property :type, as: 'type'
674
+ end
675
+ end
676
+
677
+ class AttachedDiskInitializeParams
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :disk_name, as: 'diskName'
681
+ property :disk_size_gb, as: 'diskSizeGb'
682
+ property :disk_type, as: 'diskType'
683
+ property :source_image, as: 'sourceImage'
684
+ end
685
+ end
686
+
687
+ class Backend
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :balancing_mode, as: 'balancingMode'
691
+ property :capacity_scaler, as: 'capacityScaler'
692
+ property :description, as: 'description'
693
+ property :group, as: 'group'
694
+ property :max_rate, as: 'maxRate'
695
+ property :max_rate_per_instance, as: 'maxRatePerInstance'
696
+ property :max_utilization, as: 'maxUtilization'
697
+ end
698
+ end
699
+
700
+ class BackendService
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ collection :backends, as: 'backends', class: Google::Apis::ComputeV1::Backend, decorator: Google::Apis::ComputeV1::Backend::Representation
704
+
705
+ property :creation_timestamp, as: 'creationTimestamp'
706
+ property :description, as: 'description'
707
+ property :fingerprint, :base64 => true, as: 'fingerprint'
708
+ collection :health_checks, as: 'healthChecks'
709
+ property :id, as: 'id'
710
+ property :kind, as: 'kind'
711
+ property :name, as: 'name'
712
+ property :port, as: 'port'
713
+ property :port_name, as: 'portName'
714
+ property :protocol, as: 'protocol'
715
+ property :self_link, as: 'selfLink'
716
+ property :timeout_sec, as: 'timeoutSec'
717
+ end
718
+ end
719
+
720
+ class BackendServiceGroupHealth
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ collection :health_status, as: 'healthStatus', class: Google::Apis::ComputeV1::HealthStatus, decorator: Google::Apis::ComputeV1::HealthStatus::Representation
724
+
725
+ property :kind, as: 'kind'
726
+ end
727
+ end
728
+
729
+ class BackendServiceList
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :id, as: 'id'
733
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::BackendService, decorator: Google::Apis::ComputeV1::BackendService::Representation
734
+
735
+ property :kind, as: 'kind'
736
+ property :next_page_token, as: 'nextPageToken'
737
+ property :self_link, as: 'selfLink'
738
+ end
739
+ end
740
+
741
+ class DeprecationStatus
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :deleted, as: 'deleted'
745
+ property :deprecated, as: 'deprecated'
746
+ property :obsolete, as: 'obsolete'
747
+ property :replacement, as: 'replacement'
748
+ property :state, as: 'state'
749
+ end
750
+ end
751
+
752
+ class Disk
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :creation_timestamp, as: 'creationTimestamp'
756
+ property :description, as: 'description'
757
+ property :id, as: 'id'
758
+ property :kind, as: 'kind'
759
+ property :last_attach_timestamp, as: 'lastAttachTimestamp'
760
+ property :last_detach_timestamp, as: 'lastDetachTimestamp'
761
+ collection :licenses, as: 'licenses'
762
+ property :name, as: 'name'
763
+ property :options, as: 'options'
764
+ property :self_link, as: 'selfLink'
765
+ property :size_gb, as: 'sizeGb'
766
+ property :source_image, as: 'sourceImage'
767
+ property :source_image_id, as: 'sourceImageId'
768
+ property :source_snapshot, as: 'sourceSnapshot'
769
+ property :source_snapshot_id, as: 'sourceSnapshotId'
770
+ property :status, as: 'status'
771
+ property :type, as: 'type'
772
+ collection :users, as: 'users'
773
+ property :zone, as: 'zone'
774
+ end
775
+ end
776
+
777
+ class DiskAggregatedList
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :id, as: 'id'
781
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::DisksScopedList, decorator: Google::Apis::ComputeV1::DisksScopedList::Representation
782
+
783
+ property :kind, as: 'kind'
784
+ property :next_page_token, as: 'nextPageToken'
785
+ property :self_link, as: 'selfLink'
786
+ end
787
+ end
788
+
789
+ class DiskList
790
+ # @private
791
+ class Representation < Google::Apis::Core::JsonRepresentation
792
+ property :id, as: 'id'
793
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Disk, decorator: Google::Apis::ComputeV1::Disk::Representation
794
+
795
+ property :kind, as: 'kind'
796
+ property :next_page_token, as: 'nextPageToken'
797
+ property :self_link, as: 'selfLink'
798
+ end
799
+ end
800
+
801
+ class MoveDiskRequest
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :destination_zone, as: 'destinationZone'
805
+ property :target_disk, as: 'targetDisk'
806
+ end
807
+ end
808
+
809
+ class DiskType
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :creation_timestamp, as: 'creationTimestamp'
813
+ property :default_disk_size_gb, as: 'defaultDiskSizeGb'
814
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
815
+
816
+ property :description, as: 'description'
817
+ property :id, as: 'id'
818
+ property :kind, as: 'kind'
819
+ property :name, as: 'name'
820
+ property :self_link, as: 'selfLink'
821
+ property :valid_disk_size, as: 'validDiskSize'
822
+ property :zone, as: 'zone'
823
+ end
824
+ end
825
+
826
+ class DiskTypeAggregatedList
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :id, as: 'id'
830
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::DiskTypesScopedList, decorator: Google::Apis::ComputeV1::DiskTypesScopedList::Representation
831
+
832
+ property :kind, as: 'kind'
833
+ property :next_page_token, as: 'nextPageToken'
834
+ property :self_link, as: 'selfLink'
835
+ end
836
+ end
837
+
838
+ class DiskTypeList
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :id, as: 'id'
842
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::DiskType, decorator: Google::Apis::ComputeV1::DiskType::Representation
843
+
844
+ property :kind, as: 'kind'
845
+ property :next_page_token, as: 'nextPageToken'
846
+ property :self_link, as: 'selfLink'
847
+ end
848
+ end
849
+
850
+ class DiskTypesScopedList
851
+ # @private
852
+ class Representation < Google::Apis::Core::JsonRepresentation
853
+ collection :disk_types, as: 'diskTypes', class: Google::Apis::ComputeV1::DiskType, decorator: Google::Apis::ComputeV1::DiskType::Representation
854
+
855
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::DiskTypesScopedList::Warning, decorator: Google::Apis::ComputeV1::DiskTypesScopedList::Warning::Representation
856
+
857
+ end
858
+
859
+ class Warning
860
+ # @private
861
+ class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :code, as: 'code'
863
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::DiskTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::DiskTypesScopedList::Warning::Datum::Representation
864
+
865
+ property :message, as: 'message'
866
+ end
867
+
868
+ class Datum
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :key, as: 'key'
872
+ property :value, as: 'value'
873
+ end
874
+ end
875
+ end
876
+ end
877
+
878
+ class DisksScopedList
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ collection :disks, as: 'disks', class: Google::Apis::ComputeV1::Disk, decorator: Google::Apis::ComputeV1::Disk::Representation
882
+
883
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::DisksScopedList::Warning, decorator: Google::Apis::ComputeV1::DisksScopedList::Warning::Representation
884
+
885
+ end
886
+
887
+ class Warning
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :code, as: 'code'
891
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::DisksScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::DisksScopedList::Warning::Datum::Representation
892
+
893
+ property :message, as: 'message'
894
+ end
895
+
896
+ class Datum
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :key, as: 'key'
900
+ property :value, as: 'value'
901
+ end
902
+ end
903
+ end
904
+ end
905
+
906
+ class Firewall
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ collection :allowed, as: 'allowed', class: Google::Apis::ComputeV1::Firewall::Allowed, decorator: Google::Apis::ComputeV1::Firewall::Allowed::Representation
910
+
911
+ property :creation_timestamp, as: 'creationTimestamp'
912
+ property :description, as: 'description'
913
+ property :id, as: 'id'
914
+ property :kind, as: 'kind'
915
+ property :name, as: 'name'
916
+ property :network, as: 'network'
917
+ property :self_link, as: 'selfLink'
918
+ collection :source_ranges, as: 'sourceRanges'
919
+ collection :source_tags, as: 'sourceTags'
920
+ collection :target_tags, as: 'targetTags'
921
+ end
922
+
923
+ class Allowed
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :ip_protocol, as: 'IPProtocol'
927
+ collection :ports, as: 'ports'
928
+ end
929
+ end
930
+ end
931
+
932
+ class FirewallList
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :id, as: 'id'
936
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Firewall, decorator: Google::Apis::ComputeV1::Firewall::Representation
937
+
938
+ property :kind, as: 'kind'
939
+ property :next_page_token, as: 'nextPageToken'
940
+ property :self_link, as: 'selfLink'
941
+ end
942
+ end
943
+
944
+ class ForwardingRule
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ property :ip_address, as: 'IPAddress'
948
+ property :ip_protocol, as: 'IPProtocol'
949
+ property :creation_timestamp, as: 'creationTimestamp'
950
+ property :description, as: 'description'
951
+ property :id, as: 'id'
952
+ property :kind, as: 'kind'
953
+ property :name, as: 'name'
954
+ property :port_range, as: 'portRange'
955
+ property :region, as: 'region'
956
+ property :self_link, as: 'selfLink'
957
+ property :target, as: 'target'
958
+ end
959
+ end
960
+
961
+ class ForwardingRuleAggregatedList
962
+ # @private
963
+ class Representation < Google::Apis::Core::JsonRepresentation
964
+ property :id, as: 'id'
965
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::ForwardingRulesScopedList, decorator: Google::Apis::ComputeV1::ForwardingRulesScopedList::Representation
966
+
967
+ property :kind, as: 'kind'
968
+ property :next_page_token, as: 'nextPageToken'
969
+ property :self_link, as: 'selfLink'
970
+ end
971
+ end
972
+
973
+ class ForwardingRuleList
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :id, as: 'id'
977
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::ForwardingRule, decorator: Google::Apis::ComputeV1::ForwardingRule::Representation
978
+
979
+ property :kind, as: 'kind'
980
+ property :next_page_token, as: 'nextPageToken'
981
+ property :self_link, as: 'selfLink'
982
+ end
983
+ end
984
+
985
+ class ForwardingRulesScopedList
986
+ # @private
987
+ class Representation < Google::Apis::Core::JsonRepresentation
988
+ collection :forwarding_rules, as: 'forwardingRules', class: Google::Apis::ComputeV1::ForwardingRule, decorator: Google::Apis::ComputeV1::ForwardingRule::Representation
989
+
990
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning, decorator: Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning::Representation
991
+
992
+ end
993
+
994
+ class Warning
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :code, as: 'code'
998
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning::Datum::Representation
999
+
1000
+ property :message, as: 'message'
1001
+ end
1002
+
1003
+ class Datum
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ property :key, as: 'key'
1007
+ property :value, as: 'value'
1008
+ end
1009
+ end
1010
+ end
1011
+ end
1012
+
1013
+ class HealthCheckReference
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :health_check, as: 'healthCheck'
1017
+ end
1018
+ end
1019
+
1020
+ class HealthStatus
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :health_state, as: 'healthState'
1024
+ property :instance, as: 'instance'
1025
+ property :ip_address, as: 'ipAddress'
1026
+ property :port, as: 'port'
1027
+ end
1028
+ end
1029
+
1030
+ class HostRule
1031
+ # @private
1032
+ class Representation < Google::Apis::Core::JsonRepresentation
1033
+ property :description, as: 'description'
1034
+ collection :hosts, as: 'hosts'
1035
+ property :path_matcher, as: 'pathMatcher'
1036
+ end
1037
+ end
1038
+
1039
+ class HttpHealthCheck
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :check_interval_sec, as: 'checkIntervalSec'
1043
+ property :creation_timestamp, as: 'creationTimestamp'
1044
+ property :description, as: 'description'
1045
+ property :healthy_threshold, as: 'healthyThreshold'
1046
+ property :host, as: 'host'
1047
+ property :id, as: 'id'
1048
+ property :kind, as: 'kind'
1049
+ property :name, as: 'name'
1050
+ property :port, as: 'port'
1051
+ property :request_path, as: 'requestPath'
1052
+ property :self_link, as: 'selfLink'
1053
+ property :timeout_sec, as: 'timeoutSec'
1054
+ property :unhealthy_threshold, as: 'unhealthyThreshold'
1055
+ end
1056
+ end
1057
+
1058
+ class HttpHealthCheckList
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ property :id, as: 'id'
1062
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::HttpHealthCheck, decorator: Google::Apis::ComputeV1::HttpHealthCheck::Representation
1063
+
1064
+ property :kind, as: 'kind'
1065
+ property :next_page_token, as: 'nextPageToken'
1066
+ property :self_link, as: 'selfLink'
1067
+ end
1068
+ end
1069
+
1070
+ class Image
1071
+ # @private
1072
+ class Representation < Google::Apis::Core::JsonRepresentation
1073
+ property :archive_size_bytes, as: 'archiveSizeBytes'
1074
+ property :creation_timestamp, as: 'creationTimestamp'
1075
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
1076
+
1077
+ property :description, as: 'description'
1078
+ property :disk_size_gb, as: 'diskSizeGb'
1079
+ property :id, as: 'id'
1080
+ property :kind, as: 'kind'
1081
+ collection :licenses, as: 'licenses'
1082
+ property :name, as: 'name'
1083
+ property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeV1::Image::RawDisk, decorator: Google::Apis::ComputeV1::Image::RawDisk::Representation
1084
+
1085
+ property :self_link, as: 'selfLink'
1086
+ property :source_disk, as: 'sourceDisk'
1087
+ property :source_disk_id, as: 'sourceDiskId'
1088
+ property :source_type, as: 'sourceType'
1089
+ property :status, as: 'status'
1090
+ end
1091
+
1092
+ class RawDisk
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :container_type, as: 'containerType'
1096
+ property :sha1_checksum, as: 'sha1Checksum'
1097
+ property :source, as: 'source'
1098
+ end
1099
+ end
1100
+ end
1101
+
1102
+ class ImageList
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :id, as: 'id'
1106
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Image, decorator: Google::Apis::ComputeV1::Image::Representation
1107
+
1108
+ property :kind, as: 'kind'
1109
+ property :next_page_token, as: 'nextPageToken'
1110
+ property :self_link, as: 'selfLink'
1111
+ end
1112
+ end
1113
+
1114
+ class Instance
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :can_ip_forward, as: 'canIpForward'
1118
+ property :cpu_platform, as: 'cpuPlatform'
1119
+ property :creation_timestamp, as: 'creationTimestamp'
1120
+ property :description, as: 'description'
1121
+ collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
1122
+
1123
+ property :id, as: 'id'
1124
+ property :kind, as: 'kind'
1125
+ property :machine_type, as: 'machineType'
1126
+ property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
1127
+
1128
+ property :name, as: 'name'
1129
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
1130
+
1131
+ property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
1132
+
1133
+ property :self_link, as: 'selfLink'
1134
+ collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
1135
+
1136
+ property :status, as: 'status'
1137
+ property :status_message, as: 'statusMessage'
1138
+ property :tags, as: 'tags', class: Google::Apis::ComputeV1::Tags, decorator: Google::Apis::ComputeV1::Tags::Representation
1139
+
1140
+ property :zone, as: 'zone'
1141
+ end
1142
+ end
1143
+
1144
+ class InstanceAggregatedList
1145
+ # @private
1146
+ class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :id, as: 'id'
1148
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::InstancesScopedList, decorator: Google::Apis::ComputeV1::InstancesScopedList::Representation
1149
+
1150
+ property :kind, as: 'kind'
1151
+ property :next_page_token, as: 'nextPageToken'
1152
+ property :self_link, as: 'selfLink'
1153
+ end
1154
+ end
1155
+
1156
+ class InstanceList
1157
+ # @private
1158
+ class Representation < Google::Apis::Core::JsonRepresentation
1159
+ property :id, as: 'id'
1160
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Instance, decorator: Google::Apis::ComputeV1::Instance::Representation
1161
+
1162
+ property :kind, as: 'kind'
1163
+ property :next_page_token, as: 'nextPageToken'
1164
+ property :self_link, as: 'selfLink'
1165
+ end
1166
+ end
1167
+
1168
+ class MoveInstanceRequest
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :destination_zone, as: 'destinationZone'
1172
+ property :target_instance, as: 'targetInstance'
1173
+ end
1174
+ end
1175
+
1176
+ class InstanceProperties
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :can_ip_forward, as: 'canIpForward'
1180
+ property :description, as: 'description'
1181
+ collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
1182
+
1183
+ property :machine_type, as: 'machineType'
1184
+ property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
1185
+
1186
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
1187
+
1188
+ property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
1189
+
1190
+ collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
1191
+
1192
+ property :tags, as: 'tags', class: Google::Apis::ComputeV1::Tags, decorator: Google::Apis::ComputeV1::Tags::Representation
1193
+
1194
+ end
1195
+ end
1196
+
1197
+ class InstanceReference
1198
+ # @private
1199
+ class Representation < Google::Apis::Core::JsonRepresentation
1200
+ property :instance, as: 'instance'
1201
+ end
1202
+ end
1203
+
1204
+ class InstanceTemplate
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :creation_timestamp, as: 'creationTimestamp'
1208
+ property :description, as: 'description'
1209
+ property :id, as: 'id'
1210
+ property :kind, as: 'kind'
1211
+ property :name, as: 'name'
1212
+ property :properties, as: 'properties', class: Google::Apis::ComputeV1::InstanceProperties, decorator: Google::Apis::ComputeV1::InstanceProperties::Representation
1213
+
1214
+ property :self_link, as: 'selfLink'
1215
+ end
1216
+ end
1217
+
1218
+ class InstanceTemplateList
1219
+ # @private
1220
+ class Representation < Google::Apis::Core::JsonRepresentation
1221
+ property :id, as: 'id'
1222
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceTemplate, decorator: Google::Apis::ComputeV1::InstanceTemplate::Representation
1223
+
1224
+ property :kind, as: 'kind'
1225
+ property :next_page_token, as: 'nextPageToken'
1226
+ property :self_link, as: 'selfLink'
1227
+ end
1228
+ end
1229
+
1230
+ class InstancesScopedList
1231
+ # @private
1232
+ class Representation < Google::Apis::Core::JsonRepresentation
1233
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::Instance, decorator: Google::Apis::ComputeV1::Instance::Representation
1234
+
1235
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstancesScopedList::Warning, decorator: Google::Apis::ComputeV1::InstancesScopedList::Warning::Representation
1236
+
1237
+ end
1238
+
1239
+ class Warning
1240
+ # @private
1241
+ class Representation < Google::Apis::Core::JsonRepresentation
1242
+ property :code, as: 'code'
1243
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::InstancesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::InstancesScopedList::Warning::Datum::Representation
1244
+
1245
+ property :message, as: 'message'
1246
+ end
1247
+
1248
+ class Datum
1249
+ # @private
1250
+ class Representation < Google::Apis::Core::JsonRepresentation
1251
+ property :key, as: 'key'
1252
+ property :value, as: 'value'
1253
+ end
1254
+ end
1255
+ end
1256
+ end
1257
+
1258
+ class License
1259
+ # @private
1260
+ class Representation < Google::Apis::Core::JsonRepresentation
1261
+ property :charges_use_fee, as: 'chargesUseFee'
1262
+ property :kind, as: 'kind'
1263
+ property :name, as: 'name'
1264
+ property :self_link, as: 'selfLink'
1265
+ end
1266
+ end
1267
+
1268
+ class MachineType
1269
+ # @private
1270
+ class Representation < Google::Apis::Core::JsonRepresentation
1271
+ property :creation_timestamp, as: 'creationTimestamp'
1272
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
1273
+
1274
+ property :description, as: 'description'
1275
+ property :guest_cpus, as: 'guestCpus'
1276
+ property :id, as: 'id'
1277
+ property :image_space_gb, as: 'imageSpaceGb'
1278
+ property :kind, as: 'kind'
1279
+ property :maximum_persistent_disks, as: 'maximumPersistentDisks'
1280
+ property :maximum_persistent_disks_size_gb, as: 'maximumPersistentDisksSizeGb'
1281
+ property :memory_mb, as: 'memoryMb'
1282
+ property :name, as: 'name'
1283
+ collection :scratch_disks, as: 'scratchDisks', class: Google::Apis::ComputeV1::MachineType::ScratchDisk, decorator: Google::Apis::ComputeV1::MachineType::ScratchDisk::Representation
1284
+
1285
+ property :self_link, as: 'selfLink'
1286
+ property :zone, as: 'zone'
1287
+ end
1288
+
1289
+ class ScratchDisk
1290
+ # @private
1291
+ class Representation < Google::Apis::Core::JsonRepresentation
1292
+ property :disk_gb, as: 'diskGb'
1293
+ end
1294
+ end
1295
+ end
1296
+
1297
+ class MachineTypeAggregatedList
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ property :id, as: 'id'
1301
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::MachineTypesScopedList, decorator: Google::Apis::ComputeV1::MachineTypesScopedList::Representation
1302
+
1303
+ property :kind, as: 'kind'
1304
+ property :next_page_token, as: 'nextPageToken'
1305
+ property :self_link, as: 'selfLink'
1306
+ end
1307
+ end
1308
+
1309
+ class MachineTypeList
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ property :id, as: 'id'
1313
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::MachineType, decorator: Google::Apis::ComputeV1::MachineType::Representation
1314
+
1315
+ property :kind, as: 'kind'
1316
+ property :next_page_token, as: 'nextPageToken'
1317
+ property :self_link, as: 'selfLink'
1318
+ end
1319
+ end
1320
+
1321
+ class MachineTypesScopedList
1322
+ # @private
1323
+ class Representation < Google::Apis::Core::JsonRepresentation
1324
+ collection :machine_types, as: 'machineTypes', class: Google::Apis::ComputeV1::MachineType, decorator: Google::Apis::ComputeV1::MachineType::Representation
1325
+
1326
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::MachineTypesScopedList::Warning, decorator: Google::Apis::ComputeV1::MachineTypesScopedList::Warning::Representation
1327
+
1328
+ end
1329
+
1330
+ class Warning
1331
+ # @private
1332
+ class Representation < Google::Apis::Core::JsonRepresentation
1333
+ property :code, as: 'code'
1334
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::MachineTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::MachineTypesScopedList::Warning::Datum::Representation
1335
+
1336
+ property :message, as: 'message'
1337
+ end
1338
+
1339
+ class Datum
1340
+ # @private
1341
+ class Representation < Google::Apis::Core::JsonRepresentation
1342
+ property :key, as: 'key'
1343
+ property :value, as: 'value'
1344
+ end
1345
+ end
1346
+ end
1347
+ end
1348
+
1349
+ class Metadata
1350
+ # @private
1351
+ class Representation < Google::Apis::Core::JsonRepresentation
1352
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1353
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Metadata::Item, decorator: Google::Apis::ComputeV1::Metadata::Item::Representation
1354
+
1355
+ property :kind, as: 'kind'
1356
+ end
1357
+
1358
+ class Item
1359
+ # @private
1360
+ class Representation < Google::Apis::Core::JsonRepresentation
1361
+ property :key, as: 'key'
1362
+ property :value, as: 'value'
1363
+ end
1364
+ end
1365
+ end
1366
+
1367
+ class Network
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ property :i_pv4_range, as: 'IPv4Range'
1371
+ property :creation_timestamp, as: 'creationTimestamp'
1372
+ property :description, as: 'description'
1373
+ property :gateway_i_pv4, as: 'gatewayIPv4'
1374
+ property :id, as: 'id'
1375
+ property :kind, as: 'kind'
1376
+ property :name, as: 'name'
1377
+ property :self_link, as: 'selfLink'
1378
+ end
1379
+ end
1380
+
1381
+ class NetworkInterface
1382
+ # @private
1383
+ class Representation < Google::Apis::Core::JsonRepresentation
1384
+ collection :access_configs, as: 'accessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation
1385
+
1386
+ property :name, as: 'name'
1387
+ property :network, as: 'network'
1388
+ property :network_ip, as: 'networkIP'
1389
+ end
1390
+ end
1391
+
1392
+ class NetworkList
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ property :id, as: 'id'
1396
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Network, decorator: Google::Apis::ComputeV1::Network::Representation
1397
+
1398
+ property :kind, as: 'kind'
1399
+ property :next_page_token, as: 'nextPageToken'
1400
+ property :self_link, as: 'selfLink'
1401
+ end
1402
+ end
1403
+
1404
+ class Operation
1405
+ # @private
1406
+ class Representation < Google::Apis::Core::JsonRepresentation
1407
+ property :client_operation_id, as: 'clientOperationId'
1408
+ property :creation_timestamp, as: 'creationTimestamp'
1409
+ property :end_time, as: 'endTime'
1410
+ property :error, as: 'error', class: Google::Apis::ComputeV1::Operation::Error, decorator: Google::Apis::ComputeV1::Operation::Error::Representation
1411
+
1412
+ property :http_error_message, as: 'httpErrorMessage'
1413
+ property :http_error_status_code, as: 'httpErrorStatusCode'
1414
+ property :id, as: 'id'
1415
+ property :insert_time, as: 'insertTime'
1416
+ property :kind, as: 'kind'
1417
+ property :name, as: 'name'
1418
+ property :operation_type, as: 'operationType'
1419
+ property :progress, as: 'progress'
1420
+ property :region, as: 'region'
1421
+ property :self_link, as: 'selfLink'
1422
+ property :start_time, as: 'startTime'
1423
+ property :status, as: 'status'
1424
+ property :status_message, as: 'statusMessage'
1425
+ property :target_id, as: 'targetId'
1426
+ property :target_link, as: 'targetLink'
1427
+ property :user, as: 'user'
1428
+ collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::Operation::Warning, decorator: Google::Apis::ComputeV1::Operation::Warning::Representation
1429
+
1430
+ property :zone, as: 'zone'
1431
+ end
1432
+
1433
+ class Error
1434
+ # @private
1435
+ class Representation < Google::Apis::Core::JsonRepresentation
1436
+ collection :errors, as: 'errors', class: Google::Apis::ComputeV1::Operation::Error::Error, decorator: Google::Apis::ComputeV1::Operation::Error::Error::Representation
1437
+
1438
+ end
1439
+
1440
+ class Error
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ property :code, as: 'code'
1444
+ property :location, as: 'location'
1445
+ property :message, as: 'message'
1446
+ end
1447
+ end
1448
+ end
1449
+
1450
+ class Warning
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ property :code, as: 'code'
1454
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::Operation::Warning::Datum, decorator: Google::Apis::ComputeV1::Operation::Warning::Datum::Representation
1455
+
1456
+ property :message, as: 'message'
1457
+ end
1458
+
1459
+ class Datum
1460
+ # @private
1461
+ class Representation < Google::Apis::Core::JsonRepresentation
1462
+ property :key, as: 'key'
1463
+ property :value, as: 'value'
1464
+ end
1465
+ end
1466
+ end
1467
+ end
1468
+
1469
+ class OperationAggregatedList
1470
+ # @private
1471
+ class Representation < Google::Apis::Core::JsonRepresentation
1472
+ property :id, as: 'id'
1473
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::OperationsScopedList, decorator: Google::Apis::ComputeV1::OperationsScopedList::Representation
1474
+
1475
+ property :kind, as: 'kind'
1476
+ property :next_page_token, as: 'nextPageToken'
1477
+ property :self_link, as: 'selfLink'
1478
+ end
1479
+ end
1480
+
1481
+ class OperationList
1482
+ # @private
1483
+ class Representation < Google::Apis::Core::JsonRepresentation
1484
+ property :id, as: 'id'
1485
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Operation, decorator: Google::Apis::ComputeV1::Operation::Representation
1486
+
1487
+ property :kind, as: 'kind'
1488
+ property :next_page_token, as: 'nextPageToken'
1489
+ property :self_link, as: 'selfLink'
1490
+ end
1491
+ end
1492
+
1493
+ class OperationsScopedList
1494
+ # @private
1495
+ class Representation < Google::Apis::Core::JsonRepresentation
1496
+ collection :operations, as: 'operations', class: Google::Apis::ComputeV1::Operation, decorator: Google::Apis::ComputeV1::Operation::Representation
1497
+
1498
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::OperationsScopedList::Warning, decorator: Google::Apis::ComputeV1::OperationsScopedList::Warning::Representation
1499
+
1500
+ end
1501
+
1502
+ class Warning
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :code, as: 'code'
1506
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::OperationsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::OperationsScopedList::Warning::Datum::Representation
1507
+
1508
+ property :message, as: 'message'
1509
+ end
1510
+
1511
+ class Datum
1512
+ # @private
1513
+ class Representation < Google::Apis::Core::JsonRepresentation
1514
+ property :key, as: 'key'
1515
+ property :value, as: 'value'
1516
+ end
1517
+ end
1518
+ end
1519
+ end
1520
+
1521
+ class PathMatcher
1522
+ # @private
1523
+ class Representation < Google::Apis::Core::JsonRepresentation
1524
+ property :default_service, as: 'defaultService'
1525
+ property :description, as: 'description'
1526
+ property :name, as: 'name'
1527
+ collection :path_rules, as: 'pathRules', class: Google::Apis::ComputeV1::PathRule, decorator: Google::Apis::ComputeV1::PathRule::Representation
1528
+
1529
+ end
1530
+ end
1531
+
1532
+ class PathRule
1533
+ # @private
1534
+ class Representation < Google::Apis::Core::JsonRepresentation
1535
+ collection :paths, as: 'paths'
1536
+ property :service, as: 'service'
1537
+ end
1538
+ end
1539
+
1540
+ class Project
1541
+ # @private
1542
+ class Representation < Google::Apis::Core::JsonRepresentation
1543
+ property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
1544
+
1545
+ property :creation_timestamp, as: 'creationTimestamp'
1546
+ property :description, as: 'description'
1547
+ property :id, as: 'id'
1548
+ property :kind, as: 'kind'
1549
+ property :name, as: 'name'
1550
+ collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation
1551
+
1552
+ property :self_link, as: 'selfLink'
1553
+ property :usage_export_location, as: 'usageExportLocation', class: Google::Apis::ComputeV1::UsageExportLocation, decorator: Google::Apis::ComputeV1::UsageExportLocation::Representation
1554
+
1555
+ end
1556
+ end
1557
+
1558
+ class Quota
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :limit, as: 'limit'
1562
+ property :metric, as: 'metric'
1563
+ property :usage, as: 'usage'
1564
+ end
1565
+ end
1566
+
1567
+ class Region
1568
+ # @private
1569
+ class Representation < Google::Apis::Core::JsonRepresentation
1570
+ property :creation_timestamp, as: 'creationTimestamp'
1571
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
1572
+
1573
+ property :description, as: 'description'
1574
+ property :id, as: 'id'
1575
+ property :kind, as: 'kind'
1576
+ property :name, as: 'name'
1577
+ collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation
1578
+
1579
+ property :self_link, as: 'selfLink'
1580
+ property :status, as: 'status'
1581
+ collection :zones, as: 'zones'
1582
+ end
1583
+ end
1584
+
1585
+ class RegionList
1586
+ # @private
1587
+ class Representation < Google::Apis::Core::JsonRepresentation
1588
+ property :id, as: 'id'
1589
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Region, decorator: Google::Apis::ComputeV1::Region::Representation
1590
+
1591
+ property :kind, as: 'kind'
1592
+ property :next_page_token, as: 'nextPageToken'
1593
+ property :self_link, as: 'selfLink'
1594
+ end
1595
+ end
1596
+
1597
+ class ResourceGroupReference
1598
+ # @private
1599
+ class Representation < Google::Apis::Core::JsonRepresentation
1600
+ property :group, as: 'group'
1601
+ end
1602
+ end
1603
+
1604
+ class Route
1605
+ # @private
1606
+ class Representation < Google::Apis::Core::JsonRepresentation
1607
+ property :creation_timestamp, as: 'creationTimestamp'
1608
+ property :description, as: 'description'
1609
+ property :dest_range, as: 'destRange'
1610
+ property :id, as: 'id'
1611
+ property :kind, as: 'kind'
1612
+ property :name, as: 'name'
1613
+ property :network, as: 'network'
1614
+ property :next_hop_gateway, as: 'nextHopGateway'
1615
+ property :next_hop_instance, as: 'nextHopInstance'
1616
+ property :next_hop_ip, as: 'nextHopIp'
1617
+ property :next_hop_network, as: 'nextHopNetwork'
1618
+ property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
1619
+ property :priority, as: 'priority'
1620
+ property :self_link, as: 'selfLink'
1621
+ collection :tags, as: 'tags'
1622
+ collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::Route::Warning, decorator: Google::Apis::ComputeV1::Route::Warning::Representation
1623
+
1624
+ end
1625
+
1626
+ class Warning
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ property :code, as: 'code'
1630
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::Route::Warning::Datum, decorator: Google::Apis::ComputeV1::Route::Warning::Datum::Representation
1631
+
1632
+ property :message, as: 'message'
1633
+ end
1634
+
1635
+ class Datum
1636
+ # @private
1637
+ class Representation < Google::Apis::Core::JsonRepresentation
1638
+ property :key, as: 'key'
1639
+ property :value, as: 'value'
1640
+ end
1641
+ end
1642
+ end
1643
+ end
1644
+
1645
+ class RouteList
1646
+ # @private
1647
+ class Representation < Google::Apis::Core::JsonRepresentation
1648
+ property :id, as: 'id'
1649
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Route, decorator: Google::Apis::ComputeV1::Route::Representation
1650
+
1651
+ property :kind, as: 'kind'
1652
+ property :next_page_token, as: 'nextPageToken'
1653
+ property :self_link, as: 'selfLink'
1654
+ end
1655
+ end
1656
+
1657
+ class Scheduling
1658
+ # @private
1659
+ class Representation < Google::Apis::Core::JsonRepresentation
1660
+ property :automatic_restart, as: 'automaticRestart'
1661
+ property :on_host_maintenance, as: 'onHostMaintenance'
1662
+ property :preemptible, as: 'preemptible'
1663
+ end
1664
+ end
1665
+
1666
+ class SerialPortOutput
1667
+ # @private
1668
+ class Representation < Google::Apis::Core::JsonRepresentation
1669
+ property :contents, as: 'contents'
1670
+ property :kind, as: 'kind'
1671
+ property :self_link, as: 'selfLink'
1672
+ end
1673
+ end
1674
+
1675
+ class ServiceAccount
1676
+ # @private
1677
+ class Representation < Google::Apis::Core::JsonRepresentation
1678
+ property :email, as: 'email'
1679
+ collection :scopes, as: 'scopes'
1680
+ end
1681
+ end
1682
+
1683
+ class Snapshot
1684
+ # @private
1685
+ class Representation < Google::Apis::Core::JsonRepresentation
1686
+ property :creation_timestamp, as: 'creationTimestamp'
1687
+ property :description, as: 'description'
1688
+ property :disk_size_gb, as: 'diskSizeGb'
1689
+ property :id, as: 'id'
1690
+ property :kind, as: 'kind'
1691
+ collection :licenses, as: 'licenses'
1692
+ property :name, as: 'name'
1693
+ property :self_link, as: 'selfLink'
1694
+ property :source_disk, as: 'sourceDisk'
1695
+ property :source_disk_id, as: 'sourceDiskId'
1696
+ property :status, as: 'status'
1697
+ property :storage_bytes, as: 'storageBytes'
1698
+ property :storage_bytes_status, as: 'storageBytesStatus'
1699
+ end
1700
+ end
1701
+
1702
+ class SnapshotList
1703
+ # @private
1704
+ class Representation < Google::Apis::Core::JsonRepresentation
1705
+ property :id, as: 'id'
1706
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Snapshot, decorator: Google::Apis::ComputeV1::Snapshot::Representation
1707
+
1708
+ property :kind, as: 'kind'
1709
+ property :next_page_token, as: 'nextPageToken'
1710
+ property :self_link, as: 'selfLink'
1711
+ end
1712
+ end
1713
+
1714
+ class Tags
1715
+ # @private
1716
+ class Representation < Google::Apis::Core::JsonRepresentation
1717
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1718
+ collection :items, as: 'items'
1719
+ end
1720
+ end
1721
+
1722
+ class TargetHttpProxy
1723
+ # @private
1724
+ class Representation < Google::Apis::Core::JsonRepresentation
1725
+ property :creation_timestamp, as: 'creationTimestamp'
1726
+ property :description, as: 'description'
1727
+ property :id, as: 'id'
1728
+ property :kind, as: 'kind'
1729
+ property :name, as: 'name'
1730
+ property :self_link, as: 'selfLink'
1731
+ property :url_map, as: 'urlMap'
1732
+ end
1733
+ end
1734
+
1735
+ class TargetHttpProxyList
1736
+ # @private
1737
+ class Representation < Google::Apis::Core::JsonRepresentation
1738
+ property :id, as: 'id'
1739
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetHttpProxy, decorator: Google::Apis::ComputeV1::TargetHttpProxy::Representation
1740
+
1741
+ property :kind, as: 'kind'
1742
+ property :next_page_token, as: 'nextPageToken'
1743
+ property :self_link, as: 'selfLink'
1744
+ end
1745
+ end
1746
+
1747
+ class TargetInstance
1748
+ # @private
1749
+ class Representation < Google::Apis::Core::JsonRepresentation
1750
+ property :creation_timestamp, as: 'creationTimestamp'
1751
+ property :description, as: 'description'
1752
+ property :id, as: 'id'
1753
+ property :instance, as: 'instance'
1754
+ property :kind, as: 'kind'
1755
+ property :name, as: 'name'
1756
+ property :nat_policy, as: 'natPolicy'
1757
+ property :self_link, as: 'selfLink'
1758
+ property :zone, as: 'zone'
1759
+ end
1760
+ end
1761
+
1762
+ class TargetInstanceAggregatedList
1763
+ # @private
1764
+ class Representation < Google::Apis::Core::JsonRepresentation
1765
+ property :id, as: 'id'
1766
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetInstancesScopedList, decorator: Google::Apis::ComputeV1::TargetInstancesScopedList::Representation
1767
+
1768
+ property :kind, as: 'kind'
1769
+ property :next_page_token, as: 'nextPageToken'
1770
+ property :self_link, as: 'selfLink'
1771
+ end
1772
+ end
1773
+
1774
+ class TargetInstanceList
1775
+ # @private
1776
+ class Representation < Google::Apis::Core::JsonRepresentation
1777
+ property :id, as: 'id'
1778
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetInstance, decorator: Google::Apis::ComputeV1::TargetInstance::Representation
1779
+
1780
+ property :kind, as: 'kind'
1781
+ property :next_page_token, as: 'nextPageToken'
1782
+ property :self_link, as: 'selfLink'
1783
+ end
1784
+ end
1785
+
1786
+ class TargetInstancesScopedList
1787
+ # @private
1788
+ class Representation < Google::Apis::Core::JsonRepresentation
1789
+ collection :target_instances, as: 'targetInstances', class: Google::Apis::ComputeV1::TargetInstance, decorator: Google::Apis::ComputeV1::TargetInstance::Representation
1790
+
1791
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetInstancesScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetInstancesScopedList::Warning::Representation
1792
+
1793
+ end
1794
+
1795
+ class Warning
1796
+ # @private
1797
+ class Representation < Google::Apis::Core::JsonRepresentation
1798
+ property :code, as: 'code'
1799
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetInstancesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetInstancesScopedList::Warning::Datum::Representation
1800
+
1801
+ property :message, as: 'message'
1802
+ end
1803
+
1804
+ class Datum
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ property :key, as: 'key'
1808
+ property :value, as: 'value'
1809
+ end
1810
+ end
1811
+ end
1812
+ end
1813
+
1814
+ class TargetPool
1815
+ # @private
1816
+ class Representation < Google::Apis::Core::JsonRepresentation
1817
+ property :backup_pool, as: 'backupPool'
1818
+ property :creation_timestamp, as: 'creationTimestamp'
1819
+ property :description, as: 'description'
1820
+ property :failover_ratio, as: 'failoverRatio'
1821
+ collection :health_checks, as: 'healthChecks'
1822
+ property :id, as: 'id'
1823
+ collection :instances, as: 'instances'
1824
+ property :kind, as: 'kind'
1825
+ property :name, as: 'name'
1826
+ property :region, as: 'region'
1827
+ property :self_link, as: 'selfLink'
1828
+ property :session_affinity, as: 'sessionAffinity'
1829
+ end
1830
+ end
1831
+
1832
+ class TargetPoolAggregatedList
1833
+ # @private
1834
+ class Representation < Google::Apis::Core::JsonRepresentation
1835
+ property :id, as: 'id'
1836
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetPoolsScopedList, decorator: Google::Apis::ComputeV1::TargetPoolsScopedList::Representation
1837
+
1838
+ property :kind, as: 'kind'
1839
+ property :next_page_token, as: 'nextPageToken'
1840
+ property :self_link, as: 'selfLink'
1841
+ end
1842
+ end
1843
+
1844
+ class TargetPoolInstanceHealth
1845
+ # @private
1846
+ class Representation < Google::Apis::Core::JsonRepresentation
1847
+ collection :health_status, as: 'healthStatus', class: Google::Apis::ComputeV1::HealthStatus, decorator: Google::Apis::ComputeV1::HealthStatus::Representation
1848
+
1849
+ property :kind, as: 'kind'
1850
+ end
1851
+ end
1852
+
1853
+ class TargetPoolList
1854
+ # @private
1855
+ class Representation < Google::Apis::Core::JsonRepresentation
1856
+ property :id, as: 'id'
1857
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetPool, decorator: Google::Apis::ComputeV1::TargetPool::Representation
1858
+
1859
+ property :kind, as: 'kind'
1860
+ property :next_page_token, as: 'nextPageToken'
1861
+ property :self_link, as: 'selfLink'
1862
+ end
1863
+ end
1864
+
1865
+ class AddTargetPoolsHealthCheckRequest
1866
+ # @private
1867
+ class Representation < Google::Apis::Core::JsonRepresentation
1868
+ collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
1869
+
1870
+ end
1871
+ end
1872
+
1873
+ class AddTargetPoolsInstanceRequest
1874
+ # @private
1875
+ class Representation < Google::Apis::Core::JsonRepresentation
1876
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
1877
+
1878
+ end
1879
+ end
1880
+
1881
+ class RemoveTargetPoolsHealthCheckRequest
1882
+ # @private
1883
+ class Representation < Google::Apis::Core::JsonRepresentation
1884
+ collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
1885
+
1886
+ end
1887
+ end
1888
+
1889
+ class RemoveTargetPoolsInstanceRequest
1890
+ # @private
1891
+ class Representation < Google::Apis::Core::JsonRepresentation
1892
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
1893
+
1894
+ end
1895
+ end
1896
+
1897
+ class TargetPoolsScopedList
1898
+ # @private
1899
+ class Representation < Google::Apis::Core::JsonRepresentation
1900
+ collection :target_pools, as: 'targetPools', class: Google::Apis::ComputeV1::TargetPool, decorator: Google::Apis::ComputeV1::TargetPool::Representation
1901
+
1902
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetPoolsScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetPoolsScopedList::Warning::Representation
1903
+
1904
+ end
1905
+
1906
+ class Warning
1907
+ # @private
1908
+ class Representation < Google::Apis::Core::JsonRepresentation
1909
+ property :code, as: 'code'
1910
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetPoolsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetPoolsScopedList::Warning::Datum::Representation
1911
+
1912
+ property :message, as: 'message'
1913
+ end
1914
+
1915
+ class Datum
1916
+ # @private
1917
+ class Representation < Google::Apis::Core::JsonRepresentation
1918
+ property :key, as: 'key'
1919
+ property :value, as: 'value'
1920
+ end
1921
+ end
1922
+ end
1923
+ end
1924
+
1925
+ class TargetReference
1926
+ # @private
1927
+ class Representation < Google::Apis::Core::JsonRepresentation
1928
+ property :target, as: 'target'
1929
+ end
1930
+ end
1931
+
1932
+ class TargetVpnGateway
1933
+ # @private
1934
+ class Representation < Google::Apis::Core::JsonRepresentation
1935
+ property :creation_timestamp, as: 'creationTimestamp'
1936
+ property :description, as: 'description'
1937
+ collection :forwarding_rules, as: 'forwardingRules'
1938
+ property :id, as: 'id'
1939
+ property :kind, as: 'kind'
1940
+ property :name, as: 'name'
1941
+ property :network, as: 'network'
1942
+ property :region, as: 'region'
1943
+ property :self_link, as: 'selfLink'
1944
+ property :status, as: 'status'
1945
+ collection :tunnels, as: 'tunnels'
1946
+ end
1947
+ end
1948
+
1949
+ class TargetVpnGatewayAggregatedList
1950
+ # @private
1951
+ class Representation < Google::Apis::Core::JsonRepresentation
1952
+ property :id, as: 'id'
1953
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList, decorator: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Representation
1954
+
1955
+ property :kind, as: 'kind'
1956
+ property :next_page_token, as: 'nextPageToken'
1957
+ property :self_link, as: 'selfLink'
1958
+ end
1959
+ end
1960
+
1961
+ class TargetVpnGatewayList
1962
+ # @private
1963
+ class Representation < Google::Apis::Core::JsonRepresentation
1964
+ property :id, as: 'id'
1965
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetVpnGateway, decorator: Google::Apis::ComputeV1::TargetVpnGateway::Representation
1966
+
1967
+ property :kind, as: 'kind'
1968
+ property :next_page_token, as: 'nextPageToken'
1969
+ property :self_link, as: 'selfLink'
1970
+ end
1971
+ end
1972
+
1973
+ class TargetVpnGatewaysScopedList
1974
+ # @private
1975
+ class Representation < Google::Apis::Core::JsonRepresentation
1976
+ collection :target_vpn_gateways, as: 'targetVpnGateways', class: Google::Apis::ComputeV1::TargetVpnGateway, decorator: Google::Apis::ComputeV1::TargetVpnGateway::Representation
1977
+
1978
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Warning::Representation
1979
+
1980
+ end
1981
+
1982
+ class Warning
1983
+ # @private
1984
+ class Representation < Google::Apis::Core::JsonRepresentation
1985
+ property :code, as: 'code'
1986
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Warning::Datum::Representation
1987
+
1988
+ property :message, as: 'message'
1989
+ end
1990
+
1991
+ class Datum
1992
+ # @private
1993
+ class Representation < Google::Apis::Core::JsonRepresentation
1994
+ property :key, as: 'key'
1995
+ property :value, as: 'value'
1996
+ end
1997
+ end
1998
+ end
1999
+ end
2000
+
2001
+ class TestFailure
2002
+ # @private
2003
+ class Representation < Google::Apis::Core::JsonRepresentation
2004
+ property :actual_service, as: 'actualService'
2005
+ property :expected_service, as: 'expectedService'
2006
+ property :host, as: 'host'
2007
+ property :path, as: 'path'
2008
+ end
2009
+ end
2010
+
2011
+ class UrlMap
2012
+ # @private
2013
+ class Representation < Google::Apis::Core::JsonRepresentation
2014
+ property :creation_timestamp, as: 'creationTimestamp'
2015
+ property :default_service, as: 'defaultService'
2016
+ property :description, as: 'description'
2017
+ property :fingerprint, :base64 => true, as: 'fingerprint'
2018
+ collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeV1::HostRule, decorator: Google::Apis::ComputeV1::HostRule::Representation
2019
+
2020
+ property :id, as: 'id'
2021
+ property :kind, as: 'kind'
2022
+ property :name, as: 'name'
2023
+ collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeV1::PathMatcher, decorator: Google::Apis::ComputeV1::PathMatcher::Representation
2024
+
2025
+ property :self_link, as: 'selfLink'
2026
+ collection :tests, as: 'tests', class: Google::Apis::ComputeV1::UrlMapTest, decorator: Google::Apis::ComputeV1::UrlMapTest::Representation
2027
+
2028
+ end
2029
+ end
2030
+
2031
+ class UrlMapList
2032
+ # @private
2033
+ class Representation < Google::Apis::Core::JsonRepresentation
2034
+ property :id, as: 'id'
2035
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
2036
+
2037
+ property :kind, as: 'kind'
2038
+ property :next_page_token, as: 'nextPageToken'
2039
+ property :self_link, as: 'selfLink'
2040
+ end
2041
+ end
2042
+
2043
+ class UrlMapReference
2044
+ # @private
2045
+ class Representation < Google::Apis::Core::JsonRepresentation
2046
+ property :url_map, as: 'urlMap'
2047
+ end
2048
+ end
2049
+
2050
+ class UrlMapTest
2051
+ # @private
2052
+ class Representation < Google::Apis::Core::JsonRepresentation
2053
+ property :description, as: 'description'
2054
+ property :host, as: 'host'
2055
+ property :path, as: 'path'
2056
+ property :service, as: 'service'
2057
+ end
2058
+ end
2059
+
2060
+ class UrlMapValidationResult
2061
+ # @private
2062
+ class Representation < Google::Apis::Core::JsonRepresentation
2063
+ collection :load_errors, as: 'loadErrors'
2064
+ property :load_succeeded, as: 'loadSucceeded'
2065
+ collection :test_failures, as: 'testFailures', class: Google::Apis::ComputeV1::TestFailure, decorator: Google::Apis::ComputeV1::TestFailure::Representation
2066
+
2067
+ property :test_passed, as: 'testPassed'
2068
+ end
2069
+ end
2070
+
2071
+ class ValidateUrlMapsRequest
2072
+ # @private
2073
+ class Representation < Google::Apis::Core::JsonRepresentation
2074
+ property :resource, as: 'resource', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
2075
+
2076
+ end
2077
+ end
2078
+
2079
+ class ValidateUrlMapsResponse
2080
+ # @private
2081
+ class Representation < Google::Apis::Core::JsonRepresentation
2082
+ property :result, as: 'result', class: Google::Apis::ComputeV1::UrlMapValidationResult, decorator: Google::Apis::ComputeV1::UrlMapValidationResult::Representation
2083
+
2084
+ end
2085
+ end
2086
+
2087
+ class UsageExportLocation
2088
+ # @private
2089
+ class Representation < Google::Apis::Core::JsonRepresentation
2090
+ property :bucket_name, as: 'bucketName'
2091
+ property :report_name_prefix, as: 'reportNamePrefix'
2092
+ end
2093
+ end
2094
+
2095
+ class VpnTunnel
2096
+ # @private
2097
+ class Representation < Google::Apis::Core::JsonRepresentation
2098
+ property :creation_timestamp, as: 'creationTimestamp'
2099
+ property :description, as: 'description'
2100
+ property :detailed_status, as: 'detailedStatus'
2101
+ property :id, as: 'id'
2102
+ collection :ike_networks, as: 'ikeNetworks'
2103
+ property :ike_version, as: 'ikeVersion'
2104
+ property :kind, as: 'kind'
2105
+ property :name, as: 'name'
2106
+ property :peer_ip, as: 'peerIp'
2107
+ property :region, as: 'region'
2108
+ property :self_link, as: 'selfLink'
2109
+ property :shared_secret, as: 'sharedSecret'
2110
+ property :shared_secret_hash, as: 'sharedSecretHash'
2111
+ property :status, as: 'status'
2112
+ property :target_vpn_gateway, as: 'targetVpnGateway'
2113
+ end
2114
+ end
2115
+
2116
+ class VpnTunnelAggregatedList
2117
+ # @private
2118
+ class Representation < Google::Apis::Core::JsonRepresentation
2119
+ property :id, as: 'id'
2120
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::VpnTunnelsScopedList, decorator: Google::Apis::ComputeV1::VpnTunnelsScopedList::Representation
2121
+
2122
+ property :kind, as: 'kind'
2123
+ property :next_page_token, as: 'nextPageToken'
2124
+ property :self_link, as: 'selfLink'
2125
+ end
2126
+ end
2127
+
2128
+ class VpnTunnelList
2129
+ # @private
2130
+ class Representation < Google::Apis::Core::JsonRepresentation
2131
+ property :id, as: 'id'
2132
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::VpnTunnel, decorator: Google::Apis::ComputeV1::VpnTunnel::Representation
2133
+
2134
+ property :kind, as: 'kind'
2135
+ property :next_page_token, as: 'nextPageToken'
2136
+ property :self_link, as: 'selfLink'
2137
+ end
2138
+ end
2139
+
2140
+ class VpnTunnelsScopedList
2141
+ # @private
2142
+ class Representation < Google::Apis::Core::JsonRepresentation
2143
+ collection :vpn_tunnels, as: 'vpnTunnels', class: Google::Apis::ComputeV1::VpnTunnel, decorator: Google::Apis::ComputeV1::VpnTunnel::Representation
2144
+
2145
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::VpnTunnelsScopedList::Warning, decorator: Google::Apis::ComputeV1::VpnTunnelsScopedList::Warning::Representation
2146
+
2147
+ end
2148
+
2149
+ class Warning
2150
+ # @private
2151
+ class Representation < Google::Apis::Core::JsonRepresentation
2152
+ property :code, as: 'code'
2153
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::VpnTunnelsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::VpnTunnelsScopedList::Warning::Datum::Representation
2154
+
2155
+ property :message, as: 'message'
2156
+ end
2157
+
2158
+ class Datum
2159
+ # @private
2160
+ class Representation < Google::Apis::Core::JsonRepresentation
2161
+ property :key, as: 'key'
2162
+ property :value, as: 'value'
2163
+ end
2164
+ end
2165
+ end
2166
+ end
2167
+
2168
+ class Zone
2169
+ # @private
2170
+ class Representation < Google::Apis::Core::JsonRepresentation
2171
+ property :creation_timestamp, as: 'creationTimestamp'
2172
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
2173
+
2174
+ property :description, as: 'description'
2175
+ property :id, as: 'id'
2176
+ property :kind, as: 'kind'
2177
+ collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::ComputeV1::Zone::MaintenanceWindow, decorator: Google::Apis::ComputeV1::Zone::MaintenanceWindow::Representation
2178
+
2179
+ property :name, as: 'name'
2180
+ property :region, as: 'region'
2181
+ property :self_link, as: 'selfLink'
2182
+ property :status, as: 'status'
2183
+ end
2184
+
2185
+ class MaintenanceWindow
2186
+ # @private
2187
+ class Representation < Google::Apis::Core::JsonRepresentation
2188
+ property :begin_time, as: 'beginTime'
2189
+ property :description, as: 'description'
2190
+ property :end_time, as: 'endTime'
2191
+ property :name, as: 'name'
2192
+ end
2193
+ end
2194
+ end
2195
+
2196
+ class ZoneList
2197
+ # @private
2198
+ class Representation < Google::Apis::Core::JsonRepresentation
2199
+ property :id, as: 'id'
2200
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Zone, decorator: Google::Apis::ComputeV1::Zone::Representation
2201
+
2202
+ property :kind, as: 'kind'
2203
+ property :next_page_token, as: 'nextPageToken'
2204
+ property :self_link, as: 'selfLink'
2205
+ end
2206
+ end
2207
+ end
2208
+ end
2209
+ end