google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170522'
29
+ REVISION = '20170525'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -22,24 +22,107 @@ module Google
22
22
  module Apis
23
23
  module AppengineV1
24
24
 
25
- # Custom static error page to be served when an error occurs.
26
- class ErrorHandler
25
+ # A service with manual scaling runs continuously, allowing you to perform
26
+ # complex initialization and rely on the state of its memory over time.
27
+ class ManualScaling
27
28
  include Google::Apis::Core::Hashable
28
29
 
29
- # Error condition this handler applies to.
30
- # Corresponds to the JSON property `errorCode`
30
+ # Number of instances to assign to the service at the start. This number can
31
+ # later be altered by using the Modules API (https://cloud.google.com/appengine/
32
+ # docs/python/modules/functions) set_num_instances() function.
33
+ # Corresponds to the JSON property `instances`
34
+ # @return [Fixnum]
35
+ attr_accessor :instances
36
+
37
+ def initialize(**args)
38
+ update!(**args)
39
+ end
40
+
41
+ # Update properties of this object
42
+ def update!(**args)
43
+ @instances = args[:instances] if args.key?(:instances)
44
+ end
45
+ end
46
+
47
+ # Metadata for the given google.cloud.location.Location.
48
+ class LocationMetadata
49
+ include Google::Apis::Core::Hashable
50
+
51
+ # App Engine Flexible Environment is available in the given location.@OutputOnly
52
+ # Corresponds to the JSON property `flexibleEnvironmentAvailable`
53
+ # @return [Boolean]
54
+ attr_accessor :flexible_environment_available
55
+ alias_method :flexible_environment_available?, :flexible_environment_available
56
+
57
+ # App Engine Standard Environment is available in the given location.@OutputOnly
58
+ # Corresponds to the JSON property `standardEnvironmentAvailable`
59
+ # @return [Boolean]
60
+ attr_accessor :standard_environment_available
61
+ alias_method :standard_environment_available?, :standard_environment_available
62
+
63
+ def initialize(**args)
64
+ update!(**args)
65
+ end
66
+
67
+ # Update properties of this object
68
+ def update!(**args)
69
+ @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
70
+ @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
71
+ end
72
+ end
73
+
74
+ # A Service resource is a logical component of an application that can share
75
+ # state and communicate in a secure fashion with other services. For example, an
76
+ # application that handles customer requests might include separate services to
77
+ # handle tasks such as backend data analysis or API requests from mobile devices.
78
+ # Each service has a collection of versions that define a specific set of code
79
+ # used to implement the functionality of that service.
80
+ class Service
81
+ include Google::Apis::Core::Hashable
82
+
83
+ # Traffic routing configuration for versions within a single service. Traffic
84
+ # splits define how traffic directed to the service is assigned to versions.
85
+ # Corresponds to the JSON property `split`
86
+ # @return [Google::Apis::AppengineV1::TrafficSplit]
87
+ attr_accessor :split
88
+
89
+ # Relative name of the service within the application. Example: default.@
90
+ # OutputOnly
91
+ # Corresponds to the JSON property `id`
31
92
  # @return [String]
32
- attr_accessor :error_code
93
+ attr_accessor :id
33
94
 
34
- # MIME type of file. Defaults to text/html.
35
- # Corresponds to the JSON property `mimeType`
95
+ # Full path to the Service resource in the API. Example: apps/myapp/services/
96
+ # default.@OutputOnly
97
+ # Corresponds to the JSON property `name`
36
98
  # @return [String]
37
- attr_accessor :mime_type
99
+ attr_accessor :name
38
100
 
39
- # Static file content to be served for this error.
40
- # Corresponds to the JSON property `staticFile`
101
+ def initialize(**args)
102
+ update!(**args)
103
+ end
104
+
105
+ # Update properties of this object
106
+ def update!(**args)
107
+ @split = args[:split] if args.key?(:split)
108
+ @id = args[:id] if args.key?(:id)
109
+ @name = args[:name] if args.key?(:name)
110
+ end
111
+ end
112
+
113
+ # The response message for Operations.ListOperations.
114
+ class ListOperationsResponse
115
+ include Google::Apis::Core::Hashable
116
+
117
+ # The standard List next-page token.
118
+ # Corresponds to the JSON property `nextPageToken`
41
119
  # @return [String]
42
- attr_accessor :static_file
120
+ attr_accessor :next_page_token
121
+
122
+ # A list of operations that matches the specified filter in the request.
123
+ # Corresponds to the JSON property `operations`
124
+ # @return [Array<Google::Apis::AppengineV1::Operation>]
125
+ attr_accessor :operations
43
126
 
44
127
  def initialize(**args)
45
128
  update!(**args)
@@ -47,18 +130,39 @@ module Google
47
130
 
48
131
  # Update properties of this object
49
132
  def update!(**args)
50
- @error_code = args[:error_code] if args.key?(:error_code)
51
- @mime_type = args[:mime_type] if args.key?(:mime_type)
52
- @static_file = args[:static_file] if args.key?(:static_file)
133
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
134
+ @operations = args[:operations] if args.key?(:operations)
53
135
  end
54
136
  end
55
137
 
56
138
  # Metadata for the given google.longrunning.Operation.
57
- class OperationMetadataV1
139
+ class OperationMetadata
58
140
  include Google::Apis::Core::Hashable
59
141
 
142
+ # API method that initiated this operation. Example: google.appengine.v1beta4.
143
+ # Version.CreateVersion.@OutputOnly
144
+ # Corresponds to the JSON property `method`
145
+ # @return [String]
146
+ attr_accessor :method_prop
147
+
148
+ # Timestamp that this operation completed.@OutputOnly
149
+ # Corresponds to the JSON property `endTime`
150
+ # @return [String]
151
+ attr_accessor :end_time
152
+
153
+ # Type of this operation. Deprecated, use method field instead. Example: "
154
+ # create_version".@OutputOnly
155
+ # Corresponds to the JSON property `operationType`
156
+ # @return [String]
157
+ attr_accessor :operation_type
158
+
159
+ # Timestamp that this operation was created.@OutputOnly
160
+ # Corresponds to the JSON property `insertTime`
161
+ # @return [String]
162
+ attr_accessor :insert_time
163
+
60
164
  # Name of the resource that this operation is acting on. Example: apps/myapp/
61
- # services/default.@OutputOnly
165
+ # modules/default.@OutputOnly
62
166
  # Corresponds to the JSON property `target`
63
167
  # @return [String]
64
168
  attr_accessor :target
@@ -68,6 +172,46 @@ module Google
68
172
  # @return [String]
69
173
  attr_accessor :user
70
174
 
175
+ def initialize(**args)
176
+ update!(**args)
177
+ end
178
+
179
+ # Update properties of this object
180
+ def update!(**args)
181
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
182
+ @end_time = args[:end_time] if args.key?(:end_time)
183
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
184
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
185
+ @target = args[:target] if args.key?(:target)
186
+ @user = args[:user] if args.key?(:user)
187
+ end
188
+ end
189
+
190
+ # Metadata for the given google.longrunning.Operation.
191
+ class OperationMetadataV1
192
+ include Google::Apis::Core::Hashable
193
+
194
+ # Time that this operation was created.@OutputOnly
195
+ # Corresponds to the JSON property `insertTime`
196
+ # @return [String]
197
+ attr_accessor :insert_time
198
+
199
+ # Durable messages that persist on every operation poll. @OutputOnly
200
+ # Corresponds to the JSON property `warning`
201
+ # @return [Array<String>]
202
+ attr_accessor :warning
203
+
204
+ # User who requested this operation.@OutputOnly
205
+ # Corresponds to the JSON property `user`
206
+ # @return [String]
207
+ attr_accessor :user
208
+
209
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
210
+ # services/default.@OutputOnly
211
+ # Corresponds to the JSON property `target`
212
+ # @return [String]
213
+ attr_accessor :target
214
+
71
215
  # Ephemeral message that may change every time the operation is polled. @
72
216
  # OutputOnly
73
217
  # Corresponds to the JSON property `ephemeralMessage`
@@ -85,70 +229,40 @@ module Google
85
229
  # @return [String]
86
230
  attr_accessor :end_time
87
231
 
88
- # Durable messages that persist on every operation poll. @OutputOnly
89
- # Corresponds to the JSON property `warning`
90
- # @return [Array<String>]
91
- attr_accessor :warning
92
-
93
- # Time that this operation was created.@OutputOnly
94
- # Corresponds to the JSON property `insertTime`
95
- # @return [String]
96
- attr_accessor :insert_time
97
-
98
232
  def initialize(**args)
99
233
  update!(**args)
100
234
  end
101
235
 
102
236
  # Update properties of this object
103
237
  def update!(**args)
104
- @target = args[:target] if args.key?(:target)
238
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
239
+ @warning = args[:warning] if args.key?(:warning)
105
240
  @user = args[:user] if args.key?(:user)
241
+ @target = args[:target] if args.key?(:target)
106
242
  @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
107
243
  @method_prop = args[:method_prop] if args.key?(:method_prop)
108
244
  @end_time = args[:end_time] if args.key?(:end_time)
109
- @warning = args[:warning] if args.key?(:warning)
110
- @insert_time = args[:insert_time] if args.key?(:insert_time)
111
245
  end
112
246
  end
113
247
 
114
- # Extra network settings. Only applicable for VM runtimes.
115
- class Network
248
+ # Custom static error page to be served when an error occurs.
249
+ class ErrorHandler
116
250
  include Google::Apis::Core::Hashable
117
251
 
118
- # List of ports, or port pairs, to forward from the virtual machine to the
119
- # application container.
120
- # Corresponds to the JSON property `forwardedPorts`
121
- # @return [Array<String>]
122
- attr_accessor :forwarded_ports
123
-
124
- # Tag to apply to the VM instance during creation.
125
- # Corresponds to the JSON property `instanceTag`
252
+ # Error condition this handler applies to.
253
+ # Corresponds to the JSON property `errorCode`
126
254
  # @return [String]
127
- attr_accessor :instance_tag
255
+ attr_accessor :error_code
128
256
 
129
- # Google Cloud Platform sub-network where the virtual machines are created.
130
- # Specify the short name, not the resource path.If a subnetwork name is
131
- # specified, a network name will also be required unless it is for the default
132
- # network.
133
- # If the network the VM instance is being created in is a Legacy network, then
134
- # the IP address is allocated from the IPv4Range.
135
- # If the network the VM instance is being created in is an auto Subnet Mode
136
- # Network, then only network name should be specified (not the subnetwork_name)
137
- # and the IP address is created from the IPCidrRange of the subnetwork that
138
- # exists in that zone for that network.
139
- # If the network the VM instance is being created in is a custom Subnet Mode
140
- # Network, then the subnetwork_name must be specified and the IP address is
141
- # created from the IPCidrRange of the subnetwork.If specified, the subnetwork
142
- # must exist in the same region as the Flex app.
143
- # Corresponds to the JSON property `subnetworkName`
257
+ # MIME type of file. Defaults to text/html.
258
+ # Corresponds to the JSON property `mimeType`
144
259
  # @return [String]
145
- attr_accessor :subnetwork_name
260
+ attr_accessor :mime_type
146
261
 
147
- # Google Cloud Platform network where the virtual machines are created. Specify
148
- # the short name, not the resource path.Defaults to default.
149
- # Corresponds to the JSON property `name`
262
+ # Static file content to be served for this error.
263
+ # Corresponds to the JSON property `staticFile`
150
264
  # @return [String]
