google-api-client 0.11.3 → 0.12.0

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/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,40 +0,0 @@
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 'google/apis/appengine_v1beta5/service.rb'
16
- require 'google/apis/appengine_v1beta5/classes.rb'
17
- require 'google/apis/appengine_v1beta5/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google App Engine Admin API
22
- #
23
- # Provisions and manages App Engine applications.
24
- #
25
- # @see https://cloud.google.com/appengine/docs/admin-api/
26
- module AppengineV1beta5
27
- VERSION = 'V1beta5'
28
- REVISION = '20170324'
29
-
30
- # View and manage your applications deployed on Google App Engine
31
- AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
32
-
33
- # View and manage your data across Google Cloud Platform services
34
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
-
36
- # View your data across Google Cloud Platform services
37
- AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
38
- end
39
- end
40
- end
@@ -1,2094 +0,0 @@
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 AppengineV1beta5
24
-
25
- # The response message for Operations.ListOperations.
26
- class ListOperationsResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # A list of operations that matches the specified filter in the request.
30
- # Corresponds to the JSON property `operations`
31
- # @return [Array<Google::Apis::AppengineV1beta5::Operation>]
32
- attr_accessor :operations
33
-
34
- # The standard List next-page token.
35
- # Corresponds to the JSON property `nextPageToken`
36
- # @return [String]
37
- attr_accessor :next_page_token
38
-
39
- def initialize(**args)
40
- update!(**args)
41
- end
42
-
43
- # Update properties of this object
44
- def update!(**args)
45
- @operations = args[:operations] if args.key?(:operations)
46
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
47
- end
48
- end
49
-
50
- # This resource represents a long-running operation that is the result of a
51
- # network API call.
52
- class Operation
53
- include Google::Apis::Core::Hashable
54
-
55
- # The server-assigned name, which is only unique within the same service that
56
- # originally returns it. If you use the default HTTP mapping, the name should
57
- # have the format of operations/some/unique/name.
58
- # Corresponds to the JSON property `name`
59
- # @return [String]
60
- attr_accessor :name
61
-
62
- # Service-specific metadata associated with the operation. It typically contains
63
- # progress information and common metadata such as create time. Some services
64
- # might not provide such metadata. Any method that returns a long-running
65
- # operation should document the metadata type, if any.
66
- # Corresponds to the JSON property `metadata`
67
- # @return [Hash<String,Object>]
68
- attr_accessor :metadata
69
-
70
- # If the value is false, it means the operation is still in progress. If true,
71
- # the operation is completed, and either error or response is available.
72
- # Corresponds to the JSON property `done`
73
- # @return [Boolean]
74
- attr_accessor :done
75
- alias_method :done?, :done
76
-
77
- # The Status type defines a logical error model that is suitable for different
78
- # programming environments, including REST APIs and RPC APIs. It is used by gRPC
79
- # (https://github.com/grpc). The error model is designed to be: Simple to use
80
- # and understand for most users Flexible enough to meet unexpected
81
- # needsOverviewThe Status message contains three pieces of data: error code,
82
- # error message, and error details. The error code should be an enum value of
83
- # google.rpc.Code, but it may accept additional error codes if needed. The error
84
- # message should be a developer-facing English message that helps developers
85
- # understand and resolve the error. If a localized user-facing error message is
86
- # needed, put the localized message in the error details or localize it in the
87
- # client. The optional error details may contain arbitrary information about the
88
- # error. There is a predefined set of error detail types in the package google.
89
- # rpc which can be used for common error conditions.Language mappingThe Status
90
- # message is the logical representation of the error model, but it is not
91
- # necessarily the actual wire format. When the Status message is exposed in
92
- # different client libraries and different wire protocols, it can be mapped
93
- # differently. For example, it will likely be mapped to some exceptions in Java,
94
- # but more likely mapped to some error codes in C.Other usesThe error model and
95
- # the Status message can be used in a variety of environments, either with or
96
- # without APIs, to provide a consistent developer experience across different
97
- # environments.Example uses of this error model include: Partial errors. If a
98
- # service needs to return partial errors to the client, it may embed the Status
99
- # in the normal response to indicate the partial errors. Workflow errors. A
100
- # typical workflow has multiple steps. Each step may have a Status message for
101
- # error reporting purpose. Batch operations. If a client uses batch request and
102
- # batch response, the Status message should be used directly inside batch
103
- # response, one for each error sub-response. Asynchronous operations. If an API
104
- # call embeds asynchronous operation results in its response, the status of
105
- # those operations should be represented directly using the Status message.
106
- # Logging. If some API errors are stored in logs, the message Status could be
107
- # used directly after any stripping needed for security/privacy reasons.
108
- # Corresponds to the JSON property `error`
109
- # @return [Google::Apis::AppengineV1beta5::Status]
110
- attr_accessor :error
111
-
112
- # The normal response of the operation in case of success. If the original
113
- # method returns no data on success, such as Delete, the response is google.
114
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
115
- # response should be the resource. For other methods, the response should have
116
- # the type XxxResponse, where Xxx is the original method name. For example, if
117
- # the original method name is TakeSnapshot(), the inferred response type is
118
- # TakeSnapshotResponse.
119
- # Corresponds to the JSON property `response`
120
- # @return [Hash<String,Object>]
121
- attr_accessor :response
122
-
123
- def initialize(**args)
124
- update!(**args)
125
- end
126
-
127
- # Update properties of this object
128
- def update!(**args)
129
- @name = args[:name] if args.key?(:name)
130
- @metadata = args[:metadata] if args.key?(:metadata)
131
- @done = args[:done] if args.key?(:done)
132
- @error = args[:error] if args.key?(:error)
133
- @response = args[:response] if args.key?(:response)
134
- end
135
- end
136
-
137
- # The Status type defines a logical error model that is suitable for different
138
- # programming environments, including REST APIs and RPC APIs. It is used by gRPC
139
- # (https://github.com/grpc). The error model is designed to be: Simple to use
140
- # and understand for most users Flexible enough to meet unexpected
141
- # needsOverviewThe Status message contains three pieces of data: error code,
142
- # error message, and error details. The error code should be an enum value of
143
- # google.rpc.Code, but it may accept additional error codes if needed. The error
144
- # message should be a developer-facing English message that helps developers
145
- # understand and resolve the error. If a localized user-facing error message is
146
- # needed, put the localized message in the error details or localize it in the
147
- # client. The optional error details may contain arbitrary information about the
148
- # error. There is a predefined set of error detail types in the package google.
149
- # rpc which can be used for common error conditions.Language mappingThe Status
150
- # message is the logical representation of the error model, but it is not
151
- # necessarily the actual wire format. When the Status message is exposed in
152
- # different client libraries and different wire protocols, it can be mapped
153
- # differently. For example, it will likely be mapped to some exceptions in Java,
154
- # but more likely mapped to some error codes in C.Other usesThe error model and
155
- # the Status message can be used in a variety of environments, either with or
156
- # without APIs, to provide a consistent developer experience across different
157
- # environments.Example uses of this error model include: Partial errors. If a
158
- # service needs to return partial errors to the client, it may embed the Status
159
- # in the normal response to indicate the partial errors. Workflow errors. A
160
- # typical workflow has multiple steps. Each step may have a Status message for
161
- # error reporting purpose. Batch operations. If a client uses batch request and
162
- # batch response, the Status message should be used directly inside batch
163
- # response, one for each error sub-response. Asynchronous operations. If an API
164
- # call embeds asynchronous operation results in its response, the status of
165
- # those operations should be represented directly using the Status message.
166
- # Logging. If some API errors are stored in logs, the message Status could be
167
- # used directly after any stripping needed for security/privacy reasons.
168
- class Status
169
- include Google::Apis::Core::Hashable
170
-
171
- # The status code, which should be an enum value of google.rpc.Code.
172
- # Corresponds to the JSON property `code`
173
- # @return [Fixnum]
174
- attr_accessor :code
175
-
176
- # A developer-facing error message, which should be in English. Any user-facing
177
- # error message should be localized and sent in the google.rpc.Status.details
178
- # field, or localized by the client.
179
- # Corresponds to the JSON property `message`
180
- # @return [String]
181
- attr_accessor :message
182
-
183
- # A list of messages that carry the error details. There will be a common set of
184
- # message types for APIs to use.
185
- # Corresponds to the JSON property `details`
186
- # @return [Array<Hash<String,Object>>]
187
- attr_accessor :details
188
-
189
- def initialize(**args)
190
- update!(**args)
191
- end
192
-
193
- # Update properties of this object
194
- def update!(**args)
195
- @code = args[:code] if args.key?(:code)
196
- @message = args[:message] if args.key?(:message)
197
- @details = args[:details] if args.key?(:details)
198
- end
199
- end
200
-
201
- # An Application resource contains the top-level configuration of an App Engine
202
- # application.
203
- class Application
204
- include Google::Apis::Core::Hashable
205
-
206
- # Full path to the Application resource in the API. Example: apps/myapp.@
207
- # OutputOnly
208
- # Corresponds to the JSON property `name`
209
- # @return [String]
210
- attr_accessor :name
211
-
212
- # Identifier of the Application resource. This identifier is equivalent to the
213
- # project ID of the Google Cloud Platform project where you want to deploy your
214
- # application. Example: myapp.
215
- # Corresponds to the JSON property `id`
216
- # @return [String]
217
- attr_accessor :id
218
-
219
- # HTTP path dispatch rules for requests to the application that do not
220
- # explicitly target a service or version. Rules are order-dependent.@OutputOnly
221
- # Corresponds to the JSON property `dispatchRules`
222
- # @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
223
- attr_accessor :dispatch_rules
224
-
225
- # Google Apps authentication domain that controls which users can access this
226
- # application.Defaults to open access for any Google Account.
227
- # Corresponds to the JSON property `authDomain`
228
- # @return [String]
229
- attr_accessor :auth_domain
230
-
231
- # Location from which this application will be run. Application instances will
232
- # run out of data centers in the chosen location, which is also where all of the
233
- # application's end user content is stored.Defaults to us-central.Options are:us-
234
- # central - Central USeurope-west - Western Europeus-east1 - Eastern US
235
- # Corresponds to the JSON property `location`
236
- # @return [String]
237
- attr_accessor :location
238
-
239
- # A Google Cloud Storage bucket that can be used for storing files associated
240
- # with this application. This bucket is associated with the application and can
241
- # be used by the gcloud deployment commands.@OutputOnly
242
- # Corresponds to the JSON property `codeBucket`
243
- # @return [String]
244
- attr_accessor :code_bucket
245
-
246
- # Cookie expiration policy for this application.
247
- # Corresponds to the JSON property `defaultCookieExpiration`
248
- # @return [String]
249
- attr_accessor :default_cookie_expiration
250
-
251
- # Hostname used to reach the application, as resolved by App Engine.@OutputOnly
252
- # Corresponds to the JSON property `defaultHostname`
253
- # @return [String]
254
- attr_accessor :default_hostname
255
-
256
- # A Google Cloud Storage bucket that can be used by the application to store
257
- # content.@OutputOnly
258
- # Corresponds to the JSON property `defaultBucket`
259
- # @return [String]
260
- attr_accessor :default_bucket
261
-
262
- # Identity-Aware Proxy
263
- # Corresponds to the JSON property `iap`
264
- # @return [Google::Apis::AppengineV1beta5::IdentityAwareProxy]
265
- attr_accessor :iap
266
-
267
- def initialize(**args)
268
- update!(**args)
269
- end
270
-
271
- # Update properties of this object
272
- def update!(**args)
273
- @name = args[:name] if args.key?(:name)
274
- @id = args[:id] if args.key?(:id)
275
- @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
276
- @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
277
- @location = args[:location] if args.key?(:location)
278
- @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
279
- @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
280
- @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
281
- @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
282
- @iap = args[:iap] if args.key?(:iap)
283
- end
284
- end
285
-
286
- # Rules to match an HTTP request and dispatch that request to a service.
287
- class UrlDispatchRule
288
- include Google::Apis::Core::Hashable
289
-
290
- # Domain name to match against. The wildcard "*" is supported if specified
291
- # before a period: "*.".Defaults to matching all domains: "*".
292
- # Corresponds to the JSON property `domain`
293
- # @return [String]
294
- attr_accessor :domain
295
-
296
- # Pathname within the host. Must start with a "/". A single "*" can be included
297
- # at the end of the path. The sum of the lengths of the domain and path may not
298
- # exceed 100 characters.
299
- # Corresponds to the JSON property `path`
300
- # @return [String]
301
- attr_accessor :path
302
-
303
- # Resource id of a service in this application that should serve the matched
304
- # request. The service must already exist. Example: default.
305
- # Corresponds to the JSON property `service`
306
- # @return [String]
307
- attr_accessor :service
308
-
309
- def initialize(**args)
310
- update!(**args)
311
- end
312
-
313
- # Update properties of this object
314
- def update!(**args)
315
- @domain = args[:domain] if args.key?(:domain)
316
- @path = args[:path] if args.key?(:path)
317
- @service = args[:service] if args.key?(:service)
318
- end
319
- end
320
-
321
- # Identity-Aware Proxy
322
- class IdentityAwareProxy
323
- include Google::Apis::Core::Hashable
324
-
325
- # Whether the serving infrastructure will authenticate and authorize all
326
- # incoming requests.If true, the oauth2_client_id and oauth2_client_secret
327
- # fields must be non-empty.
328
- # Corresponds to the JSON property `enabled`
329
- # @return [Boolean]
330
- attr_accessor :enabled
331
- alias_method :enabled?, :enabled
332
-
333
- # OAuth2 client ID to use for the authentication flow.
334
- # Corresponds to the JSON property `oauth2ClientId`
335
- # @return [String]
336
- attr_accessor :oauth2_client_id
337
-
338
- # For security reasons, this value cannot be retrieved via the API. Instead, the
339
- # SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.
340
- # @InputOnly
341
- # Corresponds to the JSON property `oauth2ClientSecret`
342
- # @return [String]
343
- attr_accessor :oauth2_client_secret
344
-
345
- # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
346
- # Corresponds to the JSON property `oauth2ClientSecretSha256`
347
- # @return [String]
348
- attr_accessor :oauth2_client_secret_sha256
349
-
350
- def initialize(**args)
351
- update!(**args)
352
- end
353
-
354
- # Update properties of this object
355
- def update!(**args)
356
- @enabled = args[:enabled] if args.key?(:enabled)
357
- @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
358
- @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
359
- @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
360
- end
361
- end
362
-
363
- # A Version resource is a specific set of source code and configuration files
364
- # that are deployed into a service.
365
- class Version
366
- include Google::Apis::Core::Hashable
367
-
368
- # Full path to the Version resource in the API. Example: apps/myapp/services/
369
- # default/versions/v1.@OutputOnly
370
- # Corresponds to the JSON property `name`
371
- # @return [String]
372
- attr_accessor :name
373
-
374
- # Relative name of the version within the module. Example: v1. Version names can
375
- # contain only lowercase letters, numbers, or hyphens. Reserved names: "default",
376
- # "latest", and any name with the prefix "ah-".
377
- # Corresponds to the JSON property `id`
378
- # @return [String]
379
- attr_accessor :id
380
-
381
- # Automatic scaling is based on request rate, response latencies, and other
382
- # application metrics.
383
- # Corresponds to the JSON property `automaticScaling`
384
- # @return [Google::Apis::AppengineV1beta5::AutomaticScaling]
385
- attr_accessor :automatic_scaling
386
-
387
- # A service with basic scaling will create an instance when the application
388
- # receives a request. The instance will be turned down when the app becomes idle.
389
- # Basic scaling is ideal for work that is intermittent or driven by user
390
- # activity.
391
- # Corresponds to the JSON property `basicScaling`
392
- # @return [Google::Apis::AppengineV1beta5::BasicScaling]
393
- attr_accessor :basic_scaling
394
-
395
- # A service with manual scaling runs continuously, allowing you to perform
396
- # complex initialization and rely on the state of its memory over time.
397
- # Corresponds to the JSON property `manualScaling`
398
- # @return [Google::Apis::AppengineV1beta5::ManualScaling]
399
- attr_accessor :manual_scaling
400
-
401
- # Before an application can receive email or XMPP messages, the application must
402
- # be configured to enable the service.
403
- # Corresponds to the JSON property `inboundServices`
404
- # @return [Array<String>]
405
- attr_accessor :inbound_services
406
-
407
- # Instance class that is used to run this version. Valid values are:
408
- # AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4,
409
- # B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or
410
- # BasicScaling.
411
- # Corresponds to the JSON property `instanceClass`
412
- # @return [String]
413
- attr_accessor :instance_class
414
-
415
- # Extra network settings. Only applicable for VM runtimes.
416
- # Corresponds to the JSON property `network`
417
- # @return [Google::Apis::AppengineV1beta5::Network]
418
- attr_accessor :network
419
-
420
- # Machine resources for a version.
421
- # Corresponds to the JSON property `resources`
422
- # @return [Google::Apis::AppengineV1beta5::Resources]
423
- attr_accessor :resources
424
-
425
- # Desired runtime. Example: python27.
426
- # Corresponds to the JSON property `runtime`
427
- # @return [String]
428
- attr_accessor :runtime
429
-
430
- # Whether multiple requests can be dispatched to this version at once.
431
- # Corresponds to the JSON property `threadsafe`
432
- # @return [Boolean]
433
- attr_accessor :threadsafe
434
- alias_method :threadsafe?, :threadsafe
435
-
436
- # Whether to deploy this version in a container on a virtual machine.
437
- # Corresponds to the JSON property `vm`
438
- # @return [Boolean]
439
- attr_accessor :vm
440
- alias_method :vm?, :vm
441
-
442
- # Metadata settings that are supplied to this version to enable beta runtime
443
- # features.
444
- # Corresponds to the JSON property `betaSettings`
445
- # @return [Hash<String,String>]
446
- attr_accessor :beta_settings
447
-
448
- # App Engine execution environment to use for this version.Defaults to 1.
449
- # Corresponds to the JSON property `env`
450
- # @return [String]
451
- attr_accessor :env
452
-
453
- # Current serving status of this version. Only the versions with a SERVING
454
- # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
455
- # invalid value. Defaults to SERVING.
456
- # Corresponds to the JSON property `servingStatus`
457
- # @return [String]
458
- attr_accessor :serving_status
459
-
460
- # Email address of the user who created this version.@OutputOnly
461
- # Corresponds to the JSON property `deployer`
462
- # @return [String]
463
- attr_accessor :deployer
464
-
465
- # Time that this version was created.@OutputOnly
466
- # Corresponds to the JSON property `creationTime`
467
- # @return [String]
468
- attr_accessor :creation_time
469
-
470
- # Total size of version files hosted on App Engine disk in bytes.@OutputOnly
471
- # Corresponds to the JSON property `diskUsageBytes`
472
- # @return [String]
473
- attr_accessor :disk_usage_bytes
474
-
475
- # An ordered list of URL-matching patterns that should be applied to incoming
476
- # requests. The first matching URL handles the request and other request
477
- # handlers are not attempted.Only returned in GET requests if view=FULL is set.
478
- # Corresponds to the JSON property `handlers`
479
- # @return [Array<Google::Apis::AppengineV1beta5::UrlMap>]
480
- attr_accessor :handlers
481
-
482
- # Custom static error pages. Limited to 10KB per page.Only returned in GET
483
- # requests if view=FULL is set.
484
- # Corresponds to the JSON property `errorHandlers`
485
- # @return [Array<Google::Apis::AppengineV1beta5::ErrorHandler>]
486
- attr_accessor :error_handlers
487
-
488
- # Configuration for third-party Python runtime libraries required by the
489
- # application.Only returned in GET requests if view=FULL is set.
490
- # Corresponds to the JSON property `libraries`
491
- # @return [Array<Google::Apis::AppengineV1beta5::Library>]
492
- attr_accessor :libraries
493
-
494
- # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
495
- # endpoints/) configuration for API handlers.
496
- # Corresponds to the JSON property `apiConfig`
497
- # @return [Google::Apis::AppengineV1beta5::ApiConfigHandler]
498
- attr_accessor :api_config
499
-
500
- # Environment variables made available to the application.Only returned in GET
501
- # requests if view=FULL is set.
502
- # Corresponds to the JSON property `envVariables`
503
- # @return [Hash<String,String>]
504
- attr_accessor :env_variables
505
-
506
- # Duration that static files should be cached by web proxies and browsers. Only
507
- # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
508
- # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
509
- # staticfileshandler) does not specify its own expiration time.Only returned in
510
- # GET requests if view=FULL is set.
511
- # Corresponds to the JSON property `defaultExpiration`
512
- # @return [String]
513
- attr_accessor :default_expiration
514
-
515
- # Health checking configuration for VM instances. Unhealthy instances are killed
516
- # and replaced with new instances. Only applicable for instances in App Engine
517
- # flexible environment.
518
- # Corresponds to the JSON property `healthCheck`
519
- # @return [Google::Apis::AppengineV1beta5::HealthCheck]
520
- attr_accessor :health_check
521
-
522
- # Files that match this pattern will not be built into this version. Only
523
- # applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
524
- # Corresponds to the JSON property `nobuildFilesRegex`
525
- # @return [String]
526
- attr_accessor :nobuild_files_regex
527
-
528
- # Code and application artifacts used to deploy a version to App Engine.
529
- # Corresponds to the JSON property `deployment`
530
- # @return [Google::Apis::AppengineV1beta5::Deployment]
531
- attr_accessor :deployment
532
-
533
- # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
534
- # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
535
- # via an NGINX proxy.The fields here refer to the name and configuration id of a
536
- # "service" resource in the Service Management API (https://cloud.google.com/
537
- # service-management/overview).
538
- # Corresponds to the JSON property `endpointsApiService`
539
- # @return [Google::Apis::AppengineV1beta5::EndpointsApiService]
540
- attr_accessor :endpoints_api_service
541
-
542
- def initialize(**args)
543
- update!(**args)
544
- end
545
-
546
- # Update properties of this object
547
- def update!(**args)
548
- @name = args[:name] if args.key?(:name)
549
- @id = args[:id] if args.key?(:id)
550
- @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
551
- @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
552
- @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
553
- @inbound_services = args[:inbound_services] if args.key?(:inbound_services)
554
- @instance_class = args[:instance_class] if args.key?(:instance_class)
555
- @network = args[:network] if args.key?(:network)
556
- @resources = args[:resources] if args.key?(:resources)
557
- @runtime = args[:runtime] if args.key?(:runtime)
558
- @threadsafe = args[:threadsafe] if args.key?(:threadsafe)
559
- @vm = args[:vm] if args.key?(:vm)
560
- @beta_settings = args[:beta_settings] if args.key?(:beta_settings)
561
- @env = args[:env] if args.key?(:env)
562
- @serving_status = args[:serving_status] if args.key?(:serving_status)
563
- @deployer = args[:deployer] if args.key?(:deployer)
564
- @creation_time = args[:creation_time] if args.key?(:creation_time)
565
- @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
566
- @handlers = args[:handlers] if args.key?(:handlers)
567
- @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
568
- @libraries = args[:libraries] if args.key?(:libraries)
569
- @api_config = args[:api_config] if args.key?(:api_config)
570
- @env_variables = args[:env_variables] if args.key?(:env_variables)
571
- @default_expiration = args[:default_expiration] if args.key?(:default_expiration)
572
- @health_check = args[:health_check] if args.key?(:health_check)
573
- @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
574
- @deployment = args[:deployment] if args.key?(:deployment)
575
- @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
576
- end
577
- end
578
-
579
- # Automatic scaling is based on request rate, response latencies, and other
580
- # application metrics.
581
- class AutomaticScaling
582
- include Google::Apis::Core::Hashable
583
-
584
- # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/
585
- # autoscaler/) should wait between changes to the number of virtual machines.
586
- # Only applicable for VM runtimes.
587
- # Corresponds to the JSON property `coolDownPeriod`
588
- # @return [String]
589
- attr_accessor :cool_down_period
590
-
591
- # Target scaling by CPU usage.
592
- # Corresponds to the JSON property `cpuUtilization`
593
- # @return [Google::Apis::AppengineV1beta5::CpuUtilization]
594
- attr_accessor :cpu_utilization
595
-
596
- # Number of concurrent requests an automatic scaling instance can accept before
597
- # the scheduler spawns a new instance.Defaults to a runtime-specific value.
598
- # Corresponds to the JSON property `maxConcurrentRequests`
599
- # @return [Fixnum]
600
- attr_accessor :max_concurrent_requests
601
-
602
- # Maximum number of idle instances that should be maintained for this version.
603
- # Corresponds to the JSON property `maxIdleInstances`
604
- # @return [Fixnum]
605
- attr_accessor :max_idle_instances
606
-
607
- # Maximum number of instances that should be started to handle requests.
608
- # Corresponds to the JSON property `maxTotalInstances`
609
- # @return [Fixnum]
610
- attr_accessor :max_total_instances
611
-
612
- # Maximum amount of time that a request should wait in the pending queue before
613
- # starting a new instance to handle it.
614
- # Corresponds to the JSON property `maxPendingLatency`
615
- # @return [String]
616
- attr_accessor :max_pending_latency
617
-
618
- # Minimum number of idle instances that should be maintained for this version.
619
- # Only applicable for the default version of a module.
620
- # Corresponds to the JSON property `minIdleInstances`
621
- # @return [Fixnum]
622
- attr_accessor :min_idle_instances
623
-
624
- # Minimum number of instances that should be maintained for this version.
625
- # Corresponds to the JSON property `minTotalInstances`
626
- # @return [Fixnum]
627
- attr_accessor :min_total_instances
628
-
629
- # Minimum amount of time a request should wait in the pending queue before
630
- # starting a new instance to handle it.
631
- # Corresponds to the JSON property `minPendingLatency`
632
- # @return [String]
633
- attr_accessor :min_pending_latency
634
-
635
- # Target scaling by request utilization. Only applicable for VM runtimes.
636
- # Corresponds to the JSON property `requestUtilization`
637
- # @return [Google::Apis::AppengineV1beta5::RequestUtilization]
638
- attr_accessor :request_utilization
639
-
640
- # Target scaling by disk usage. Only applicable for VM runtimes.
641
- # Corresponds to the JSON property `diskUtilization`
642
- # @return [Google::Apis::AppengineV1beta5::DiskUtilization]
643
- attr_accessor :disk_utilization
644
-
645
- # Target scaling by network usage. Only applicable for VM runtimes.
646
- # Corresponds to the JSON property `networkUtilization`
647
- # @return [Google::Apis::AppengineV1beta5::NetworkUtilization]
648
- attr_accessor :network_utilization
649
-
650
- def initialize(**args)
651
- update!(**args)
652
- end
653
-
654
- # Update properties of this object
655
- def update!(**args)
656
- @cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
657
- @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
658
- @max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
659
- @max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
660
- @max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
661
- @max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency)
662
- @min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
663
- @min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
664
- @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
665
- @request_utilization = args[:request_utilization] if args.key?(:request_utilization)
666
- @disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
667
- @network_utilization = args[:network_utilization] if args.key?(:network_utilization)
668
- end
669
- end
670
-
671
- # Target scaling by CPU usage.
672
- class CpuUtilization
673
- include Google::Apis::Core::Hashable
674
-
675
- # Period of time over which CPU utilization is calculated.
676
- # Corresponds to the JSON property `aggregationWindowLength`
677
- # @return [String]
678
- attr_accessor :aggregation_window_length
679
-
680
- # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
681
- # Corresponds to the JSON property `targetUtilization`
682
- # @return [Float]
683
- attr_accessor :target_utilization
684
-
685
- def initialize(**args)
686
- update!(**args)
687
- end
688
-
689
- # Update properties of this object
690
- def update!(**args)
691
- @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
692
- @target_utilization = args[:target_utilization] if args.key?(:target_utilization)
693
- end
694
- end
695
-
696
- # Target scaling by request utilization. Only applicable for VM runtimes.
697
- class RequestUtilization
698
- include Google::Apis::Core::Hashable
699
-
700
- # Target requests per second.
701
- # Corresponds to the JSON property `targetRequestCountPerSec`
702
- # @return [Fixnum]
703
- attr_accessor :target_request_count_per_sec
704
-
705
- # Target number of concurrent requests.
706
- # Corresponds to the JSON property `targetConcurrentRequests`
707
- # @return [Fixnum]
708
- attr_accessor :target_concurrent_requests
709
-
710
- def initialize(**args)
711
- update!(**args)
712
- end
713
-
714
- # Update properties of this object
715
- def update!(**args)
716
- @target_request_count_per_sec = args[:target_request_count_per_sec] if args.key?(:target_request_count_per_sec)
717
- @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
718
- end
719
- end
720
-
721
- # Target scaling by disk usage. Only applicable for VM runtimes.
722
- class DiskUtilization
723
- include Google::Apis::Core::Hashable
724
-
725
- # Target bytes written per second.
726
- # Corresponds to the JSON property `targetWriteBytesPerSec`
727
- # @return [Fixnum]
728
- attr_accessor :target_write_bytes_per_sec
729
-
730
- # Target ops written per second.
731
- # Corresponds to the JSON property `targetWriteOpsPerSec`
732
- # @return [Fixnum]
733
- attr_accessor :target_write_ops_per_sec
734
-
735
- # Target bytes read per second.
736
- # Corresponds to the JSON property `targetReadBytesPerSec`
737
- # @return [Fixnum]
738
- attr_accessor :target_read_bytes_per_sec
739
-
740
- # Target ops read per second.
741
- # Corresponds to the JSON property `targetReadOpsPerSec`
742
- # @return [Fixnum]
743
- attr_accessor :target_read_ops_per_sec
744
-
745
- def initialize(**args)
746
- update!(**args)
747
- end
748
-
749
- # Update properties of this object
750
- def update!(**args)
751
- @target_write_bytes_per_sec = args[:target_write_bytes_per_sec] if args.key?(:target_write_bytes_per_sec)
752
- @target_write_ops_per_sec = args[:target_write_ops_per_sec] if args.key?(:target_write_ops_per_sec)
753
- @target_read_bytes_per_sec = args[:target_read_bytes_per_sec] if args.key?(:target_read_bytes_per_sec)
754
- @target_read_ops_per_sec = args[:target_read_ops_per_sec] if args.key?(:target_read_ops_per_sec)
755
- end
756
- end
757
-
758
- # Target scaling by network usage. Only applicable for VM runtimes.
759
- class NetworkUtilization
760
- include Google::Apis::Core::Hashable
761
-
762
- # Target bytes sent per second.
763
- # Corresponds to the JSON property `targetSentBytesPerSec`
764
- # @return [Fixnum]
765
- attr_accessor :target_sent_bytes_per_sec
766
-
767
- # Target packets sent per second.
768
- # Corresponds to the JSON property `targetSentPacketsPerSec`
769
- # @return [Fixnum]
770
- attr_accessor :target_sent_packets_per_sec
771
-
772
- # Target bytes received per second.
773
- # Corresponds to the JSON property `targetReceivedBytesPerSec`
774
- # @return [Fixnum]
775
- attr_accessor :target_received_bytes_per_sec
776
-
777
- # Target packets received per second.
778
- # Corresponds to the JSON property `targetReceivedPacketsPerSec`
779
- # @return [Fixnum]
780
- attr_accessor :target_received_packets_per_sec
781
-
782
- def initialize(**args)
783
- update!(**args)
784
- end
785
-
786
- # Update properties of this object
787
- def update!(**args)
788
- @target_sent_bytes_per_sec = args[:target_sent_bytes_per_sec] if args.key?(:target_sent_bytes_per_sec)
789
- @target_sent_packets_per_sec = args[:target_sent_packets_per_sec] if args.key?(:target_sent_packets_per_sec)
790
- @target_received_bytes_per_sec = args[:target_received_bytes_per_sec] if args.key?(:target_received_bytes_per_sec)
791
- @target_received_packets_per_sec = args[:target_received_packets_per_sec] if args.key?(:target_received_packets_per_sec)
792
- end
793
- end
794
-
795
- # A service with basic scaling will create an instance when the application
796
- # receives a request. The instance will be turned down when the app becomes idle.
797
- # Basic scaling is ideal for work that is intermittent or driven by user
798
- # activity.
799
- class BasicScaling
800
- include Google::Apis::Core::Hashable
801
-
802
- # Duration of time after the last request that an instance must wait before the
803
- # instance is shut down.
804
- # Corresponds to the JSON property `idleTimeout`
805
- # @return [String]
806
- attr_accessor :idle_timeout
807
-
808
- # Maximum number of instances to create for this version.
809
- # Corresponds to the JSON property `maxInstances`
810
- # @return [Fixnum]
811
- attr_accessor :max_instances
812
-
813
- def initialize(**args)
814
- update!(**args)
815
- end
816
-
817
- # Update properties of this object
818
- def update!(**args)
819
- @idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
820
- @max_instances = args[:max_instances] if args.key?(:max_instances)
821
- end
822
- end
823
-
824
- # A service with manual scaling runs continuously, allowing you to perform
825
- # complex initialization and rely on the state of its memory over time.
826
- class ManualScaling
827
- include Google::Apis::Core::Hashable
828
-
829
- # Number of instances to assign to the service at the start. This number can
830
- # later be altered by using the Modules API (https://cloud.google.com/appengine/
831
- # docs/python/modules/functions) set_num_instances() function.
832
- # Corresponds to the JSON property `instances`
833
- # @return [Fixnum]
834
- attr_accessor :instances
835
-
836
- def initialize(**args)
837
- update!(**args)
838
- end
839
-
840
- # Update properties of this object
841
- def update!(**args)
842
- @instances = args[:instances] if args.key?(:instances)
843
- end
844
- end
845
-
846
- # Extra network settings. Only applicable for VM runtimes.
847
- class Network
848
- include Google::Apis::Core::Hashable
849
-
850
- # List of ports, or port pairs, to forward from the virtual machine to the
851
- # application container.
852
- # Corresponds to the JSON property `forwardedPorts`
853
- # @return [Array<String>]
854
- attr_accessor :forwarded_ports
855
-
856
- # Tag to apply to the VM instance during creation.
857
- # Corresponds to the JSON property `instanceTag`
858
- # @return [String]
859
- attr_accessor :instance_tag
860
-
861
- # Google Cloud Platform network where the virtual machines are created. Specify
862
- # the short name, not the resource path.Defaults to default.
863
- # Corresponds to the JSON property `name`
864
- # @return [String]
865
- attr_accessor :name
866
-
867
- # Google Cloud Platform sub-network where the virtual machines are created.
868
- # Specify the short name, not the resource path.If a subnetwork name is
869
- # specified, a network name will also be required unless it is for the default
870
- # network. If the network the VM instance is being created in is a Legacy
871
- # network, then the IP address is allocated from the IPv4Range. If the network
872
- # the VM instance is being created in is an auto Subnet Mode Network, then only
873
- # network name should be specified (not the subnetwork_name) and the IP address
874
- # is created from the IPCidrRange of the subnetwork that exists in that zone for
875
- # that network. If the network the VM instance is being created in is a custom
876
- # Subnet Mode Network, then the subnetwork_name must be specified and the IP
877
- # address is created from the IPCidrRange of the subnetwork.If specified, the
878
- # subnetwork must exist in the same region as the Flex app.
879
- # Corresponds to the JSON property `subnetworkName`
880
- # @return [String]
881
- attr_accessor :subnetwork_name
882
-
883
- def initialize(**args)
884
- update!(**args)
885
- end
886
-
887
- # Update properties of this object
888
- def update!(**args)
889
- @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
890
- @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
891
- @name = args[:name] if args.key?(:name)
892
- @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
893
- end
894
- end
895
-
896
- # Machine resources for a version.
897
- class Resources
898
- include Google::Apis::Core::Hashable
899
-
900
- # Number of CPU cores needed.
901
- # Corresponds to the JSON property `cpu`
902
- # @return [Float]
903
- attr_accessor :cpu
904
-
905
- # Disk size (GB) needed.
906
- # Corresponds to the JSON property `diskGb`
907
- # @return [Float]
908
- attr_accessor :disk_gb
909
-
910
- # Memory (GB) needed.
911
- # Corresponds to the JSON property `memoryGb`
912
- # @return [Float]
913
- attr_accessor :memory_gb
914
-
915
- # Volumes mounted within the app container.
916
- # Corresponds to the JSON property `volumes`
917
- # @return [Array<Google::Apis::AppengineV1beta5::Volume>]
918
- attr_accessor :volumes
919
-
920
- def initialize(**args)
921
- update!(**args)
922
- end
923
-
924
- # Update properties of this object
925
- def update!(**args)
926
- @cpu = args[:cpu] if args.key?(:cpu)
927
- @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
928
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
929
- @volumes = args[:volumes] if args.key?(:volumes)
930
- end
931
- end
932
-
933
- # Volumes mounted within the app container. Only applicable for VM runtimes.
934
- class Volume
935
- include Google::Apis::Core::Hashable
936
-
937
- # Unique name for the volume.
938
- # Corresponds to the JSON property `name`
939
- # @return [String]
940
- attr_accessor :name
941
-
942
- # Underlying volume type, e.g. 'tmpfs'.
943
- # Corresponds to the JSON property `volumeType`
944
- # @return [String]
945
- attr_accessor :volume_type
946
-
947
- # Volume size in gigabytes.
948
- # Corresponds to the JSON property `sizeGb`
949
- # @return [Float]
950
- attr_accessor :size_gb
951
-
952
- def initialize(**args)
953
- update!(**args)
954
- end
955
-
956
- # Update properties of this object
957
- def update!(**args)
958
- @name = args[:name] if args.key?(:name)
959
- @volume_type = args[:volume_type] if args.key?(:volume_type)
960
- @size_gb = args[:size_gb] if args.key?(:size_gb)
961
- end
962
- end
963
-
964
- # URL pattern and description of how the URL should be handled. App Engine can
965
- # handle URLs by executing application code, or by serving static files uploaded
966
- # with the version, such as images, CSS, or JavaScript.
967
- class UrlMap
968
- include Google::Apis::Core::Hashable
969
-
970
- # A URL prefix. Uses regular expression syntax, which means regexp special
971
- # characters must be escaped, but should not contain groupings. All URLs that
972
- # begin with this prefix are handled by this handler, using the portion of the
973
- # URL after the prefix as part of the file path.
974
- # Corresponds to the JSON property `urlRegex`
975
- # @return [String]
976
- attr_accessor :url_regex
977
-
978
- # Files served directly to the user for a given URL, such as images, CSS
979
- # stylesheets, or JavaScript source files. Static file handlers describe which
980
- # files in the application directory are static files, and which URLs serve them.
981
- # Corresponds to the JSON property `staticFiles`
982
- # @return [Google::Apis::AppengineV1beta5::StaticFilesHandler]
983
- attr_accessor :static_files
984
-
985
- # Executes a script to handle the request that matches the URL pattern.
986
- # Corresponds to the JSON property `script`
987
- # @return [Google::Apis::AppengineV1beta5::ScriptHandler]
988
- attr_accessor :script
989
-
990
- # Uses Google Cloud Endpoints to handle requests.
991
- # Corresponds to the JSON property `apiEndpoint`
992
- # @return [Google::Apis::AppengineV1beta5::ApiEndpointHandler]
993
- attr_accessor :api_endpoint
994
-
995
- # Security (HTTPS) enforcement for this URL.
996
- # Corresponds to the JSON property `securityLevel`
997
- # @return [String]
998
- attr_accessor :security_level
999
-
1000
- # Level of login required to access this resource.
1001
- # Corresponds to the JSON property `login`
1002
- # @return [String]
1003
- attr_accessor :login
1004
-
1005
- # Action to take when users access resources that require authentication.
1006
- # Defaults to redirect.
1007
- # Corresponds to the JSON property `authFailAction`
1008
- # @return [String]
1009
- attr_accessor :auth_fail_action
1010
-
1011
- # 30x code to use when performing redirects for the secure field. Defaults to
1012
- # 302.
1013
- # Corresponds to the JSON property `redirectHttpResponseCode`
1014
- # @return [String]
1015
- attr_accessor :redirect_http_response_code
1016
-
1017
- def initialize(**args)
1018
- update!(**args)
1019
- end
1020
-
1021
- # Update properties of this object
1022
- def update!(**args)
1023
- @url_regex = args[:url_regex] if args.key?(:url_regex)
1024
- @static_files = args[:static_files] if args.key?(:static_files)
1025
- @script = args[:script] if args.key?(:script)
1026
- @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
1027
- @security_level = args[:security_level] if args.key?(:security_level)
1028
- @login = args[:login] if args.key?(:login)
1029
- @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
1030
- @redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
1031
- end
1032
- end
1033
-
1034
- # Files served directly to the user for a given URL, such as images, CSS
1035
- # stylesheets, or JavaScript source files. Static file handlers describe which
1036
- # files in the application directory are static files, and which URLs serve them.
1037
- class StaticFilesHandler
1038
- include Google::Apis::Core::Hashable
1039
-
1040
- # Path to the static files matched by the URL pattern, from the application root
1041
- # directory. The path can refer to text matched in groupings in the URL pattern.
1042
- # Corresponds to the JSON property `path`
1043
- # @return [String]
1044
- attr_accessor :path
1045
-
1046
- # Regular expression that matches the file paths for all files that should be
1047
- # referenced by this handler.
1048
- # Corresponds to the JSON property `uploadPathRegex`
1049
- # @return [String]
1050
- attr_accessor :upload_path_regex
1051
-
1052
- # HTTP headers to use for all responses from these URLs.
1053
- # Corresponds to the JSON property `httpHeaders`
1054
- # @return [Hash<String,String>]
1055
- attr_accessor :http_headers
1056
-
1057
- # MIME type used to serve all files served by this handler. Defaults to file-
1058
- # specific MIME types, which are derived from each file's filename extension.
1059
- # Corresponds to the JSON property `mimeType`
1060
- # @return [String]
1061
- attr_accessor :mime_type
1062
-
1063
- # Time a static file served by this handler should be cached.
1064
- # Corresponds to the JSON property `expiration`
1065
- # @return [String]
1066
- attr_accessor :expiration
1067
-
1068
- # Whether this handler should match the request if the file referenced by the
1069
- # handler does not exist.
1070
- # Corresponds to the JSON property `requireMatchingFile`
1071
- # @return [Boolean]
1072
- attr_accessor :require_matching_file
1073
- alias_method :require_matching_file?, :require_matching_file
1074
-
1075
- # Whether files should also be uploaded as code data. By default, files declared
1076
- # in static file handlers are uploaded as static data and are only served to end
1077
- # users; they cannot be read by the application. If enabled, uploads are charged
1078
- # against both your code and static data storage resource quotas.
1079
- # Corresponds to the JSON property `applicationReadable`
1080
- # @return [Boolean]
1081
- attr_accessor :application_readable
1082
- alias_method :application_readable?, :application_readable
1083
-
1084
- def initialize(**args)
1085
- update!(**args)
1086
- end
1087
-
1088
- # Update properties of this object
1089
- def update!(**args)
1090
- @path = args[:path] if args.key?(:path)
1091
- @upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
1092
- @http_headers = args[:http_headers] if args.key?(:http_headers)
1093
- @mime_type = args[:mime_type] if args.key?(:mime_type)
1094
- @expiration = args[:expiration] if args.key?(:expiration)
1095
- @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
1096
- @application_readable = args[:application_readable] if args.key?(:application_readable)
1097
- end
1098
- end
1099
-
1100
- # Executes a script to handle the request that matches the URL pattern.
1101
- class ScriptHandler
1102
- include Google::Apis::Core::Hashable
1103
-
1104
- # Path to the script from the application root directory.
1105
- # Corresponds to the JSON property `scriptPath`
1106
- # @return [String]
1107
- attr_accessor :script_path
1108
-
1109
- def initialize(**args)
1110
- update!(**args)
1111
- end
1112
-
1113
- # Update properties of this object
1114
- def update!(**args)
1115
- @script_path = args[:script_path] if args.key?(:script_path)
1116
- end
1117
- end
1118
-
1119
- # Uses Google Cloud Endpoints to handle requests.
1120
- class ApiEndpointHandler
1121
- include Google::Apis::Core::Hashable
1122
-
1123
- # Path to the script from the application root directory.
1124
- # Corresponds to the JSON property `scriptPath`
1125
- # @return [String]
1126
- attr_accessor :script_path
1127
-
1128
- def initialize(**args)
1129
- update!(**args)
1130
- end
1131
-
1132
- # Update properties of this object
1133
- def update!(**args)
1134
- @script_path = args[:script_path] if args.key?(:script_path)
1135
- end
1136
- end
1137
-
1138
- # Custom static error page to be served when an error occurs.
1139
- class ErrorHandler
1140
- include Google::Apis::Core::Hashable
1141
-
1142
- # Error condition this handler applies to.
1143
- # Corresponds to the JSON property `errorCode`
1144
- # @return [String]
1145
- attr_accessor :error_code
1146
-
1147
- # Static file content to be served for this error.
1148
- # Corresponds to the JSON property `staticFile`
1149
- # @return [String]
1150
- attr_accessor :static_file
1151
-
1152
- # MIME type of file. Defaults to text/html.
1153
- # Corresponds to the JSON property `mimeType`
1154
- # @return [String]
1155
- attr_accessor :mime_type
1156
-
1157
- def initialize(**args)
1158
- update!(**args)
1159
- end
1160
-
1161
- # Update properties of this object
1162
- def update!(**args)
1163
- @error_code = args[:error_code] if args.key?(:error_code)
1164
- @static_file = args[:static_file] if args.key?(:static_file)
1165
- @mime_type = args[:mime_type] if args.key?(:mime_type)
1166
- end
1167
- end
1168
-
1169
- # Third-party Python runtime library that is required by the application.
1170
- class Library
1171
- include Google::Apis::Core::Hashable
1172
-
1173
- # Name of the library. Example: "django".
1174
- # Corresponds to the JSON property `name`
1175
- # @return [String]
1176
- attr_accessor :name
1177
-
1178
- # Version of the library to select, or "latest".
1179
- # Corresponds to the JSON property `version`
1180
- # @return [String]
1181
- attr_accessor :version
1182
-
1183
- def initialize(**args)
1184
- update!(**args)
1185
- end
1186
-
1187
- # Update properties of this object
1188
- def update!(**args)
1189
- @name = args[:name] if args.key?(:name)
1190
- @version = args[:version] if args.key?(:version)
1191
- end
1192
- end
1193
-
1194
- # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
1195
- # endpoints/) configuration for API handlers.
1196
- class ApiConfigHandler
1197
- include Google::Apis::Core::Hashable
1198
-
1199
- # Action to take when users access resources that require authentication.
1200
- # Defaults to redirect.
1201
- # Corresponds to the JSON property `authFailAction`
1202
- # @return [String]
1203
- attr_accessor :auth_fail_action
1204
-
1205
- # Level of login required to access this resource. Defaults to optional.
1206
- # Corresponds to the JSON property `login`
1207
- # @return [String]
1208
- attr_accessor :login
1209
-
1210
- # Path to the script from the application root directory.
1211
- # Corresponds to the JSON property `script`
1212
- # @return [String]
1213
- attr_accessor :script
1214
-
1215
- # Security (HTTPS) enforcement for this URL.
1216
- # Corresponds to the JSON property `securityLevel`
1217
- # @return [String]
1218
- attr_accessor :security_level
1219
-
1220
- # URL to serve the endpoint at.
1221
- # Corresponds to the JSON property `url`
1222
- # @return [String]
1223
- attr_accessor :url
1224
-
1225
- def initialize(**args)
1226
- update!(**args)
1227
- end
1228
-
1229
- # Update properties of this object
1230
- def update!(**args)
1231
- @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
1232
- @login = args[:login] if args.key?(:login)
1233
- @script = args[:script] if args.key?(:script)
1234
- @security_level = args[:security_level] if args.key?(:security_level)
1235
- @url = args[:url] if args.key?(:url)
1236
- end
1237
- end
1238
-
1239
- # Health checking configuration for VM instances. Unhealthy instances are killed
1240
- # and replaced with new instances. Only applicable for instances in App Engine
1241
- # flexible environment.
1242
- class HealthCheck
1243
- include Google::Apis::Core::Hashable
1244
-
1245
- # Whether to explicitly disable health checks for this instance.
1246
- # Corresponds to the JSON property `disableHealthCheck`
1247
- # @return [Boolean]
1248
- attr_accessor :disable_health_check
1249
- alias_method :disable_health_check?, :disable_health_check
1250
-
1251
- # Host header to send when performing an HTTP health check. Example: "myapp.
1252
- # appspot.com"
1253
- # Corresponds to the JSON property `host`
1254
- # @return [String]
1255
- attr_accessor :host
1256
-
1257
- # Number of consecutive successful health checks required before receiving
1258
- # traffic.
1259
- # Corresponds to the JSON property `healthyThreshold`
1260
- # @return [Fixnum]
1261
- attr_accessor :healthy_threshold
1262
-
1263
- # Number of consecutive failed health checks required before removing traffic.
1264
- # Corresponds to the JSON property `unhealthyThreshold`
1265
- # @return [Fixnum]
1266
- attr_accessor :unhealthy_threshold
1267
-
1268
- # Number of consecutive failed health checks required before an instance is
1269
- # restarted.
1270
- # Corresponds to the JSON property `restartThreshold`
1271
- # @return [Fixnum]
1272
- attr_accessor :restart_threshold
1273
-
1274
- # Interval between health checks.
1275
- # Corresponds to the JSON property `checkInterval`
1276
- # @return [String]
1277
- attr_accessor :check_interval
1278
-
1279
- # Time before the health check is considered failed.
1280
- # Corresponds to the JSON property `timeout`
1281
- # @return [String]
1282
- attr_accessor :timeout
1283
-
1284
- def initialize(**args)
1285
- update!(**args)
1286
- end
1287
-
1288
- # Update properties of this object
1289
- def update!(**args)
1290
- @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
1291
- @host = args[:host] if args.key?(:host)
1292
- @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
1293
- @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
1294
- @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
1295
- @check_interval = args[:check_interval] if args.key?(:check_interval)
1296
- @timeout = args[:timeout] if args.key?(:timeout)
1297
- end
1298
- end
1299
-
1300
- # Code and application artifacts used to deploy a version to App Engine.
1301
- class Deployment
1302
- include Google::Apis::Core::Hashable
1303
-
1304
- # Manifest of the files stored in Google Cloud Storage that are included as part
1305
- # of this version. All files must be readable using the credentials supplied
1306
- # with this call.
1307
- # Corresponds to the JSON property `files`
1308
- # @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
1309
- attr_accessor :files
1310
-
1311
- # Docker image that is used to create a container and start a VM instance for
1312
- # the version that you deploy. Only applicable for instances running in the App
1313
- # Engine flexible environment.
1314
- # Corresponds to the JSON property `container`
1315
- # @return [Google::Apis::AppengineV1beta5::ContainerInfo]
1316
- attr_accessor :container
1317
-
1318
- # Origin of the source code for this deployment. There can be more than one
1319
- # source reference per version if source code is distributed among multiple
1320
- # repositories.
1321
- # Corresponds to the JSON property `sourceReferences`
1322
- # @return [Array<Google::Apis::AppengineV1beta5::SourceReference>]
1323
- attr_accessor :source_references
1324
-
1325
- def initialize(**args)
1326
- update!(**args)
1327
- end
1328
-
1329
- # Update properties of this object
1330
- def update!(**args)
1331
- @files = args[:files] if args.key?(:files)
1332
- @container = args[:container] if args.key?(:container)
1333
- @source_references = args[:source_references] if args.key?(:source_references)
1334
- end
1335
- end
1336
-
1337
- # Single source file that is part of the version to be deployed. Each source
1338
- # file that is deployed must be specified separately.
1339
- class FileInfo
1340
- include Google::Apis::Core::Hashable
1341
-
1342
- # URL source to use to fetch this file. Must be a URL to a resource in Google
1343
- # Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
1344
- # Corresponds to the JSON property `sourceUrl`
1345
- # @return [String]
1346
- attr_accessor :source_url
1347
-
1348
- # The SHA1 hash of the file, in hex.
1349
- # Corresponds to the JSON property `sha1Sum`
1350
- # @return [String]
1351
- attr_accessor :sha1_sum
1352
-
1353
- # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1354
- # Corresponds to the JSON property `mimeType`
1355
- # @return [String]
1356
- attr_accessor :mime_type
1357
-
1358
- def initialize(**args)
1359
- update!(**args)
1360
- end
1361
-
1362
- # Update properties of this object
1363
- def update!(**args)
1364
- @source_url = args[:source_url] if args.key?(:source_url)
1365
- @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
1366
- @mime_type = args[:mime_type] if args.key?(:mime_type)
1367
- end
1368
- end
1369
-
1370
- # Docker image that is used to create a container and start a VM instance for
1371
- # the version that you deploy. Only applicable for instances running in the App
1372
- # Engine flexible environment.
1373
- class ContainerInfo
1374
- include Google::Apis::Core::Hashable
1375
-
1376
- # URI to the hosted container image in Google Container Registry. The URI must
1377
- # be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
1378
- # image:tag" or "gcr.io/my-project/image@digest"
1379
- # Corresponds to the JSON property `image`
1380
- # @return [String]
1381
- attr_accessor :image
1382
-
1383
- def initialize(**args)
1384
- update!(**args)
1385
- end
1386
-
1387
- # Update properties of this object
1388
- def update!(**args)
1389
- @image = args[:image] if args.key?(:image)
1390
- end
1391
- end
1392
-
1393
- # Reference to a particular snapshot of the source tree used to build and deploy
1394
- # the application.
1395
- class SourceReference
1396
- include Google::Apis::Core::Hashable
1397
-
1398
- # URI string identifying the repository. Example: "https://source.developers.
1399
- # google.com/p/app-123/r/default"
1400
- # Corresponds to the JSON property `repository`
1401
- # @return [String]
1402
- attr_accessor :repository
1403
-
1404
- # The canonical, persistent identifier of the deployed revision. Aliases that
1405
- # include tags or branch names are not allowed. Example (git): "
1406
- # 2198322f89e0bb2e25021667c2ed489d1fd34e6b"
1407
- # Corresponds to the JSON property `revisionId`
1408
- # @return [String]
1409
- attr_accessor :revision_id
1410
-
1411
- def initialize(**args)
1412
- update!(**args)
1413
- end
1414
-
1415
- # Update properties of this object
1416
- def update!(**args)
1417
- @repository = args[:repository] if args.key?(:repository)
1418
- @revision_id = args[:revision_id] if args.key?(:revision_id)
1419
- end
1420
- end
1421
-
1422
- # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
1423
- # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
1424
- # via an NGINX proxy.The fields here refer to the name and configuration id of a
1425
- # "service" resource in the Service Management API (https://cloud.google.com/
1426
- # service-management/overview).
1427
- class EndpointsApiService
1428
- include Google::Apis::Core::Hashable
1429
-
1430
- # Endpoints service name which is the name of the "service" resource in the
1431
- # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
1432
- # Corresponds to the JSON property `name`
1433
- # @return [String]
1434
- attr_accessor :name
1435
-
1436
- # Endpoints service configuration id as specified by the Service Management API.
1437
- # For example "2016-09-19r1"
1438
- # Corresponds to the JSON property `configId`
1439
- # @return [String]
1440
- attr_accessor :config_id
1441
-
1442
- def initialize(**args)
1443
- update!(**args)
1444
- end
1445
-
1446
- # Update properties of this object
1447
- def update!(**args)
1448
- @name = args[:name] if args.key?(:name)
1449
- @config_id = args[:config_id] if args.key?(:config_id)
1450
- end
1451
- end
1452
-
1453
- # Response message for Versions.ListVersions.
1454
- class ListVersionsResponse
1455
- include Google::Apis::Core::Hashable
1456
-
1457
- # The versions belonging to the requested service.
1458
- # Corresponds to the JSON property `versions`
1459
- # @return [Array<Google::Apis::AppengineV1beta5::Version>]
1460
- attr_accessor :versions
1461
-
1462
- # Continuation token for fetching the next page of results.
1463
- # Corresponds to the JSON property `nextPageToken`
1464
- # @return [String]
1465
- attr_accessor :next_page_token
1466
-
1467
- def initialize(**args)
1468
- update!(**args)
1469
- end
1470
-
1471
- # Update properties of this object
1472
- def update!(**args)
1473
- @versions = args[:versions] if args.key?(:versions)
1474
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1475
- end
1476
- end
1477
-
1478
- # A Service resource is a logical component of an application that can share
1479
- # state and communicate in a secure fashion with other services. For example, an
1480
- # application that handles customer requests might include separate services to
1481
- # handle other tasks such as API requests from mobile devices or backend data
1482
- # analysis. Each service has a collection of versions that define a specific set
1483
- # of code used to implement the functionality of that service.
1484
- class Service
1485
- include Google::Apis::Core::Hashable
1486
-
1487
- # Full path to the Service resource in the API. Example: apps/myapp/services/
1488
- # default.@OutputOnly
1489
- # Corresponds to the JSON property `name`
1490
- # @return [String]
1491
- attr_accessor :name
1492
-
1493
- # Relative name of the service within the application. Example: default.@
1494
- # OutputOnly
1495
- # Corresponds to the JSON property `id`
1496
- # @return [String]
1497
- attr_accessor :id
1498
-
1499
- # Traffic routing configuration for versions within a single service. Traffic
1500
- # splits define how traffic directed to the service is assigned to versions.
1501
- # Corresponds to the JSON property `split`
1502
- # @return [Google::Apis::AppengineV1beta5::TrafficSplit]
1503
- attr_accessor :split
1504
-
1505
- def initialize(**args)
1506
- update!(**args)
1507
- end
1508
-
1509
- # Update properties of this object
1510
- def update!(**args)
1511
- @name = args[:name] if args.key?(:name)
1512
- @id = args[:id] if args.key?(:id)
1513
- @split = args[:split] if args.key?(:split)
1514
- end
1515
- end
1516
-
1517
- # Traffic routing configuration for versions within a single service. Traffic
1518
- # splits define how traffic directed to the service is assigned to versions.
1519
- class TrafficSplit
1520
- include Google::Apis::Core::Hashable
1521
-
1522
- # Mechanism used to determine which version a request is sent to. The traffic
1523
- # selection algorithm will be stable for either type until allocations are
1524
- # changed.
1525
- # Corresponds to the JSON property `shardBy`
1526
- # @return [String]
1527
- attr_accessor :shard_by
1528
-
1529
- # Mapping from version IDs within the service to fractional (0.000, 1]
1530
- # allocations of traffic for that version. Each version can be specified only
1531
- # once, but some versions in the service may not have any traffic allocation.
1532
- # Services that have traffic allocated cannot be deleted until either the
1533
- # service is deleted or their traffic allocation is removed. Allocations must
1534
- # sum to 1. Up to two decimal place precision is supported for IP-based splits
1535
- # and up to three decimal places is supported for cookie-based splits.
1536
- # Corresponds to the JSON property `allocations`
1537
- # @return [Hash<String,Float>]
1538
- attr_accessor :allocations
1539
-
1540
- def initialize(**args)
1541
- update!(**args)
1542
- end
1543
-
1544
- # Update properties of this object
1545
- def update!(**args)
1546
- @shard_by = args[:shard_by] if args.key?(:shard_by)
1547
- @allocations = args[:allocations] if args.key?(:allocations)
1548
- end
1549
- end
1550
-
1551
- # Response message for Services.ListServices.
1552
- class ListServicesResponse
1553
- include Google::Apis::Core::Hashable
1554
-
1555
- # The services belonging to the requested application.
1556
- # Corresponds to the JSON property `services`
1557
- # @return [Array<Google::Apis::AppengineV1beta5::Service>]
1558
- attr_accessor :services
1559
-
1560
- # Continuation token for fetching the next page of results.
1561
- # Corresponds to the JSON property `nextPageToken`
1562
- # @return [String]
1563
- attr_accessor :next_page_token
1564
-
1565
- def initialize(**args)
1566
- update!(**args)
1567
- end
1568
-
1569
- # Update properties of this object
1570
- def update!(**args)
1571
- @services = args[:services] if args.key?(:services)
1572
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1573
- end
1574
- end
1575
-
1576
- # An Instance resource is the computing unit that App Engine uses to
1577
- # automatically scale an application.
1578
- class Instance
1579
- include Google::Apis::Core::Hashable
1580
-
1581
- # Full path to the Instance resource in the API. Example: apps/myapp/services/
1582
- # default/versions/v1/instances/instance-1.@OutputOnly
1583
- # Corresponds to the JSON property `name`
1584
- # @return [String]
1585
- attr_accessor :name
1586
-
1587
- # Relative name of the instance within the version. Example: instance-1.@
1588
- # OutputOnly
1589
- # Corresponds to the JSON property `id`
1590
- # @return [String]
1591
- attr_accessor :id
1592
-
1593
- # App Engine release this instance is running on.@OutputOnly
1594
- # Corresponds to the JSON property `appEngineRelease`
1595
- # @return [String]
1596
- attr_accessor :app_engine_release
1597
-
1598
- # Availability of the instance.@OutputOnly
1599
- # Corresponds to the JSON property `availability`
1600
- # @return [String]
1601
- attr_accessor :availability
1602
-
1603
- # Name of the virtual machine where this instance lives. Only applicable for
1604
- # instances in App Engine flexible environment.@OutputOnly
1605
- # Corresponds to the JSON property `vmName`
1606
- # @return [String]
1607
- attr_accessor :vm_name
1608
-
1609
- # Zone where the virtual machine is located. Only applicable for instances in
1610
- # App Engine flexible environment.@OutputOnly
1611
- # Corresponds to the JSON property `vmZoneName`
1612
- # @return [String]
1613
- attr_accessor :vm_zone_name
1614
-
1615
- # Virtual machine ID of this instance. Only applicable for instances in App
1616
- # Engine flexible environment.@OutputOnly
1617
- # Corresponds to the JSON property `vmId`
1618
- # @return [String]
1619
- attr_accessor :vm_id
1620
-
1621
- # Time that this instance was started.@OutputOnly
1622
- # Corresponds to the JSON property `startTimestamp`
1623
- # @return [String]
1624
- attr_accessor :start_timestamp
1625
-
1626
- # Number of requests since this instance was started.@OutputOnly
1627
- # Corresponds to the JSON property `requests`
1628
- # @return [Fixnum]
1629
- attr_accessor :requests
1630
-
1631
- # Number of errors since this instance was started.@OutputOnly
1632
- # Corresponds to the JSON property `errors`
1633
- # @return [Fixnum]
1634
- attr_accessor :errors
1635
-
1636
- # Average queries per second (QPS) over the last minute.@OutputOnly
1637
- # Corresponds to the JSON property `qps`
1638
- # @return [Float]
1639
- attr_accessor :qps
1640
-
1641
- # Average latency (ms) over the last minute.@OutputOnly
1642
- # Corresponds to the JSON property `averageLatency`
1643
- # @return [Fixnum]
1644
- attr_accessor :average_latency
1645
-
1646
- # Total memory in use (bytes).@OutputOnly
1647
- # Corresponds to the JSON property `memoryUsage`
1648
- # @return [String]
1649
- attr_accessor :memory_usage
1650
-
1651
- # Status of the virtual machine where this instance lives. Only applicable for
1652
- # instances in App Engine flexible environment.@OutputOnly
1653
- # Corresponds to the JSON property `vmStatus`
1654
- # @return [String]
1655
- attr_accessor :vm_status
1656
-
1657
- # Whether this instance is in debug mode. Only applicable for instances in App
1658
- # Engine flexible environment.@OutputOnly
1659
- # Corresponds to the JSON property `vmUnlocked`
1660
- # @return [Boolean]
1661
- attr_accessor :vm_unlocked
1662
- alias_method :vm_unlocked?, :vm_unlocked
1663
-
1664
- # The IP address of this instance. Only applicable for instances in App Engine
1665
- # flexible environment.@OutputOnly
1666
- # Corresponds to the JSON property `vmIp`
1667
- # @return [String]
1668
- attr_accessor :vm_ip
1669
-
1670
- def initialize(**args)
1671
- update!(**args)
1672
- end
1673
-
1674
- # Update properties of this object
1675
- def update!(**args)
1676
- @name = args[:name] if args.key?(:name)
1677
- @id = args[:id] if args.key?(:id)
1678
- @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
1679
- @availability = args[:availability] if args.key?(:availability)
1680
- @vm_name = args[:vm_name] if args.key?(:vm_name)
1681
- @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
1682
- @vm_id = args[:vm_id] if args.key?(:vm_id)
1683
- @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
1684
- @requests = args[:requests] if args.key?(:requests)
1685
- @errors = args[:errors] if args.key?(:errors)
1686
- @qps = args[:qps] if args.key?(:qps)
1687
- @average_latency = args[:average_latency] if args.key?(:average_latency)
1688
- @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1689
- @vm_status = args[:vm_status] if args.key?(:vm_status)
1690
- @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked)
1691
- @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
1692
- end
1693
- end
1694
-
1695
- # Response message for Instances.ListInstances.
1696
- class ListInstancesResponse
1697
- include Google::Apis::Core::Hashable
1698
-
1699
- # The instances belonging to the requested version.
1700
- # Corresponds to the JSON property `instances`
1701
- # @return [Array<Google::Apis::AppengineV1beta5::Instance>]
1702
- attr_accessor :instances
1703
-
1704
- # Continuation token for fetching the next page of results.
1705
- # Corresponds to the JSON property `nextPageToken`
1706
- # @return [String]
1707
- attr_accessor :next_page_token
1708
-
1709
- def initialize(**args)
1710
- update!(**args)
1711
- end
1712
-
1713
- # Update properties of this object
1714
- def update!(**args)
1715
- @instances = args[:instances] if args.key?(:instances)
1716
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1717
- end
1718
- end
1719
-
1720
- # Request message for Instances.DebugInstance.
1721
- class DebugInstanceRequest
1722
- include Google::Apis::Core::Hashable
1723
-
1724
- # Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE]
1725
- # [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]",
1726
- # "expireOn":"[EXPIRE_TIME]"`For more information, see Adding and Removing SSH
1727
- # Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
1728
- # .
1729
- # Corresponds to the JSON property `sshKey`
1730
- # @return [String]
1731
- attr_accessor :ssh_key
1732
-
1733
- def initialize(**args)
1734
- update!(**args)
1735
- end
1736
-
1737
- # Update properties of this object
1738
- def update!(**args)
1739
- @ssh_key = args[:ssh_key] if args.key?(:ssh_key)
1740
- end
1741
- end
1742
-
1743
- # The response message for Locations.ListLocations.
1744
- class ListLocationsResponse
1745
- include Google::Apis::Core::Hashable
1746
-
1747
- # A list of locations that matches the specified filter in the request.
1748
- # Corresponds to the JSON property `locations`
1749
- # @return [Array<Google::Apis::AppengineV1beta5::Location>]
1750
- attr_accessor :locations
1751
-
1752
- # The standard List next-page token.
1753
- # Corresponds to the JSON property `nextPageToken`
1754
- # @return [String]
1755
- attr_accessor :next_page_token
1756
-
1757
- def initialize(**args)
1758
- update!(**args)
1759
- end
1760
-
1761
- # Update properties of this object
1762
- def update!(**args)
1763
- @locations = args[:locations] if args.key?(:locations)
1764
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1765
- end
1766
- end
1767
-
1768
- # A resource that represents Google Cloud Platform location.
1769
- class Location
1770
- include Google::Apis::Core::Hashable
1771
-
1772
- # Resource name for the location, which may vary between implementations. For
1773
- # example: "projects/example-project/locations/us-east1"
1774
- # Corresponds to the JSON property `name`
1775
- # @return [String]
1776
- attr_accessor :name
1777
-
1778
- # The canonical id for this location. For example: "us-east1".
1779
- # Corresponds to the JSON property `locationId`
1780
- # @return [String]
1781
- attr_accessor :location_id
1782
-
1783
- # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1784
- # region": "us-east1"`
1785
- # Corresponds to the JSON property `labels`
1786
- # @return [Hash<String,String>]
1787
- attr_accessor :labels
1788
-
1789
- # Service-specific metadata. For example the available capacity at the given
1790
- # location.
1791
- # Corresponds to the JSON property `metadata`
1792
- # @return [Hash<String,Object>]
1793
- attr_accessor :metadata
1794
-
1795
- def initialize(**args)
1796
- update!(**args)
1797
- end
1798
-
1799
- # Update properties of this object
1800
- def update!(**args)
1801
- @name = args[:name] if args.key?(:name)
1802
- @location_id = args[:location_id] if args.key?(:location_id)
1803
- @labels = args[:labels] if args.key?(:labels)
1804
- @metadata = args[:metadata] if args.key?(:metadata)
1805
- end
1806
- end
1807
-
1808
- # Metadata for the given google.longrunning.Operation.
1809
- class OperationMetadataExperimental
1810
- include Google::Apis::Core::Hashable
1811
-
1812
- # API method that initiated this operation. Example: google.appengine.
1813
- # experimental.CustomDomains.CreateCustomDomain.@OutputOnly
1814
- # Corresponds to the JSON property `method`
1815
- # @return [String]
1816
- attr_accessor :method_prop
1817
-
1818
- # Time that this operation was created.@OutputOnly
1819
- # Corresponds to the JSON property `insertTime`
1820
- # @return [String]
1821
- attr_accessor :insert_time
1822
-
1823
- # Time that this operation completed.@OutputOnly
1824
- # Corresponds to the JSON property `endTime`
1825
- # @return [String]
1826
- attr_accessor :end_time
1827
-
1828
- # User who requested this operation.@OutputOnly
1829
- # Corresponds to the JSON property `user`
1830
- # @return [String]
1831
- attr_accessor :user
1832
-
1833
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1834
- # customDomains/example.com.@OutputOnly
1835
- # Corresponds to the JSON property `target`
1836
- # @return [String]
1837
- attr_accessor :target
1838
-
1839
- def initialize(**args)
1840
- update!(**args)
1841
- end
1842
-
1843
- # Update properties of this object
1844
- def update!(**args)
1845
- @method_prop = args[:method_prop] if args.key?(:method_prop)
1846
- @insert_time = args[:insert_time] if args.key?(:insert_time)
1847
- @end_time = args[:end_time] if args.key?(:end_time)
1848
- @user = args[:user] if args.key?(:user)
1849
- @target = args[:target] if args.key?(:target)
1850
- end
1851
- end
1852
-
1853
- # Metadata for the given google.longrunning.Operation.
1854
- class OperationMetadata
1855
- include Google::Apis::Core::Hashable
1856
-
1857
- # Type of this operation. Deprecated, use method field instead. Example: "
1858
- # create_version".@OutputOnly
1859
- # Corresponds to the JSON property `operationType`
1860
- # @return [String]
1861
- attr_accessor :operation_type
1862
-
1863
- # Timestamp that this operation was created.@OutputOnly
1864
- # Corresponds to the JSON property `insertTime`
1865
- # @return [String]
1866
- attr_accessor :insert_time
1867
-
1868
- # Timestamp that this operation completed.@OutputOnly
1869
- # Corresponds to the JSON property `endTime`
1870
- # @return [String]
1871
- attr_accessor :end_time
1872
-
1873
- # User who requested this operation.@OutputOnly
1874
- # Corresponds to the JSON property `user`
1875
- # @return [String]
1876
- attr_accessor :user
1877
-
1878
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1879
- # modules/default.@OutputOnly
1880
- # Corresponds to the JSON property `target`
1881
- # @return [String]
1882
- attr_accessor :target
1883
-
1884
- # API method that initiated this operation. Example: google.appengine.v1beta4.
1885
- # Version.CreateVersion.@OutputOnly
1886
- # Corresponds to the JSON property `method`
1887
- # @return [String]
1888
- attr_accessor :method_prop
1889
-
1890
- def initialize(**args)
1891
- update!(**args)
1892
- end
1893
-
1894
- # Update properties of this object
1895
- def update!(**args)
1896
- @operation_type = args[:operation_type] if args.key?(:operation_type)
1897
- @insert_time = args[:insert_time] if args.key?(:insert_time)
1898
- @end_time = args[:end_time] if args.key?(:end_time)
1899
- @user = args[:user] if args.key?(:user)
1900
- @target = args[:target] if args.key?(:target)
1901
- @method_prop = args[:method_prop] if args.key?(:method_prop)
1902
- end
1903
- end
1904
-
1905
- # Metadata for the given google.longrunning.Operation.
1906
- class OperationMetadataV1Beta5
1907
- include Google::Apis::Core::Hashable
1908
-
1909
- # API method name that initiated this operation. Example: google.appengine.
1910
- # v1beta5.Version.CreateVersion.@OutputOnly
1911
- # Corresponds to the JSON property `method`
1912
- # @return [String]
1913
- attr_accessor :method_prop
1914
-
1915
- # Timestamp that this operation was created.@OutputOnly
1916
- # Corresponds to the JSON property `insertTime`
1917
- # @return [String]
1918
- attr_accessor :insert_time
1919
-
1920
- # Timestamp that this operation completed.@OutputOnly
1921
- # Corresponds to the JSON property `endTime`
1922
- # @return [String]
1923
- attr_accessor :end_time
1924
-
1925
- # User who requested this operation.@OutputOnly
1926
- # Corresponds to the JSON property `user`
1927
- # @return [String]
1928
- attr_accessor :user
1929
-
1930
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1931
- # services/default.@OutputOnly
1932
- # Corresponds to the JSON property `target`
1933
- # @return [String]
1934
- attr_accessor :target
1935
-
1936
- def initialize(**args)
1937
- update!(**args)
1938
- end
1939
-
1940
- # Update properties of this object
1941
- def update!(**args)
1942
- @method_prop = args[:method_prop] if args.key?(:method_prop)
1943
- @insert_time = args[:insert_time] if args.key?(:insert_time)
1944
- @end_time = args[:end_time] if args.key?(:end_time)
1945
- @user = args[:user] if args.key?(:user)
1946
- @target = args[:target] if args.key?(:target)
1947
- end
1948
- end
1949
-
1950
- # Metadata for the given google.longrunning.Operation.
1951
- class OperationMetadataV1Beta
1952
- include Google::Apis::Core::Hashable
1953
-
1954
- # API method that initiated this operation. Example: google.appengine.v1beta.
1955
- # Versions.CreateVersion.@OutputOnly
1956
- # Corresponds to the JSON property `method`
1957
- # @return [String]
1958
- attr_accessor :method_prop
1959
-
1960
- # Time that this operation was created.@OutputOnly
1961
- # Corresponds to the JSON property `insertTime`
1962
- # @return [String]
1963
- attr_accessor :insert_time
1964
-
1965
- # Time that this operation completed.@OutputOnly
1966
- # Corresponds to the JSON property `endTime`
1967
- # @return [String]
1968
- attr_accessor :end_time
1969
-
1970
- # User who requested this operation.@OutputOnly
1971
- # Corresponds to the JSON property `user`
1972
- # @return [String]
1973
- attr_accessor :user
1974
-
1975
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1976
- # services/default.@OutputOnly
1977
- # Corresponds to the JSON property `target`
1978
- # @return [String]
1979
- attr_accessor :target
1980
-
1981
- # Ephemeral message that may change every time the operation is polled. @
1982
- # OutputOnly
1983
- # Corresponds to the JSON property `ephemeralMessage`
1984
- # @return [String]
1985
- attr_accessor :ephemeral_message
1986
-
1987
- # Durable messages that persist on every operation poll. @OutputOnly
1988
- # Corresponds to the JSON property `warning`
1989
- # @return [Array<String>]
1990
- attr_accessor :warning
1991
-
1992
- def initialize(**args)
1993
- update!(**args)
1994
- end
1995
-
1996
- # Update properties of this object
1997
- def update!(**args)
1998
- @method_prop = args[:method_prop] if args.key?(:method_prop)
1999
- @insert_time = args[:insert_time] if args.key?(:insert_time)
2000
- @end_time = args[:end_time] if args.key?(:end_time)
2001
- @user = args[:user] if args.key?(:user)
2002
- @target = args[:target] if args.key?(:target)
2003
- @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
2004
- @warning = args[:warning] if args.key?(:warning)
2005
- end
2006
- end
2007
-
2008
- # Metadata for the given google.longrunning.Operation.
2009
- class OperationMetadataV1
2010
- include Google::Apis::Core::Hashable
2011
-
2012
- # API method that initiated this operation. Example: google.appengine.v1.
2013
- # Versions.CreateVersion.@OutputOnly
2014
- # Corresponds to the JSON property `method`
2015
- # @return [String]
2016
- attr_accessor :method_prop
2017
-
2018
- # Time that this operation was created.@OutputOnly
2019
- # Corresponds to the JSON property `insertTime`
2020
- # @return [String]
2021
- attr_accessor :insert_time
2022
-
2023
- # Time that this operation completed.@OutputOnly
2024
- # Corresponds to the JSON property `endTime`
2025
- # @return [String]
2026
- attr_accessor :end_time
2027
-
2028
- # User who requested this operation.@OutputOnly
2029
- # Corresponds to the JSON property `user`
2030
- # @return [String]
2031
- attr_accessor :user
2032
-
2033
- # Name of the resource that this operation is acting on. Example: apps/myapp/
2034
- # services/default.@OutputOnly
2035
- # Corresponds to the JSON property `target`
2036
- # @return [String]
2037
- attr_accessor :target
2038
-
2039
- # Ephemeral message that may change every time the operation is polled. @
2040
- # OutputOnly
2041
- # Corresponds to the JSON property `ephemeralMessage`
2042
- # @return [String]
2043
- attr_accessor :ephemeral_message
2044
-
2045
- # Durable messages that persist on every operation poll. @OutputOnly
2046
- # Corresponds to the JSON property `warning`
2047
- # @return [Array<String>]
2048
- attr_accessor :warning
2049
-
2050
- def initialize(**args)
2051
- update!(**args)
2052
- end
2053
-
2054
- # Update properties of this object
2055
- def update!(**args)
2056
- @method_prop = args[:method_prop] if args.key?(:method_prop)
2057
- @insert_time = args[:insert_time] if args.key?(:insert_time)
2058
- @end_time = args[:end_time] if args.key?(:end_time)
2059
- @user = args[:user] if args.key?(:user)
2060
- @target = args[:target] if args.key?(:target)
2061
- @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
2062
- @warning = args[:warning] if args.key?(:warning)
2063
- end
2064
- end
2065
-
2066
- # Metadata for the given google.cloud.location.Location.
2067
- class LocationMetadata
2068
- include Google::Apis::Core::Hashable
2069
-
2070
- # App Engine Standard Environment is available in the given location.@OutputOnly
2071
- # Corresponds to the JSON property `standardEnvironmentAvailable`
2072
- # @return [Boolean]
2073
- attr_accessor :standard_environment_available
2074
- alias_method :standard_environment_available?, :standard_environment_available
2075
-
2076
- # App Engine Flexible Environment is available in the given location.@OutputOnly
2077
- # Corresponds to the JSON property `flexibleEnvironmentAvailable`
2078
- # @return [Boolean]
2079
- attr_accessor :flexible_environment_available
2080
- alias_method :flexible_environment_available?, :flexible_environment_available
2081
-
2082
- def initialize(**args)
2083
- update!(**args)
2084
- end
2085
-
2086
- # Update properties of this object
2087
- def update!(**args)
2088
- @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
2089
- @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
2090
- end
2091
- end
2092
- end
2093
- end
2094
- end