google-api-client 0.13.2 → 0.13.3

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