151
- attr_accessor :name
265
+ attr_accessor :static_file
152
266
 
153
267
  def initialize(**args)
154
268
  update!(**args)
@@ -156,10 +270,9 @@ module Google
156
270
 
157
271
  # Update properties of this object
158
272
  def update!(**args)
159
- @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
160
- @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
161
- @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
162
- @name = args[:name] if args.key?(:name)
273
+ @error_code = args[:error_code] if args.key?(:error_code)
274
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
275
+ @static_file = args[:static_file] if args.key?(:static_file)
163
276
  end
164
277
  end
165
278
 
@@ -168,30 +281,54 @@ module Google
168
281
  class Application
169
282
  include Google::Apis::Core::Hashable
170
283
 
171
- # HTTP path dispatch rules for requests to the application that do not
172
- # explicitly target a service or version. Rules are order-dependent. Up to 20
173
- # dispatch rules can be supported.@OutputOnly
174
- # Corresponds to the JSON property `dispatchRules`
175
- # @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
176
- attr_accessor :dispatch_rules
177
-
178
- # The Google Container Registry domain used for storing managed build docker
179
- # images for this application.
180
- # Corresponds to the JSON property `gcrDomain`
284
+ # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
285
+ # Corresponds to the JSON property `defaultHostname`
181
286
  # @return [String]
182
- attr_accessor :gcr_domain
287
+ attr_accessor :default_hostname
183
288
 
184
- # Full path to the Application resource in the API. Example: apps/myapp.@
289
+ # Identity-Aware Proxy
290
+ # Corresponds to the JSON property `iap`
291
+ # @return [Google::Apis::AppengineV1::IdentityAwareProxy]
292
+ attr_accessor :iap
293
+
294
+ # Google Apps authentication domain that controls which users can access this
295
+ # application.Defaults to open access for any Google Account.
296
+ # Corresponds to the JSON property `authDomain`
297
+ # @return [String]
298
+ attr_accessor :auth_domain
299
+
300
+ # Google Cloud Storage bucket that can be used for storing files associated with
301
+ # this application. This bucket is associated with the application and can be
302
+ # used by the gcloud deployment commands.@OutputOnly
303
+ # Corresponds to the JSON property `codeBucket`
304
+ # @return [String]
305
+ attr_accessor :code_bucket
306
+
307
+ # Google Cloud Storage bucket that can be used by this application to store
308
+ # content.@OutputOnly
309
+ # Corresponds to the JSON property `defaultBucket`
310
+ # @return [String]
311
+ attr_accessor :default_bucket
312
+
313
+ # HTTP path dispatch rules for requests to the application that do not
314
+ # explicitly target a service or version. Rules are order-dependent. Up to 20
315
+ # dispatch rules can be supported.@OutputOnly
316
+ # Corresponds to the JSON property `dispatchRules`
317
+ # @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
318
+ attr_accessor :dispatch_rules
319
+
320
+ # The Google Container Registry domain used for storing managed build docker
321
+ # images for this application.
322
+ # Corresponds to the JSON property `gcrDomain`
323
+ # @return [String]
324
+ attr_accessor :gcr_domain
325
+
326
+ # Full path to the Application resource in the API. Example: apps/myapp.@
185
327
  # OutputOnly
186
328
  # Corresponds to the JSON property `name`
187
329
  # @return [String]
188
330
  attr_accessor :name
189
331
 
190
- # Cookie expiration policy for this application.
191
- # Corresponds to the JSON property `defaultCookieExpiration`
192
- # @return [String]
193
- attr_accessor :default_cookie_expiration
194
-
195
332
  # Identifier of the Application resource. This identifier is equivalent to the
196
333
  # project ID of the Google Cloud Platform project where you want to deploy your
197
334
  # application. Example: myapp.
@@ -199,6 +336,11 @@ module Google
199
336
  # @return [String]
200
337
  attr_accessor :id
201
338
 
339
+ # Cookie expiration policy for this application.
340
+ # Corresponds to the JSON property `defaultCookieExpiration`
341
+ # @return [String]
342
+ attr_accessor :default_cookie_expiration
343
+
202
344
  # Location from which this application will be run. Application instances will
203
345
  # run out of data centers in the chosen location, which is also where all of the
204
346
  # application's end user content is stored.Defaults to us-central.Options are:us-
@@ -212,34 +354,65 @@ module Google
212
354
  # @return [String]
213
355
  attr_accessor :serving_status
214
356
 
215
- # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
216
- # Corresponds to the JSON property `defaultHostname`
217
- # @return [String]
218
- attr_accessor :default_hostname
357
+ def initialize(**args)
358
+ update!(**args)
359
+ end
219
360
 
220
- # Identity-Aware Proxy
221
- # Corresponds to the JSON property `iap`
222
- # @return [Google::Apis::AppengineV1::IdentityAwareProxy]
223
- attr_accessor :iap
361
+ # Update properties of this object
362
+ def update!(**args)
363
+ @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
364
+ @iap = args[:iap] if args.key?(:iap)
365
+ @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
366
+ @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
367
+ @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
368
+ @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
369
+ @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
370
+ @name = args[:name] if args.key?(:name)
371
+ @id = args[:id] if args.key?(:id)
372
+ @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
373
+ @location_id = args[:location_id] if args.key?(:location_id)
374
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
375
+ end
376
+ end
224
377
 
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`
378
+ # Extra network settings. Only applicable for VM runtimes.
379
+ class Network
380
+ include Google::Apis::Core::Hashable
381
+
382
+ # List of ports, or port pairs, to forward from the virtual machine to the
383
+ # application container.
384
+ # Corresponds to the JSON property `forwardedPorts`
385
+ # @return [Array<String>]
386
+ attr_accessor :forwarded_ports
387
+
388
+ # Tag to apply to the VM instance during creation.
389
+ # Corresponds to the JSON property `instanceTag`
228
390
  # @return [String]
229
- attr_accessor :auth_domain
391
+ attr_accessor :instance_tag
230
392
 
231
- # Google Cloud Storage bucket that can be used for storing files associated with
232
- # this application. This bucket is associated with the application and can be
233
- # used by the gcloud deployment commands.@OutputOnly
234
- # Corresponds to the JSON property `codeBucket`
393
+ # Google Cloud Platform sub-network where the virtual machines are created.
394
+ # Specify the short name, not the resource path.If a subnetwork name is
395
+ # specified, a network name will also be required unless it is for the default
396
+ # network.
397
+ # If the network the VM instance is being created in is a Legacy network, then
398
+ # the IP address is allocated from the IPv4Range.
399
+ # If the network the VM instance is being created in is an auto Subnet Mode
400
+ # Network, then only network name should be specified (not the subnetwork_name)
401
+ # and the IP address is created from the IPCidrRange of the subnetwork that
402
+ # exists in that zone for that network.
403
+ # If the network the VM instance is being created in is a custom Subnet Mode
404
+ # Network, then the subnetwork_name must be specified and the IP address is
405
+ # created from the IPCidrRange of the subnetwork.If specified, the subnetwork
406
+ # must exist in the same region as the Flex app.
407
+ # Corresponds to the JSON property `subnetworkName`
235
408
  # @return [String]
236
- attr_accessor :code_bucket
409
+ attr_accessor :subnetwork_name
237
410
 
238
- # Google Cloud Storage bucket that can be used by this application to store
239
- # content.@OutputOnly
240
- # Corresponds to the JSON property `defaultBucket`
411
+ # Google Cloud Platform network where the virtual machines are created. Specify
412
+ # the short name, not the resource path.Defaults to default.
413
+ # Corresponds to the JSON property `name`
241
414
  # @return [String]
242
- attr_accessor :default_bucket
415
+ attr_accessor :name
243
416
 
244
417
  def initialize(**args)
245
418
  update!(**args)
@@ -247,18 +420,10 @@ module Google
247
420
 
248
421
  # Update properties of this object
249
422
  def update!(**args)
250
- @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
251
- @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
423
+ @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
424
+ @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
425
+ @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
252
426
  @name = args[:name] if args.key?(:name)
253
- @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
254
- @id = args[:id] if args.key?(:id)
255
- @location_id = args[:location_id] if args.key?(:location_id)
256
- @serving_status = args[:serving_status] if args.key?(:serving_status)
257
- @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
258
- @iap = args[:iap] if args.key?(:iap)
259
- @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
260
- @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
261
- @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
262
427
  end
263
428
  end
264
429
 
@@ -267,45 +432,22 @@ module Google
267
432
  class Instance
268
433
  include Google::Apis::Core::Hashable
269
434
 
270
- # Whether this instance is in debug mode. Only applicable for instances in App
271
- # Engine flexible environment.@OutputOnly
272
- # Corresponds to the JSON property `vmDebugEnabled`
273
- # @return [Boolean]
274
- attr_accessor :vm_debug_enabled
275
- alias_method :vm_debug_enabled?, :vm_debug_enabled
276
-
277
- # Number of requests since this instance was started.@OutputOnly
278
- # Corresponds to the JSON property `requests`
279
- # @return [Fixnum]
280
- attr_accessor :requests
281
-
282
- # App Engine release this instance is running on.@OutputOnly
283
- # Corresponds to the JSON property `appEngineRelease`
284
- # @return [String]
285
- attr_accessor :app_engine_release
286
-
287
435
  # Name of the virtual machine where this instance lives. Only applicable for
288
436
  # instances in App Engine flexible environment.@OutputOnly
289
437
  # Corresponds to the JSON property `vmName`
290
438
  # @return [String]
291
439
  attr_accessor :vm_name
292
440
 
293
- # Average queries per second (QPS) over the last minute.@OutputOnly
294
- # Corresponds to the JSON property `qps`
295
- # @return [Float]
296
- attr_accessor :qps
297
-
298
441
  # Virtual machine ID of this instance. Only applicable for instances in App
299
442
  # Engine flexible environment.@OutputOnly
300
443
  # Corresponds to the JSON property `vmId`
301
444
  # @return [String]
302
445
  attr_accessor :vm_id
303
446
 
304
- # Zone where the virtual machine is located. Only applicable for instances in
305
- # App Engine flexible environment.@OutputOnly
306
- # Corresponds to the JSON property `vmZoneName`
307
- # @return [String]
308
- attr_accessor :vm_zone_name
447
+ # Average queries per second (QPS) over the last minute.@OutputOnly
448
+ # Corresponds to the JSON property `qps`
449
+ # @return [Float]
450
+ attr_accessor :qps
309
451
 
310
452
  # Full path to the Instance resource in the API. Example: apps/myapp/services/
311
453
  # default/versions/v1/instances/instance-1.@OutputOnly
@@ -313,11 +455,23 @@ module Google
313
455
  # @return [String]
314
456
  attr_accessor :name
315
457
 
458
+ # Zone where the virtual machine is located. Only applicable for instances in
459
+ # App Engine flexible environment.@OutputOnly
460
+ # Corresponds to the JSON property `vmZoneName`
461
+ # @return [String]
462
+ attr_accessor :vm_zone_name
463
+
316
464
  # Average latency (ms) over the last minute.@OutputOnly
317
465
  # Corresponds to the JSON property `averageLatency`
318
466
  # @return [Fixnum]
319
467
  attr_accessor :average_latency
320
468
 
469
+ # Relative name of the instance within the version. Example: instance-1.@
470
+ # OutputOnly
471
+ # Corresponds to the JSON property `id`
472
+ # @return [String]
473
+ attr_accessor :id
474
+
321
475
  # The IP address of this instance. Only applicable for instances in App Engine
322
476
  # flexible environment.@OutputOnly
323
477
  # Corresponds to the JSON property `vmIp`
@@ -329,22 +483,16 @@ module Google
329
483
  # @return [Fixnum]
330
484
  attr_accessor :memory_usage
331
485
 
332
- # Relative name of the instance within the version. Example: instance-1.@
333
- # OutputOnly
334
- # Corresponds to the JSON property `id`
335
- # @return [String]
336
- attr_accessor :id
486
+ # Number of errors since this instance was started.@OutputOnly
487
+ # Corresponds to the JSON property `errors`
488
+ # @return [Fixnum]
489
+ attr_accessor :errors
337
490
 
338
491
  # Availability of the instance.@OutputOnly
339
492
  # Corresponds to the JSON property `availability`
340
493
  # @return [String]
341
494
  attr_accessor :availability
342
495
 
343
- # Number of errors since this instance was started.@OutputOnly
344
- # Corresponds to the JSON property `errors`
345
- # @return [Fixnum]
346
- attr_accessor :errors
347
-
348
496
  # Status of the virtual machine where this instance lives. Only applicable for
349
497
  # instances in App Engine flexible environment.@OutputOnly
350
498
  # Corresponds to the JSON property `vmStatus`
@@ -356,28 +504,45 @@ module Google
356
504
  # @return [String]
357
505
  attr_accessor :start_time
358
506
 
507
+ # Whether this instance is in debug mode. Only applicable for instances in App
508
+ # Engine flexible environment.@OutputOnly
509
+ # Corresponds to the JSON property `vmDebugEnabled`
510
+ # @return [Boolean]
511
+ attr_accessor :vm_debug_enabled
512
+ alias_method :vm_debug_enabled?, :vm_debug_enabled
513
+
514
+ # Number of requests since this instance was started.@OutputOnly
515
+ # Corresponds to the JSON property `requests`
516
+ # @return [Fixnum]
517
+ attr_accessor :requests
518
+
519
+ # App Engine release this instance is running on.@OutputOnly
520
+ # Corresponds to the JSON property `appEngineRelease`
521
+ # @return [String]
522
+ attr_accessor :app_engine_release
523
+
359
524
  def initialize(**args)
360
525
  update!(**args)
361
526
  end
362
527
 
363
528
  # Update properties of this object
364
529
  def update!(**args)
365
- @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
366
- @requests = args[:requests] if args.key?(:requests)
367
- @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
368
530
  @vm_name = args[:vm_name] if args.key?(:vm_name)
369
- @qps = args[:qps] if args.key?(:qps)
370
531
  @vm_id = args[:vm_id] if args.key?(:vm_id)
371
- @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
532
+ @qps = args[:qps] if args.key?(:qps)
372
533
  @name = args[:name] if args.key?(:name)
534
+ @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
373
535
  @average_latency = args[:average_latency] if args.key?(:average_latency)
536
+ @id = args[:id] if args.key?(:id)
374
537
  @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
375
538
  @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
376
- @id = args[:id] if args.key?(:id)
377
- @availability = args[:availability] if args.key?(:availability)
378
539
  @errors = args[:errors] if args.key?(:errors)
540
+ @availability = args[:availability] if args.key?(:availability)
379
541
  @vm_status = args[:vm_status] if args.key?(:vm_status)
380
542
  @start_time = args[:start_time] if args.key?(:start_time)
543
+ @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
544
+ @requests = args[:requests] if args.key?(:requests)
545
+ @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
381
546
  end
382
547
  end
383
548
 
@@ -386,10 +551,10 @@ module Google
386
551
  class LivenessCheck
387
552
  include Google::Apis::Core::Hashable
388
553
 
389
- # Time before the check is considered failed.
390
- # Corresponds to the JSON property `timeout`
554
+ # Interval between health checks.
555
+ # Corresponds to the JSON property `checkInterval`
391
556
  # @return [String]
392
- attr_accessor :timeout
557
+ attr_accessor :check_interval
393
558
 
394
559
  # Number of consecutive failed checks required before considering the VM
395
560
  # unhealthy.
@@ -397,6 +562,11 @@ module Google
397
562
  # @return [Fixnum]
398
563
  attr_accessor :failure_threshold
399
564
 
565
+ # Time before the check is considered failed.
566
+ # Corresponds to the JSON property `timeout`
567
+ # @return [String]
568
+ attr_accessor :timeout
569
+
400
570
  # The initial delay before starting to execute the checks.
401
571
  # Corresponds to the JSON property `initialDelay`
402
572
  # @return [String]
@@ -419,24 +589,19 @@ module Google
419
589
  # @return [Fixnum]
420
590
  attr_accessor :success_threshold
421
591
 
422
- # Interval between health checks.
423
- # Corresponds to the JSON property `checkInterval`
424
- # @return [String]
425
- attr_accessor :check_interval
426
-
427
592
  def initialize(**args)
428
593
  update!(**args)
429
594
  end
430
595
 
431
596
  # Update properties of this object
432
597
  def update!(**args)
433
- @timeout = args[:timeout] if args.key?(:timeout)
598
+ @check_interval = args[:check_interval] if args.key?(:check_interval)
434
599
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
600
+ @timeout = args[:timeout] if args.key?(:timeout)
435
601
  @initial_delay = args[:initial_delay] if args.key?(:initial_delay)
436
602
  @path = args[:path] if args.key?(:path)
437
603
  @host = args[:host] if args.key?(:host)
438
604
  @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
439
- @check_interval = args[:check_interval] if args.key?(:check_interval)
440
605
  end
441
606
  end
442
607
 
@@ -444,6 +609,11 @@ module Google
444
609
  class NetworkUtilization
445
610
  include Google::Apis::Core::Hashable
446
611
 
612
+ # Target bytes sent per second.
613
+ # Corresponds to the JSON property `targetSentBytesPerSecond`
614
+ # @return [Fixnum]
615
+ attr_accessor :target_sent_bytes_per_second
616
+
447
617
  # Target packets sent per second.
448
618
  # Corresponds to the JSON property `targetSentPacketsPerSecond`
449
619
  # @return [Fixnum]
@@ -459,21 +629,16 @@ module Google
459
629
  # @return [Fixnum]
460
630
  attr_accessor :target_received_packets_per_second
461
631
 
462
- # Target bytes sent per second.
463
- # Corresponds to the JSON property `targetSentBytesPerSecond`
464
- # @return [Fixnum]
465
- attr_accessor :target_sent_bytes_per_second
466
-
467
632
  def initialize(**args)
468
633
  update!(**args)
469
634
  end
470
635
 
471
636
  # Update properties of this object
472
637
  def update!(**args)
638
+ @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second)
473
639
  @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second)
474
640
  @target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second)
475
641
  @target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second)
476
- @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second)
477
642
  end
478
643
  end
479
644
 
@@ -481,17 +646,6 @@ module Google
481
646
  class Location
482
647
  include Google::Apis::Core::Hashable
483
648
 
484
- # The canonical id for this location. For example: "us-east1".
485
- # Corresponds to the JSON property `locationId`
486
- # @return [String]
487
- attr_accessor :location_id
488
-
489
- # Service-specific metadata. For example the available capacity at the given
490
- # location.
491
- # Corresponds to the JSON property `metadata`
492
- # @return [Hash<String,Object>]
493
- attr_accessor :metadata
494
-
495
649
  # Cross-service attributes for the location. For example
496
650
  # `"cloud.googleapis.com/region": "us-east1"`
497
651
  # Corresponds to the JSON property `labels`
@@ -504,16 +658,27 @@ module Google
504
658
  # @return [String]
505
659
  attr_accessor :name
506
660
 
661
+ # The canonical id for this location. For example: "us-east1".
662
+ # Corresponds to the JSON property `locationId`
663
+ # @return [String]
664
+ attr_accessor :location_id
665
+
666
+ # Service-specific metadata. For example the available capacity at the given
667
+ # location.
668
+ # Corresponds to the JSON property `metadata`
669
+ # @return [Hash<String,Object>]
670
+ attr_accessor :metadata
671
+
507
672
  def initialize(**args)
508
673
  update!(**args)
509
674
  end
510
675
 
511
676
  # Update properties of this object
512
677
  def update!(**args)
513
- @location_id = args[:location_id] if args.key?(:location_id)
514
- @metadata = args[:metadata] if args.key?(:metadata)
515
678
  @labels = args[:labels] if args.key?(:labels)
516
679
  @name = args[:name] if args.key?(:name)
680
+ @location_id = args[:location_id] if args.key?(:location_id)
681
+ @metadata = args[:metadata] if args.key?(:metadata)
517
682
  end
518
683
  end
519
684
 
@@ -523,6 +688,24 @@ module Google
523
688
  class HealthCheck
524
689
  include Google::Apis::Core::Hashable
525
690
 
691
+ # Host header to send when performing an HTTP health check. Example: "myapp.
692
+ # appspot.com"
693
+ # Corresponds to the JSON property `host`
694
+ # @return [String]
695
+ attr_accessor :host
696
+
697
+ # Number of consecutive failed health checks required before an instance is
698
+ # restarted.
699
+ # Corresponds to the JSON property `restartThreshold`
700
+ # @return [Fixnum]
701
+ attr_accessor :restart_threshold
702
+
703
+ # Number of consecutive successful health checks required before receiving
704
+ # traffic.
705
+ # Corresponds to the JSON property `healthyThreshold`
706
+ # @return [Fixnum]
707
+ attr_accessor :healthy_threshold
708
+
526
709
  # Interval between health checks.
527
710
  # Corresponds to the JSON property `checkInterval`
528
711
  # @return [String]
@@ -544,37 +727,19 @@ module Google
544
727
  attr_accessor :disable_health_check
545
728
  alias_method :disable_health_check?, :disable_health_check
546
729
 
547
- # Host header to send when performing an HTTP health check. Example: "myapp.
548
- # appspot.com"
549
- # Corresponds to the JSON property `host`
550
- # @return [String]
551
- attr_accessor :host
552
-
553
- # Number of consecutive failed health checks required before an instance is
554
- # restarted.
555
- # Corresponds to the JSON property `restartThreshold`
556
- # @return [Fixnum]
557
- attr_accessor :restart_threshold
558
-
559
- # Number of consecutive successful health checks required before receiving
560
- # traffic.
561
- # Corresponds to the JSON property `healthyThreshold`
562
- # @return [Fixnum]
563
- attr_accessor :healthy_threshold
564
-
565
730
  def initialize(**args)
566
731
  update!(**args)
567
732
  end
568
733
 
569
734
  # Update properties of this object
570
735
  def update!(**args)
736
+ @host = args[:host] if args.key?(:host)
737
+ @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
738
+ @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
571
739
  @check_interval = args[:check_interval] if args.key?(:check_interval)
572
740
  @timeout = args[:timeout] if args.key?(:timeout)
573
741
  @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
574
742
  @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
575
- @host = args[:host] if args.key?(:host)
576
- @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
577
- @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
578
743
  end
579
744
  end
580
745
 
@@ -583,22 +748,6 @@ module Google
583
748
  class ReadinessCheck
584
749
  include Google::Apis::Core::Hashable
585
750
 
586
- # The request path.
587
- # Corresponds to the JSON property `path`
588
- # @return [String]
589
- attr_accessor :path
590
-
591
- # Host header to send when performing a HTTP Readiness check. Example: "myapp.
592
- # appspot.com"
593
- # Corresponds to the JSON property `host`
594
- # @return [String]
595
- attr_accessor :host
596
-
597
- # Number of consecutive successful checks required before receiving traffic.
598
- # Corresponds to the JSON property `successThreshold`
599
- # @return [Fixnum]
600
- attr_accessor :success_threshold
601
-
602
751
  # Interval between health checks.
603
752
  # Corresponds to the JSON property `checkInterval`
604
753
  # @return [String]
@@ -614,18 +763,34 @@ module Google
614
763
  # @return [Fixnum]
615
764
  attr_accessor :failure_threshold
616
765
 
766
+ # The request path.
767
+ # Corresponds to the JSON property `path`
768
+ # @return [String]
769
+ attr_accessor :path
770
+
771
+ # Number of consecutive successful checks required before receiving traffic.
772
+ # Corresponds to the JSON property `successThreshold`
773
+ # @return [Fixnum]
774
+ attr_accessor :success_threshold
775
+
776
+ # Host header to send when performing a HTTP Readiness check. Example: "myapp.
777
+ # appspot.com"
778
+ # Corresponds to the JSON property `host`
779
+ # @return [String]
780
+ attr_accessor :host
781
+
617
782
  def initialize(**args)
618
783
  update!(**args)
619
784
  end
620
785
 
621
786
  # Update properties of this object
622
787
  def update!(**args)
623
- @path = args[:path] if args.key?(:path)
624
- @host = args[:host] if args.key?(:host)
625
- @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
626
788
  @check_interval = args[:check_interval] if args.key?(:check_interval)
627
789
  @timeout = args[:timeout] if args.key?(:timeout)
628
790
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
791
+ @path = args[:path] if args.key?(:path)
792
+ @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
793
+ @host = args[:host] if args.key?(:host)
629
794
  end
630
795
  end
631
796
 
@@ -702,106 +867,6 @@ module Google
702
867
  class Version
703
868
  include Google::Apis::Core::Hashable
704
869
 
705
- # Instance class that is used to run this version. Valid values are:
706
- # AutomaticScaling: F1, F2, F4, F4_1G
707
- # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
708
- # AutomaticScaling and B1 for ManualScaling or BasicScaling.
709
- # Corresponds to the JSON property `instanceClass`
710
- # @return [String]
711
- attr_accessor :instance_class
712
-
713
- # Current serving status of this version. Only the versions with a SERVING
714
- # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
715
- # invalid value. Defaults to SERVING.
716
- # Corresponds to the JSON property `servingStatus`
717
- # @return [String]
718
- attr_accessor :serving_status
719
-
720
- # Code and application artifacts used to deploy a version to App Engine.
721
- # Corresponds to the JSON property `deployment`
722
- # @return [Google::Apis::AppengineV1::Deployment]
723
- attr_accessor :deployment
724
-
725
- # Time that this version was created.@OutputOnly
726
- # Corresponds to the JSON property `createTime`
727
- # @return [String]
728
- attr_accessor :create_time
729
-
730
- # Machine resources for a version.
731
- # Corresponds to the JSON property `resources`
732
- # @return [Google::Apis::AppengineV1::Resources]
733
- attr_accessor :resources
734
-
735
- # Before an application can receive email or XMPP messages, the application must
736
- # be configured to enable the service.
737
- # Corresponds to the JSON property `inboundServices`
738
- # @return [Array<String>]
739
- attr_accessor :inbound_services
740
-
741
- # Custom static error pages. Limited to 10KB per page.Only returned in GET
742
- # requests if view=FULL is set.
743
- # Corresponds to the JSON property `errorHandlers`
744
- # @return [Array<Google::Apis::AppengineV1::ErrorHandler>]
745
- attr_accessor :error_handlers
746
-
747
- # Duration that static files should be cached by web proxies and browsers. Only
748
- # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
749
- # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
750
- # staticfileshandler) does not specify its own expiration time.Only returned in
751
- # GET requests if view=FULL is set.
752
- # Corresponds to the JSON property `defaultExpiration`
753
- # @return [String]
754
- attr_accessor :default_expiration
755
-
756
- # Configuration for third-party Python runtime libraries that are required by
757
- # the application.Only returned in GET requests if view=FULL is set.
758
- # Corresponds to the JSON property `libraries`
759
- # @return [Array<Google::Apis::AppengineV1::Library>]
760
- attr_accessor :libraries
761
-
762
- # Files that match this pattern will not be built into this version. Only
763
- # applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
764
- # Corresponds to the JSON property `nobuildFilesRegex`
765
- # @return [String]
766
- attr_accessor :nobuild_files_regex
767
-
768
- # A service with basic scaling will create an instance when the application
769
- # receives a request. The instance will be turned down when the app becomes idle.
770
- # Basic scaling is ideal for work that is intermittent or driven by user
771
- # activity.
772
- # Corresponds to the JSON property `basicScaling`
773
- # @return [Google::Apis::AppengineV1::BasicScaling]
774
- attr_accessor :basic_scaling
775
-
776
- # Desired runtime. Example: python27.
777
- # Corresponds to the JSON property `runtime`
778
- # @return [String]
779
- attr_accessor :runtime
780
-
781
- # Email address of the user who created this version.@OutputOnly
782
- # Corresponds to the JSON property `createdBy`
783
- # @return [String]
784
- attr_accessor :created_by
785
-
786
- # Relative name of the version within the service. Example: v1. Version names
787
- # can contain only lowercase letters, numbers, or hyphens. Reserved names: "
788
- # default", "latest", and any name with the prefix "ah-".
789
- # Corresponds to the JSON property `id`
790
- # @return [String]
791
- attr_accessor :id
792
-
793
- # Environment variables available to the application.Only returned in GET
794
- # requests if view=FULL is set.
795
- # Corresponds to the JSON property `envVariables`
796
- # @return [Hash<String,String>]
797
- attr_accessor :env_variables
798
-
799
- # Health checking configuration for VM instances. Unhealthy instances are killed
800
- # and replaced with new instances.
801
- # Corresponds to the JSON property `livenessCheck`
802
- # @return [Google::Apis::AppengineV1::LivenessCheck]
803
- attr_accessor :liveness_check
804
-
805
870
  # Extra network settings. Only applicable for VM runtimes.
806
871
  # Corresponds to the JSON property `network`
807
872
  # @return [Google::Apis::AppengineV1::Network]
@@ -895,45 +960,153 @@ module Google
895
960
  attr_accessor :vm
896
961
  alias_method :vm?, :vm
897
962
 
898
- def initialize(**args)
899
- update!(**args)
900
- end
963
+ # Instance class that is used to run this version. Valid values are:
964
+ # AutomaticScaling: F1, F2, F4, F4_1G
965
+ # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
966
+ # AutomaticScaling and B1 for ManualScaling or BasicScaling.
967
+ # Corresponds to the JSON property `instanceClass`
968
+ # @return [String]
969
+ attr_accessor :instance_class
901
970
 
902
- # Update properties of this object
903
- def update!(**args)
904
- @instance_class = args[:instance_class] if args.key?(:instance_class)
905
- @serving_status = args[:serving_status] if args.key?(:serving_status)
906
- @deployment = args[:deployment] if args.key?(:deployment)
907
- @create_time = args[:create_time] if args.key?(:create_time)
908
- @resources = args[:resources] if args.key?(:resources)
909
- @inbound_services = args[:inbound_services] if args.key?(:inbound_services)
910
- @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
911
- @default_expiration = args[:default_expiration] if args.key?(:default_expiration)
912
- @libraries = args[:libraries] if args.key?(:libraries)
913
- @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
914
- @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
915
- @runtime = args[:runtime] if args.key?(:runtime)
916
- @created_by = args[:created_by] if args.key?(:created_by)
917
- @id = args[:id] if args.key?(:id)
918
- @env_variables = args[:env_variables] if args.key?(:env_variables)
919
- @liveness_check = args[:liveness_check] if args.key?(:liveness_check)
920
- @network = args[:network] if args.key?(:network)
921
- @beta_settings = args[:beta_settings] if args.key?(:beta_settings)
922
- @env = args[:env] if args.key?(:env)
923
- @handlers = args[:handlers] if args.key?(:handlers)
924
- @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
925
- @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
926
- @health_check = args[:health_check] if args.key?(:health_check)
927
- @threadsafe = args[:threadsafe] if args.key?(:threadsafe)
928
- @readiness_check = args[:readiness_check] if args.key?(:readiness_check)
929
- @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
930
- @name = args[:name] if args.key?(:name)
931
- @api_config = args[:api_config] if args.key?(:api_config)
932
- @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
933
- @version_url = args[:version_url] if args.key?(:version_url)
934
- @vm = args[:vm] if args.key?(:vm)
935
- end
936
- end
971
+ # Current serving status of this version. Only the versions with a SERVING
972
+ # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
973
+ # invalid value. Defaults to SERVING.
974
+ # Corresponds to the JSON property `servingStatus`
975
+ # @return [String]
976
+ attr_accessor :serving_status
977
+
978
+ # The version of the API in the given runtime environment. Please see the app.
979
+ # yaml reference for valid values at https://cloud.google.com/appengine/docs/
980
+ # standard/<language>/config/appref
981
+ # Corresponds to the JSON property `runtimeApiVersion`
982
+ # @return [String]
983
+ attr_accessor :runtime_api_version
984
+
985
+ # Code and application artifacts used to deploy a version to App Engine.
986
+ # Corresponds to the JSON property `deployment`
987
+ # @return [Google::Apis::AppengineV1::Deployment]
988
+ attr_accessor :deployment
989
+
990
+ # Time that this version was created.@OutputOnly
991
+ # Corresponds to the JSON property `createTime`
992
+ # @return [String]
993
+ attr_accessor :create_time
994
+
995
+ # Before an application can receive email or XMPP messages, the application must
996
+ # be configured to enable the service.
997
+ # Corresponds to the JSON property `inboundServices`
998
+ # @return [Array<String>]
999
+ attr_accessor :inbound_services
1000
+
1001
+ # Machine resources for a version.
1002
+ # Corresponds to the JSON property `resources`
1003
+ # @return [Google::Apis::AppengineV1::Resources]
1004
+ attr_accessor :resources
1005
+
1006
+ # Custom static error pages. Limited to 10KB per page.Only returned in GET
1007
+ # requests if view=FULL is set.
1008
+ # Corresponds to the JSON property `errorHandlers`
1009
+ # @return [Array<Google::Apis::AppengineV1::ErrorHandler>]
1010
+ attr_accessor :error_handlers
1011
+
1012
+ # Duration that static files should be cached by web proxies and browsers. Only
1013
+ # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
1014
+ # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
1015
+ # staticfileshandler) does not specify its own expiration time.Only returned in
1016
+ # GET requests if view=FULL is set.
1017
+ # Corresponds to the JSON property `defaultExpiration`
1018
+ # @return [String]
1019
+ attr_accessor :default_expiration
1020
+
1021
+ # Configuration for third-party Python runtime libraries that are required by
1022
+ # the application.Only returned in GET requests if view=FULL is set.
1023
+ # Corresponds to the JSON property `libraries`
1024
+ # @return [Array<Google::Apis::AppengineV1::Library>]
1025
+ attr_accessor :libraries
1026
+
1027
+ # Files that match this pattern will not be built into this version. Only
1028
+ # applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
1029
+ # Corresponds to the JSON property `nobuildFilesRegex`
1030
+ # @return [String]
1031
+ attr_accessor :nobuild_files_regex
1032
+
1033
+ # A service with basic scaling will create an instance when the application
1034
+ # receives a request. The instance will be turned down when the app becomes idle.
1035
+ # Basic scaling is ideal for work that is intermittent or driven by user
1036
+ # activity.
1037
+ # Corresponds to the JSON property `basicScaling`
1038
+ # @return [Google::Apis::AppengineV1::BasicScaling]
1039
+ attr_accessor :basic_scaling
1040
+
1041
+ # Desired runtime. Example: python27.
1042
+ # Corresponds to the JSON property `runtime`
1043
+ # @return [String]
1044
+ attr_accessor :runtime
1045
+
1046
+ # Relative name of the version within the service. Example: v1. Version names
1047
+ # can contain only lowercase letters, numbers, or hyphens. Reserved names: "
1048
+ # default", "latest", and any name with the prefix "ah-".
1049
+ # Corresponds to the JSON property `id`
1050
+ # @return [String]
1051
+ attr_accessor :id
1052
+
1053
+ # Email address of the user who created this version.@OutputOnly
1054
+ # Corresponds to the JSON property `createdBy`
1055
+ # @return [String]
1056
+ attr_accessor :created_by
1057
+
1058
+ # Environment variables available to the application.Only returned in GET
1059
+ # requests if view=FULL is set.
1060
+ # Corresponds to the JSON property `envVariables`
1061
+ # @return [Hash<String,String>]
1062
+ attr_accessor :env_variables
1063
+
1064
+ # Health checking configuration for VM instances. Unhealthy instances are killed
1065
+ # and replaced with new instances.
1066
+ # Corresponds to the JSON property `livenessCheck`
1067
+ # @return [Google::Apis::AppengineV1::LivenessCheck]
1068
+ attr_accessor :liveness_check
1069
+
1070
+ def initialize(**args)
1071
+ update!(**args)
1072
+ end
1073
+
1074
+ # Update properties of this object
1075
+ def update!(**args)
1076
+ @network = args[:network] if args.key?(:network)
1077
+ @beta_settings = args[:beta_settings] if args.key?(:beta_settings)
1078
+ @env = args[:env] if args.key?(:env)
1079
+ @handlers = args[:handlers] if args.key?(:handlers)
1080
+ @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
1081
+ @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
1082
+ @health_check = args[:health_check] if args.key?(:health_check)
1083
+ @threadsafe = args[:threadsafe] if args.key?(:threadsafe)
1084
+ @readiness_check = args[:readiness_check] if args.key?(:readiness_check)
1085
+ @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
1086
+ @name = args[:name] if args.key?(:name)
1087
+ @api_config = args[:api_config] if args.key?(:api_config)
1088
+ @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
1089
+ @version_url = args[:version_url] if args.key?(:version_url)
1090
+ @vm = args[:vm] if args.key?(:vm)
1091
+ @instance_class = args[:instance_class] if args.key?(:instance_class)
1092
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
1093
+ @runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
1094
+ @deployment = args[:deployment] if args.key?(:deployment)
1095
+ @create_time = args[:create_time] if args.key?(:create_time)
1096
+ @inbound_services = args[:inbound_services] if args.key?(:inbound_services)
1097
+ @resources = args[:resources] if args.key?(:resources)
1098
+ @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
1099
+ @default_expiration = args[:default_expiration] if args.key?(:default_expiration)
1100
+ @libraries = args[:libraries] if args.key?(:libraries)
1101
+ @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
1102
+ @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
1103
+ @runtime = args[:runtime] if args.key?(:runtime)
1104
+ @id = args[:id] if args.key?(:id)
1105
+ @created_by = args[:created_by] if args.key?(:created_by)
1106
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
1107
+ @liveness_check = args[:liveness_check] if args.key?(:liveness_check)
1108
+ end
1109
+ end
937
1110
 
938
1111
  # Request message for 'Applications.RepairApplication'.
939
1112
  class RepairApplicationRequest
@@ -948,11 +1121,35 @@ module Google
948
1121
  end
949
1122
  end
950
1123
 
1124
+ # Executes a script to handle the request that matches the URL pattern.
1125
+ class ScriptHandler
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # Path to the script from the application root directory.
1129
+ # Corresponds to the JSON property `scriptPath`
1130
+ # @return [String]
1131
+ attr_accessor :script_path
1132
+
1133
+ def initialize(**args)
1134
+ update!(**args)
1135
+ end
1136
+
1137
+ # Update properties of this object
1138
+ def update!(**args)
1139
+ @script_path = args[:script_path] if args.key?(:script_path)
1140
+ end
1141
+ end
1142
+
951
1143
  # Single source file that is part of the version to be deployed. Each source
952
1144
  # file that is deployed must be specified separately.
953
1145
  class FileInfo
954
1146
  include Google::Apis::Core::Hashable
955
1147
 
1148
+ # The SHA1 hash of the file, in hex.
1149
+ # Corresponds to the JSON property `sha1Sum`
1150
+ # @return [String]
1151
+ attr_accessor :sha1_sum
1152
+
956
1153
  # The MIME type of the file.Defaults to the value from Google Cloud Storage.
957
1154
  # Corresponds to the JSON property `mimeType`
958
1155
  # @return [String]
@@ -964,45 +1161,32 @@ module Google
964
1161
  # @return [String]
965
1162
  attr_accessor :source_url
966
1163
 
967
- # The SHA1 hash of the file, in hex.
968
- # Corresponds to the JSON property `sha1Sum`
969
- # @return [String]
970
- attr_accessor :sha1_sum
971
-
972
1164
  def initialize(**args)
973
1165
  update!(**args)
974
1166
  end
975
1167
 
976
1168
  # Update properties of this object
977
1169
  def update!(**args)
1170
+ @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
978
1171
  @mime_type = args[:mime_type] if args.key?(:mime_type)
979
1172
  @source_url = args[:source_url] if args.key?(:source_url)
980
- @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
981
1173
  end
982
1174
  end
983
1175
 
984
- # Executes a script to handle the request that matches the URL pattern.
985
- class ScriptHandler
1176
+ # Metadata for the given google.longrunning.Operation.
1177
+ class OperationMetadataExperimental
986
1178
  include Google::Apis::Core::Hashable
987
1179
 
988
- # Path to the script from the application root directory.
989
- # Corresponds to the JSON property `scriptPath`
1180
+ # User who requested this operation.@OutputOnly
1181
+ # Corresponds to the JSON property `user`
990
1182
  # @return [String]
991
- attr_accessor :script_path
992
-
993
- def initialize(**args)
994
- update!(**args)
995
- end
996
-
997
- # Update properties of this object
998
- def update!(**args)
999
- @script_path = args[:script_path] if args.key?(:script_path)
1000
- end
1001
- end
1183
+ attr_accessor :user
1002
1184
 
1003
- # Metadata for the given google.longrunning.Operation.
1004
- class OperationMetadataExperimental
1005
- include Google::Apis::Core::Hashable
1185
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1186
+ # customDomains/example.com.@OutputOnly
1187
+ # Corresponds to the JSON property `target`
1188
+ # @return [String]
1189
+ attr_accessor :target
1006
1190
 
1007
1191
  # API method that initiated this operation. Example: google.appengine.
1008
1192
  # experimental.CustomDomains.CreateCustomDomain.@OutputOnly
@@ -1020,28 +1204,17 @@ module Google
1020
1204
  # @return [String]
1021
1205
  attr_accessor :end_time
1022
1206
 
1023
- # User who requested this operation.@OutputOnly
1024
- # Corresponds to the JSON property `user`
1025
- # @return [String]
1026
- attr_accessor :user
1027
-
1028
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1029
- # customDomains/example.com.@OutputOnly
1030
- # Corresponds to the JSON property `target`
1031
- # @return [String]
1032
- attr_accessor :target
1033
-
1034
1207
  def initialize(**args)
1035
1208
  update!(**args)
1036
1209
  end
1037
1210
 
1038
1211
  # Update properties of this object
1039
1212
  def update!(**args)
1213
+ @user = args[:user] if args.key?(:user)
1214
+ @target = args[:target] if args.key?(:target)
1040
1215
  @method_prop = args[:method_prop] if args.key?(:method_prop)
1041
1216
  @insert_time = args[:insert_time] if args.key?(:insert_time)
1042
1217
  @end_time = args[:end_time] if args.key?(:end_time)
1043
- @user = args[:user] if args.key?(:user)
1044
- @target = args[:target] if args.key?(:target)
1045
1218
  end
1046
1219
  end
1047
1220
 
@@ -1083,23 +1256,6 @@ module Google
1083
1256
  class OperationMetadataV1Beta
1084
1257
  include Google::Apis::Core::Hashable
1085
1258
 
1086
- # Name of the resource that this operation is acting on. Example: apps/myapp/
1087
- # services/default.@OutputOnly
1088
- # Corresponds to the JSON property `target`
1089
- # @return [String]
1090
- attr_accessor :target
1091
-
1092
- # User who requested this operation.@OutputOnly
1093
- # Corresponds to the JSON property `user`
1094
- # @return [String]
1095
- attr_accessor :user
1096
-
1097
- # Ephemeral message that may change every time the operation is polled. @
1098
- # OutputOnly
1099
- # Corresponds to the JSON property `ephemeralMessage`
1100
- # @return [String]
1101
- attr_accessor :ephemeral_message
1102
-
1103
1259
  # API method that initiated this operation. Example: google.appengine.v1beta.
1104
1260
  # Versions.CreateVersion.@OutputOnly
1105
1261
  # Corresponds to the JSON property `method`
@@ -1121,19 +1277,36 @@ module Google
1121
1277
  # @return [String]
1122
1278
  attr_accessor :insert_time
1123
1279
 
1280
+ # User who requested this operation.@OutputOnly
1281
+ # Corresponds to the JSON property `user`
1282
+ # @return [String]
1283
+ attr_accessor :user
1284
+
1285
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1286
+ # services/default.@OutputOnly
1287
+ # Corresponds to the JSON property `target`
1288
+ # @return [String]
1289
+ attr_accessor :target
1290
+
1291
+ # Ephemeral message that may change every time the operation is polled. @
1292
+ # OutputOnly
1293
+ # Corresponds to the JSON property `ephemeralMessage`
1294
+ # @return [String]
1295
+ attr_accessor :ephemeral_message
1296
+
1124
1297
  def initialize(**args)
1125
1298
  update!(**args)
1126
1299
  end
1127
1300
 
1128
1301
  # Update properties of this object
1129
1302
  def update!(**args)
1130
- @target = args[:target] if args.key?(:target)
1131
- @user = args[:user] if args.key?(:user)
1132
- @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
1133
1303
  @method_prop = args[:method_prop] if args.key?(:method_prop)
1134
1304
  @end_time = args[:end_time] if args.key?(:end_time)
1135
1305
  @warning = args[:warning] if args.key?(:warning)
1136
1306
  @insert_time = args[:insert_time] if args.key?(:insert_time)
1307
+ @user = args[:user] if args.key?(:user)
1308
+ @target = args[:target] if args.key?(:target)
1309
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
1137
1310
  end
1138
1311
  end
1139
1312
 
@@ -1162,51 +1335,14 @@ module Google
1162
1335
  end
1163
1336
  end
1164
1337
 
1165
- # Machine resources for a version.
1166
- class Resources
1338
+ # Code and application artifacts used to deploy a version to App Engine.
1339
+ class Deployment
1167
1340
  include Google::Apis::Core::Hashable
1168
1341
 
1169
- # Number of CPU cores needed.
1170
- # Corresponds to the JSON property `cpu`
1171
- # @return [Float]
1172
- attr_accessor :cpu
1173
-
1174
- # Memory (GB) needed.
1175
- # Corresponds to the JSON property `memoryGb`
1176
- # @return [Float]
1177
- attr_accessor :memory_gb
1178
-
1179
- # User specified volumes.
1180
- # Corresponds to the JSON property `volumes`
1181
- # @return [Array<Google::Apis::AppengineV1::Volume>]
1182
- attr_accessor :volumes
1183
-
1184
- # Disk size (GB) needed.
1185
- # Corresponds to the JSON property `diskGb`
1186
- # @return [Float]
1187
- attr_accessor :disk_gb
1188
-
1189
- def initialize(**args)
1190
- update!(**args)
1191
- end
1192
-
1193
- # Update properties of this object
1194
- def update!(**args)
1195
- @cpu = args[:cpu] if args.key?(:cpu)
1196
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1197
- @volumes = args[:volumes] if args.key?(:volumes)
1198
- @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
1199
- end
1200
- end
1201
-
1202
- # Code and application artifacts used to deploy a version to App Engine.
1203
- class Deployment
1204
- include Google::Apis::Core::Hashable
1205
-
1206
- # The zip file information for a zip deployment.
1207
- # Corresponds to the JSON property `zip`
1208
- # @return [Google::Apis::AppengineV1::ZipInfo]
1209
- attr_accessor :zip
1342
+ # The zip file information for a zip deployment.
1343
+ # Corresponds to the JSON property `zip`
1344
+ # @return [Google::Apis::AppengineV1::ZipInfo]
1345
+ attr_accessor :zip
1210
1346
 
1211
1347
  # Docker image that is used to create a container and start a VM instance for
1212
1348
  # the version that you deploy. Only applicable for instances running in the App
@@ -1234,10 +1370,52 @@ module Google
1234
1370
  end
1235
1371
  end
1236
1372
 
1373
+ # Machine resources for a version.
1374
+ class Resources
1375
+ include Google::Apis::Core::Hashable
1376
+
1377
+ # User specified volumes.
1378
+ # Corresponds to the JSON property `volumes`
1379
+ # @return [Array<Google::Apis::AppengineV1::Volume>]
1380
+ attr_accessor :volumes
1381
+
1382
+ # Disk size (GB) needed.
1383
+ # Corresponds to the JSON property `diskGb`
1384
+ # @return [Float]
1385
+ attr_accessor :disk_gb
1386
+
1387
+ # Number of CPU cores needed.
1388
+ # Corresponds to the JSON property `cpu`
1389
+ # @return [Float]
1390
+ attr_accessor :cpu
1391
+
1392
+ # Memory (GB) needed.
1393
+ # Corresponds to the JSON property `memoryGb`
1394
+ # @return [Float]
1395
+ attr_accessor :memory_gb
1396
+
1397
+ def initialize(**args)
1398
+ update!(**args)
1399
+ end
1400
+
1401
+ # Update properties of this object
1402
+ def update!(**args)
1403
+ @volumes = args[:volumes] if args.key?(:volumes)
1404
+ @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
1405
+ @cpu = args[:cpu] if args.key?(:cpu)
1406
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1407
+ end
1408
+ end
1409
+
1237
1410
  # Volumes mounted within the app container. Only applicable for VM runtimes.
1238
1411
  class Volume
1239
1412
  include Google::Apis::Core::Hashable
1240
1413
 
1414
+ # Unique name for the volume.
1415
+ # Corresponds to the JSON property `name`
1416
+ # @return [String]
1417
+ attr_accessor :name
1418
+
1241
1419
  # Underlying volume type, e.g. 'tmpfs'.
1242
1420
  # Corresponds to the JSON property `volumeType`
1243
1421
  # @return [String]
@@ -1248,20 +1426,15 @@ module Google
1248
1426
  # @return [Float]
1249
1427
  attr_accessor :size_gb
1250
1428
 
1251
- # Unique name for the volume.
1252
- # Corresponds to the JSON property `name`
1253
- # @return [String]
1254
- attr_accessor :name
1255
-
1256
1429
  def initialize(**args)
1257
1430
  update!(**args)
1258
1431
  end
1259
1432
 
1260
1433
  # Update properties of this object
1261
1434
  def update!(**args)
1435
+ @name = args[:name] if args.key?(:name)
1262
1436
  @volume_type = args[:volume_type] if args.key?(:volume_type)
1263
1437
  @size_gb = args[:size_gb] if args.key?(:size_gb)
1264
- @name = args[:name] if args.key?(:name)
1265
1438
  end
1266
1439
  end
1267
1440
 
@@ -1294,13 +1467,6 @@ module Google
1294
1467
  class UrlDispatchRule
1295
1468
  include Google::Apis::Core::Hashable
1296
1469
 
1297
- # Pathname within the host. Must start with a "/". A single "*" can be included
1298
- # at the end of the path.The sum of the lengths of the domain and path may not
1299
- # exceed 100 characters.
1300
- # Corresponds to the JSON property `path`
1301
- # @return [String]
1302
- attr_accessor :path
1303
-
1304
1470
  # Domain name to match against. The wildcard "*" is supported if specified
1305
1471
  # before a period: "*.".Defaults to matching all domains: "*".
1306
1472
  # Corresponds to the JSON property `domain`
@@ -1313,15 +1479,22 @@ module Google
1313
1479
  # @return [String]
1314
1480
  attr_accessor :service
1315
1481
 
1482
+ # Pathname within the host. Must start with a "/". A single "*" can be included
1483
+ # at the end of the path.The sum of the lengths of the domain and path may not
1484
+ # exceed 100 characters.
1485
+ # Corresponds to the JSON property `path`
1486
+ # @return [String]
1487
+ attr_accessor :path
1488
+
1316
1489
  def initialize(**args)
1317
1490
  update!(**args)
1318
1491
  end
1319
1492
 
1320
1493
  # Update properties of this object
1321
1494
  def update!(**args)
1322
- @path = args[:path] if args.key?(:path)
1323
1495
  @domain = args[:domain] if args.key?(:domain)
1324
1496
  @service = args[:service] if args.key?(:service)
1497
+ @path = args[:path] if args.key?(:path)
1325
1498
  end
1326
1499
  end
1327
1500
 
@@ -1402,17 +1575,6 @@ module Google
1402
1575
  class AutomaticScaling
1403
1576
  include Google::Apis::Core::Hashable
1404
1577
 
1405
- # Target scaling by disk usage. Only applicable for VM runtimes.
1406
- # Corresponds to the JSON property `diskUtilization`
1407
- # @return [Google::Apis::AppengineV1::DiskUtilization]
1408
- attr_accessor :disk_utilization
1409
-
1410
- # Minimum amount of time a request should wait in the pending queue before
1411
- # starting a new instance to handle it.
1412
- # Corresponds to the JSON property `minPendingLatency`
1413
- # @return [String]
1414
- attr_accessor :min_pending_latency
1415
-
1416
1578
  # Target scaling by request utilization. Only applicable for VM runtimes.
1417
1579
  # Corresponds to the JSON property `requestUtilization`
1418
1580
  # @return [Google::Apis::AppengineV1::RequestUtilization]
@@ -1468,14 +1630,23 @@ module Google
1468
1630
  # @return [Google::Apis::AppengineV1::CpuUtilization]
1469
1631
  attr_accessor :cpu_utilization
1470
1632
 
1633
+ # Target scaling by disk usage. Only applicable for VM runtimes.
1634
+ # Corresponds to the JSON property `diskUtilization`
1635
+ # @return [Google::Apis::AppengineV1::DiskUtilization]
1636
+ attr_accessor :disk_utilization
1637
+
1638
+ # Minimum amount of time a request should wait in the pending queue before
1639
+ # starting a new instance to handle it.
1640
+ # Corresponds to the JSON property `minPendingLatency`
1641
+ # @return [String]
1642
+ attr_accessor :min_pending_latency
1643
+
1471
1644
  def initialize(**args)
1472
1645
  update!(**args)
1473
1646
  end
1474
1647
 
1475
1648
  # Update properties of this object
1476
1649
  def update!(**args)
1477
- @disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
1478
- @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
1479
1650
  @request_utilization = args[:request_utilization] if args.key?(:request_utilization)
1480
1651
  @max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
1481
1652
  @min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
@@ -1486,6 +1657,8 @@ module Google
1486
1657
  @cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
1487
1658
  @max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency)
1488
1659
  @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
1660
+ @disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
1661
+ @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
1489
1662
  end
1490
1663
  end
1491
1664
 
@@ -1493,24 +1666,24 @@ module Google
1493
1666
  class Library
1494
1667
  include Google::Apis::Core::Hashable
1495
1668
 
1496
- # Version of the library to select, or "latest".
1497
- # Corresponds to the JSON property `version`
1498
- # @return [String]
1499
- attr_accessor :version
1500
-
1501
1669
  # Name of the library. Example: "django".
1502
1670
  # Corresponds to the JSON property `name`
1503
1671
  # @return [String]
1504
1672
  attr_accessor :name
1505
1673
 
1674
+ # Version of the library to select, or "latest".
1675
+ # Corresponds to the JSON property `version`
1676
+ # @return [String]
1677
+ attr_accessor :version
1678
+
1506
1679
  def initialize(**args)
1507
1680
  update!(**args)
1508
1681
  end
1509
1682
 
1510
1683
  # Update properties of this object
1511
1684
  def update!(**args)
1512
- @version = args[:version] if args.key?(:version)
1513
1685
  @name = args[:name] if args.key?(:name)
1686
+ @version = args[:version] if args.key?(:version)
1514
1687
  end
1515
1688
  end
1516
1689
 
@@ -1587,53 +1760,12 @@ module Google
1587
1760
  end
1588
1761
  end
1589
1762
 
1590
- # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
1591
- # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
1592
- # via an NGINX proxy.The fields here refer to the name and configuration id of a
1593
- # "service" resource in the Service Management API (https://cloud.google.com/
1594
- # service-management/overview).
1595
- class EndpointsApiService
1596
- include Google::Apis::Core::Hashable
1597
-
1598
- # Endpoints service name which is the name of the "service" resource in the
1599
- # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
1600
- # Corresponds to the JSON property `name`
1601
- # @return [String]
1602
- attr_accessor :name
1603
-
1604
- # Endpoints service configuration id as specified by the Service Management API.
1605
- # For example "2016-09-19r1"
1606
- # Corresponds to the JSON property `configId`
1607
- # @return [String]
1608
- attr_accessor :config_id
1609
-
1610
- def initialize(**args)
1611
- update!(**args)
1612
- end
1613
-
1614
- # Update properties of this object
1615
- def update!(**args)
1616
- @name = args[:name] if args.key?(:name)
1617
- @config_id = args[:config_id] if args.key?(:config_id)
1618
- end
1619
- end
1620
-
1621
1763
  # URL pattern and description of how the URL should be handled. App Engine can
1622
1764
  # handle URLs by executing application code or by serving static files uploaded
1623
1765
  # with the version, such as images, CSS, or JavaScript.
1624
1766
  class UrlMap
1625
1767
  include Google::Apis::Core::Hashable
1626
1768
 
1627
- # Level of login required to access this resource.
1628
- # Corresponds to the JSON property `login`
1629
- # @return [String]
1630
- attr_accessor :login
1631
-
1632
- # Uses Google Cloud Endpoints to handle requests.
1633
- # Corresponds to the JSON property `apiEndpoint`
1634
- # @return [Google::Apis::AppengineV1::ApiEndpointHandler]
1635
- attr_accessor :api_endpoint
1636
-
1637
1769
  # Files served directly to the user for a given URL, such as images, CSS
1638
1770
  # stylesheets, or JavaScript source files. Static file handlers describe which
1639
1771
  # files in the application directory are static files, and which URLs serve them.
@@ -1671,53 +1803,52 @@ module Google
1671
1803
  # @return [String]
1672
1804
  attr_accessor :url_regex
1673
1805
 
1806
+ # Level of login required to access this resource.
1807
+ # Corresponds to the JSON property `login`
1808
+ # @return [String]
1809
+ attr_accessor :login
1810
+
1811
+ # Uses Google Cloud Endpoints to handle requests.
1812
+ # Corresponds to the JSON property `apiEndpoint`
1813
+ # @return [Google::Apis::AppengineV1::ApiEndpointHandler]
1814
+ attr_accessor :api_endpoint
1815
+
1674
1816
  def initialize(**args)
1675
1817
  update!(**args)
1676
1818
  end
1677
1819
 
1678
1820
  # Update properties of this object
1679
1821
  def update!(**args)
1680
- @login = args[:login] if args.key?(:login)
1681
- @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
1682
1822
  @static_files = args[:static_files] if args.key?(:static_files)
1683
1823
  @redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
1684
1824
  @security_level = args[:security_level] if args.key?(:security_level)
1685
1825
  @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
1686
1826
  @script = args[:script] if args.key?(:script)
1687
1827
  @url_regex = args[:url_regex] if args.key?(:url_regex)
1828
+ @login = args[:login] if args.key?(:login)
1829
+ @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
1688
1830
  end
1689
1831
  end
1690
1832
 
1691
- # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
1692
- # endpoints/) configuration for API handlers.
1693
- class ApiConfigHandler
1833
+ # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
1834
+ # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
1835
+ # via an NGINX proxy.The fields here refer to the name and configuration id of a
1836
+ # "service" resource in the Service Management API (https://cloud.google.com/
1837
+ # service-management/overview).
1838
+ class EndpointsApiService
1694
1839
  include Google::Apis::Core::Hashable
1695
1840
 
1696
- # Level of login required to access this resource. Defaults to optional.
1697
- # Corresponds to the JSON property `login`
1698
- # @return [String]
1699
- attr_accessor :login
1700
-
1701
- # URL to serve the endpoint at.
1702
- # Corresponds to the JSON property `url`
1703
- # @return [String]
1704
- attr_accessor :url
1705
-
1706
- # Security (HTTPS) enforcement for this URL.
1707
- # Corresponds to the JSON property `securityLevel`
1708
- # @return [String]
1709
- attr_accessor :security_level
1710
-
1711
- # Action to take when users access resources that require authentication.
1712
- # Defaults to redirect.
1713
- # Corresponds to the JSON property `authFailAction`
1841
+ # Endpoints service name which is the name of the "service" resource in the
1842
+ # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
1843
+ # Corresponds to the JSON property `name`
1714
1844
  # @return [String]
1715
- attr_accessor :auth_fail_action
1845
+ attr_accessor :name
1716
1846
 
1717
- # Path to the script from the application root directory.
1718
- # Corresponds to the JSON property `script`
1847
+ # Endpoints service configuration id as specified by the Service Management API.
1848
+ # For example "2016-09-19r1"
1849
+ # Corresponds to the JSON property `configId`
1719
1850
  # @return [String]
1720
- attr_accessor :script
1851
+ attr_accessor :config_id
1721
1852
 
1722
1853
  def initialize(**args)
1723
1854
  update!(**args)
@@ -1725,11 +1856,8 @@ module Google
1725
1856
 
1726
1857
  # Update properties of this object
1727
1858
  def update!(**args)
1728
- @login = args[:login] if args.key?(:login)
1729
- @url = args[:url] if args.key?(:url)
1730
- @security_level = args[:security_level] if args.key?(:security_level)
1731
- @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
1732
- @script = args[:script] if args.key?(:script)
1859
+ @name = args[:name] if args.key?(:name)
1860
+ @config_id = args[:config_id] if args.key?(:config_id)
1733
1861
  end
1734
1862
  end
1735
1863
 
@@ -1738,24 +1866,6 @@ module Google
1738
1866
  class Operation
1739
1867
  include Google::Apis::Core::Hashable
1740
1868
 
1741
- # If the value is false, it means the operation is still in progress. If true,
1742
- # the operation is completed, and either error or response is available.
1743
- # Corresponds to the JSON property `done`
1744
- # @return [Boolean]
1745
- attr_accessor :done
1746
- alias_method :done?, :done
1747
-
1748
- # The normal response of the operation in case of success. If the original
1749
- # method returns no data on success, such as Delete, the response is google.
1750
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
1751
- # response should be the resource. For other methods, the response should have
1752
- # the type XxxResponse, where Xxx is the original method name. For example, if
1753
- # the original method name is TakeSnapshot(), the inferred response type is
1754
- # TakeSnapshotResponse.
1755
- # Corresponds to the JSON property `response`
1756
- # @return [Hash<String,Object>]
1757
- attr_accessor :response
1758
-
1759
1869
  # The server-assigned name, which is only unique within the same service that
1760
1870
  # originally returns it. If you use the default HTTP mapping, the name should
1761
1871
  # have the format of operations/some/unique/name.
@@ -1809,17 +1919,80 @@ module Google
1809
1919
  # @return [Hash<String,Object>]
1810
1920
  attr_accessor :metadata
1811
1921
 
1922
+ # If the value is false, it means the operation is still in progress. If true,
1923
+ # the operation is completed, and either error or response is available.
1924
+ # Corresponds to the JSON property `done`
1925
+ # @return [Boolean]
1926
+ attr_accessor :done
1927
+ alias_method :done?, :done
1928
+
1929
+ # The normal response of the operation in case of success. If the original
1930
+ # method returns no data on success, such as Delete, the response is google.
1931
+ # protobuf.Empty. If the original method is standard Get/Create/Update, the
1932
+ # response should be the resource. For other methods, the response should have
1933
+ # the type XxxResponse, where Xxx is the original method name. For example, if
1934
+ # the original method name is TakeSnapshot(), the inferred response type is
1935
+ # TakeSnapshotResponse.
1936
+ # Corresponds to the JSON property `response`
1937
+ # @return [Hash<String,Object>]
1938
+ attr_accessor :response
1939
+
1812
1940
  def initialize(**args)
1813
1941
  update!(**args)
1814
1942
  end
1815
1943
 
1816
1944
  # Update properties of this object
1817
1945
  def update!(**args)
1818
- @done = args[:done] if args.key?(:done)
1819
- @response = args[:response] if args.key?(:response)
1820
1946
  @name = args[:name] if args.key?(:name)
1821
1947
  @error = args[:error] if args.key?(:error)
1822
1948
  @metadata = args[:metadata] if args.key?(:metadata)
1949
+ @done = args[:done] if args.key?(:done)
1950
+ @response = args[:response] if args.key?(:response)
1951
+ end
1952
+ end
1953
+
1954
+ # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
1955
+ # endpoints/) configuration for API handlers.
1956
+ class ApiConfigHandler
1957
+ include Google::Apis::Core::Hashable
1958
+
1959
+ # URL to serve the endpoint at.
1960
+ # Corresponds to the JSON property `url`
1961
+ # @return [String]
1962
+ attr_accessor :url
1963
+
1964
+ # Security (HTTPS) enforcement for this URL.
1965
+ # Corresponds to the JSON property `securityLevel`
1966
+ # @return [String]
1967
+ attr_accessor :security_level
1968
+
1969
+ # Action to take when users access resources that require authentication.
1970
+ # Defaults to redirect.
1971
+ # Corresponds to the JSON property `authFailAction`
1972
+ # @return [String]
1973
+ attr_accessor :auth_fail_action
1974
+
1975
+ # Path to the script from the application root directory.
1976
+ # Corresponds to the JSON property `script`
1977
+ # @return [String]
1978
+ attr_accessor :script
1979
+
1980
+ # Level of login required to access this resource. Defaults to optional.
1981
+ # Corresponds to the JSON property `login`
1982
+ # @return [String]
1983
+ attr_accessor :login
1984
+
1985
+ def initialize(**args)
1986
+ update!(**args)
1987
+ end
1988
+
1989
+ # Update properties of this object
1990
+ def update!(**args)
1991
+ @url = args[:url] if args.key?(:url)
1992
+ @security_level = args[:security_level] if args.key?(:security_level)
1993
+ @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
1994
+ @script = args[:script] if args.key?(:script)
1995
+ @login = args[:login] if args.key?(:login)
1823
1996
  end
1824
1997
  end
1825
1998
 
@@ -1829,6 +2002,13 @@ module Google
1829
2002
  class StaticFilesHandler
1830
2003
  include Google::Apis::Core::Hashable
1831
2004
 
2005
+ # Whether this handler should match the request if the file referenced by the
2006
+ # handler does not exist.
2007
+ # Corresponds to the JSON property `requireMatchingFile`
2008
+ # @return [Boolean]
2009
+ attr_accessor :require_matching_file
2010
+ alias_method :require_matching_file?, :require_matching_file
2011
+
1832
2012
  # Time a static file served by this handler should be cached by web proxies and
1833
2013
  # browsers.
1834
2014
  # Corresponds to the JSON property `expiration`
@@ -1867,26 +2047,19 @@ module Google
1867
2047
  # @return [String]
1868
2048
  attr_accessor :mime_type
1869
2049
 
1870
- # Whether this handler should match the request if the file referenced by the
1871
- # handler does not exist.
1872
- # Corresponds to the JSON property `requireMatchingFile`
1873
- # @return [Boolean]
1874
- attr_accessor :require_matching_file
1875
- alias_method :require_matching_file?, :require_matching_file
1876
-
1877
2050
  def initialize(**args)
1878
2051
  update!(**args)
1879
2052
  end
1880
2053
 
1881
2054
  # Update properties of this object
1882
2055
  def update!(**args)
2056
+ @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
1883
2057
  @expiration = args[:expiration] if args.key?(:expiration)
1884
2058
  @application_readable = args[:application_readable] if args.key?(:application_readable)
1885
2059
  @http_headers = args[:http_headers] if args.key?(:http_headers)
1886
2060
  @upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
1887
2061
  @path = args[:path] if args.key?(:path)
1888
2062
  @mime_type = args[:mime_type] if args.key?(:mime_type)
1889
- @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
1890
2063
  end
1891
2064
  end
1892
2065
 
@@ -1960,24 +2133,66 @@ module Google
1960
2133
  class CpuUtilization
1961
2134
  include Google::Apis::Core::Hashable
1962
2135
 
1963
- # Period of time over which CPU utilization is calculated.
1964
- # Corresponds to the JSON property `aggregationWindowLength`
1965
- # @return [String]
1966
- attr_accessor :aggregation_window_length
1967
-
1968
2136
  # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
1969
2137
  # Corresponds to the JSON property `targetUtilization`
1970
2138
  # @return [Float]
1971
2139
  attr_accessor :target_utilization
1972
2140
 
2141
+ # Period of time over which CPU utilization is calculated.
2142
+ # Corresponds to the JSON property `aggregationWindowLength`
2143
+ # @return [String]
2144
+ attr_accessor :aggregation_window_length
2145
+
1973
2146
  def initialize(**args)
1974
2147
  update!(**args)
1975
2148
  end
1976
2149
 
1977
2150
  # Update properties of this object
1978
2151
  def update!(**args)
1979
- @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
1980
2152
  @target_utilization = args[:target_utilization] if args.key?(:target_utilization)
2153
+ @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
2154
+ end
2155
+ end
2156
+
2157
+ # Identity-Aware Proxy
2158
+ class IdentityAwareProxy
2159
+ include Google::Apis::Core::Hashable
2160
+
2161
+ # OAuth2 client secret to use for the authentication flow.For security reasons,
2162
+ # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
2163
+ # value is returned in the oauth2_client_secret_sha256 field.@InputOnly
2164
+ # Corresponds to the JSON property `oauth2ClientSecret`
2165
+ # @return [String]
2166
+ attr_accessor :oauth2_client_secret
2167
+
2168
+ # OAuth2 client ID to use for the authentication flow.
2169
+ # Corresponds to the JSON property `oauth2ClientId`
2170
+ # @return [String]
2171
+ attr_accessor :oauth2_client_id
2172
+
2173
+ # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
2174
+ # Corresponds to the JSON property `oauth2ClientSecretSha256`
2175
+ # @return [String]
2176
+ attr_accessor :oauth2_client_secret_sha256
2177
+
2178
+ # Whether the serving infrastructure will authenticate and authorize all
2179
+ # incoming requests.If true, the oauth2_client_id and oauth2_client_secret
2180
+ # fields must be non-empty.
2181
+ # Corresponds to the JSON property `enabled`
2182
+ # @return [Boolean]
2183
+ attr_accessor :enabled
2184
+ alias_method :enabled?, :enabled
2185
+
2186
+ def initialize(**args)
2187
+ update!(**args)
2188
+ end
2189
+
2190
+ # Update properties of this object
2191
+ def update!(**args)
2192
+ @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
2193
+ @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
2194
+ @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
2195
+ @enabled = args[:enabled] if args.key?(:enabled)
1981
2196
  end
1982
2197
  end
1983
2198
 
@@ -2018,11 +2233,6 @@ module Google
2018
2233
  class Status
2019
2234
  include Google::Apis::Core::Hashable
2020
2235
 
2021
- # The status code, which should be an enum value of google.rpc.Code.
2022
- # Corresponds to the JSON property `code`
2023
- # @return [Fixnum]
2024
- attr_accessor :code
2025
-
2026
2236
  # A developer-facing error message, which should be in English. Any user-facing
2027
2237
  # error message should be localized and sent in the google.rpc.Status.details
2028
2238
  # field, or localized by the client.
@@ -2036,209 +2246,10 @@ module Google
2036
2246
  # @return [Array<Hash<String,Object>>]
2037
2247
  attr_accessor :details
2038
2248
 
2039
- def initialize(**args)
2040
- update!(**args)
2041
- end
2042
-
2043
- # Update properties of this object
2044
- def update!(**args)
2045
- @code = args[:code] if args.key?(:code)
2046
- @message = args[:message] if args.key?(:message)
2047
- @details = args[:details] if args.key?(:details)
2048
- end
2049
- end
2050
-
2051
- # Identity-Aware Proxy
2052
- class IdentityAwareProxy
2053
- include Google::Apis::Core::Hashable
2054
-
2055
- # OAuth2 client secret to use for the authentication flow.For security reasons,
2056
- # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
2057
- # value is returned in the oauth2_client_secret_sha256 field.@InputOnly
2058
- # Corresponds to the JSON property `oauth2ClientSecret`
2059
- # @return [String]
2060
- attr_accessor :oauth2_client_secret
2061
-
2062
- # OAuth2 client ID to use for the authentication flow.
2063
- # Corresponds to the JSON property `oauth2ClientId`
2064
- # @return [String]
2065
- attr_accessor :oauth2_client_id
2066
-
2067
- # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
2068
- # Corresponds to the JSON property `oauth2ClientSecretSha256`
2069
- # @return [String]
2070
- attr_accessor :oauth2_client_secret_sha256
2071
-
2072
- # Whether the serving infrastructure will authenticate and authorize all
2073
- # incoming requests.If true, the oauth2_client_id and oauth2_client_secret
2074
- # fields must be non-empty.
2075
- # Corresponds to the JSON property `enabled`
2076
- # @return [Boolean]
2077
- attr_accessor :enabled
2078
- alias_method :enabled?, :enabled
2079
-
2080
- def initialize(**args)
2081
- update!(**args)
2082
- end
2083
-
2084
- # Update properties of this object
2085
- def update!(**args)
2086
- @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
2087
- @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
2088
- @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
2089
- @enabled = args[:enabled] if args.key?(:enabled)
2090
- end
2091
- end
2092
-
2093
- # A service with manual scaling runs continuously, allowing you to perform
2094
- # complex initialization and rely on the state of its memory over time.
2095
- class ManualScaling
2096
- include Google::Apis::Core::Hashable
2097
-
2098
- # Number of instances to assign to the service at the start. This number can
2099
- # later be altered by using the Modules API (https://cloud.google.com/appengine/
2100
- # docs/python/modules/functions) set_num_instances() function.
2101
- # Corresponds to the JSON property `instances`
2249
+ # The status code, which should be an enum value of google.rpc.Code.
2250
+ # Corresponds to the JSON property `code`
2102
2251
  # @return [Fixnum]
2103
- attr_accessor :instances
2104
-
2105
- def initialize(**args)
2106
- update!(**args)
2107
- end
2108
-
2109
- # Update properties of this object
2110
- def update!(**args)
2111
- @instances = args[:instances] if args.key?(:instances)
2112
- end
2113
- end
2114
-
2115
- # Metadata for the given google.cloud.location.Location.
2116
- class LocationMetadata
2117
- include Google::Apis::Core::Hashable
2118
-
2119
- # App Engine Standard Environment is available in the given location.@OutputOnly
2120
- # Corresponds to the JSON property `standardEnvironmentAvailable`
2121
- # @return [Boolean]
2122
- attr_accessor :standard_environment_available
2123
- alias_method :standard_environment_available?, :standard_environment_available
2124
-
2125
- # App Engine Flexible Environment is available in the given location.@OutputOnly
2126
- # Corresponds to the JSON property `flexibleEnvironmentAvailable`
2127
- # @return [Boolean]
2128
- attr_accessor :flexible_environment_available
2129
- alias_method :flexible_environment_available?, :flexible_environment_available
2130
-
2131
- def initialize(**args)
2132
- update!(**args)
2133
- end
2134
-
2135
- # Update properties of this object
2136
- def update!(**args)
2137
- @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
2138
- @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
2139
- end
2140
- end
2141
-
2142
- # A Service resource is a logical component of an application that can share
2143
- # state and communicate in a secure fashion with other services. For example, an
2144
- # application that handles customer requests might include separate services to
2145
- # handle tasks such as backend data analysis or API requests from mobile devices.
2146
- # Each service has a collection of versions that define a specific set of code
2147
- # used to implement the functionality of that service.
2148
- class Service
2149
- include Google::Apis::Core::Hashable
2150
-
2151
- # Relative name of the service within the application. Example: default.@
2152
- # OutputOnly
2153
- # Corresponds to the JSON property `id`
2154
- # @return [String]
2155
- attr_accessor :id
2156
-
2157
- # Full path to the Service resource in the API. Example: apps/myapp/services/
2158
- # default.@OutputOnly
2159
- # Corresponds to the JSON property `name`
2160
- # @return [String]
2161
- attr_accessor :name
2162
-
2163
- # Traffic routing configuration for versions within a single service. Traffic
2164
- # splits define how traffic directed to the service is assigned to versions.
2165
- # Corresponds to the JSON property `split`
2166
- # @return [Google::Apis::AppengineV1::TrafficSplit]
2167
- attr_accessor :split
2168
-
2169
- def initialize(**args)
2170
- update!(**args)
2171
- end
2172
-
2173
- # Update properties of this object
2174
- def update!(**args)
2175
- @id = args[:id] if args.key?(:id)
2176
- @name = args[:name] if args.key?(:name)
2177
- @split = args[:split] if args.key?(:split)
2178
- end
2179
- end
2180
-
2181
- # The response message for Operations.ListOperations.
2182
- class ListOperationsResponse
2183
- include Google::Apis::Core::Hashable
2184
-
2185
- # The standard List next-page token.
2186
- # Corresponds to the JSON property `nextPageToken`
2187
- # @return [String]
2188
- attr_accessor :next_page_token
2189
-
2190
- # A list of operations that matches the specified filter in the request.
2191
- # Corresponds to the JSON property `operations`
2192
- # @return [Array<Google::Apis::AppengineV1::Operation>]
2193
- attr_accessor :operations
2194
-
2195
- def initialize(**args)
2196
- update!(**args)
2197
- end
2198
-
2199
- # Update properties of this object
2200
- def update!(**args)
2201
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2202
- @operations = args[:operations] if args.key?(:operations)
2203
- end
2204
- end
2205
-
2206
- # Metadata for the given google.longrunning.Operation.
2207
- class OperationMetadata
2208
- include Google::Apis::Core::Hashable
2209
-
2210
- # Timestamp that this operation was created.@OutputOnly
2211
- # Corresponds to the JSON property `insertTime`
2212
- # @return [String]
2213
- attr_accessor :insert_time
2214
-
2215
- # Name of the resource that this operation is acting on. Example: apps/myapp/
2216
- # modules/default.@OutputOnly
2217
- # Corresponds to the JSON property `target`
2218
- # @return [String]
2219
- attr_accessor :target
2220
-
2221
- # User who requested this operation.@OutputOnly
2222
- # Corresponds to the JSON property `user`
2223
- # @return [String]
2224
- attr_accessor :user
2225
-
2226
- # API method that initiated this operation. Example: google.appengine.v1beta4.
2227
- # Version.CreateVersion.@OutputOnly
2228
- # Corresponds to the JSON property `method`
2229
- # @return [String]
2230
- attr_accessor :method_prop
2231
-
2232
- # Timestamp that this operation completed.@OutputOnly
2233
- # Corresponds to the JSON property `endTime`
2234
- # @return [String]
2235
- attr_accessor :end_time
2236
-
2237
- # Type of this operation. Deprecated, use method field instead. Example: "
2238
- # create_version".@OutputOnly
2239
- # Corresponds to the JSON property `operationType`
2240
- # @return [String]
2241
- attr_accessor :operation_type
2252
+ attr_accessor :code
2242
2253
 
2243
2254
  def initialize(**args)
2244
2255
  update!(**args)
@@ -2246,12 +2257,9 @@ module Google
2246
2257
 
2247
2258
  # Update properties of this object
2248
2259
  def update!(**args)
2249
- @insert_time = args[:insert_time] if args.key?(:insert_time)
2250
- @target = args[:target] if args.key?(:target)
2251
- @user = args[:user] if args.key?(:user)
2252
- @method_prop = args[:method_prop] if args.key?(:method_prop)
2253
- @end_time = args[:end_time] if args.key?(:end_time)
2254
- @operation_type = args[:operation_type] if args.key?(:operation_type)
2260
+ @message = args[:message] if args.key?(:message)
2261
+ @details = args[:details] if args.key?(:details)
2262
+ @code = args[:code] if args.key?(:code)
2255
2263
  end
2256
2264
  end
2257
2265
  end