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_v1beta/service.rb'
16
+ require 'google/apis/appengine_v1beta/classes.rb'
17
+ require 'google/apis/appengine_v1beta/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 AppengineV1beta
28
+ VERSION = 'V1beta'
29
+ REVISION = '20170818'
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,2876 @@
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 AppengineV1beta
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. Next tag: 20
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 this 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 service or version. Rules are order-dependent. Up to 20
125
+ # dispatch rules can be supported.@OutputOnly
126
+ # Corresponds to the JSON property `dispatchRules`
127
+ # @return [Array<Google::Apis::AppengineV1beta::UrlDispatchRule>]
128
+ attr_accessor :dispatch_rules
129
+
130
+ # The feature specific settings to be used in the application. These define
131
+ # behaviors that are user configurable.
132
+ # Corresponds to the JSON property `featureSettings`
133
+ # @return [Google::Apis::AppengineV1beta::FeatureSettings]
134
+ attr_accessor :feature_settings
135
+
136
+ # The Google Container Registry domain used for storing managed build docker
137
+ # images for this application.
138
+ # Corresponds to the JSON property `gcrDomain`
139
+ # @return [String]
140
+ attr_accessor :gcr_domain
141
+
142
+ # Identity-Aware Proxy
143
+ # Corresponds to the JSON property `iap`
144
+ # @return [Google::Apis::AppengineV1beta::IdentityAwareProxy]
145
+ attr_accessor :iap
146
+
147
+ # Identifier of the Application resource. This identifier is equivalent to the
148
+ # project ID of the Google Cloud Platform project where you want to deploy your
149
+ # application. Example: myapp.
150
+ # Corresponds to the JSON property `id`
151
+ # @return [String]
152
+ attr_accessor :id
153
+
154
+ # Location from which this application will be run. Application instances will
155
+ # run out of data centers in the chosen location, which is also where all of the
156
+ # application's end user content is stored.Defaults to us-central.Options are:us-
157
+ # central - Central USeurope-west - Western Europeus-east1 - Eastern US
158
+ # Corresponds to the JSON property `locationId`
159
+ # @return [String]
160
+ attr_accessor :location_id
161
+
162
+ # Full path to the Application resource in the API. Example: apps/myapp.@
163
+ # OutputOnly
164
+ # Corresponds to the JSON property `name`
165
+ # @return [String]
166
+ attr_accessor :name
167
+
168
+ # Serving status of this application.
169
+ # Corresponds to the JSON property `servingStatus`
170
+ # @return [String]
171
+ attr_accessor :serving_status
172
+
173
+ def initialize(**args)
174
+ update!(**args)
175
+ end
176
+
177
+ # Update properties of this object
178
+ def update!(**args)
179
+ @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
180
+ @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
181
+ @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
182
+ @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
183
+ @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
184
+ @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
185
+ @feature_settings = args[:feature_settings] if args.key?(:feature_settings)
186
+ @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
187
+ @iap = args[:iap] if args.key?(:iap)
188
+ @id = args[:id] if args.key?(:id)
189
+ @location_id = args[:location_id] if args.key?(:location_id)
190
+ @name = args[:name] if args.key?(:name)
191
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
192
+ end
193
+ end
194
+
195
+ # An SSL certificate that a user has been authorized to administer. A user is
196
+ # authorized to administer any certificate that applies to one of their
197
+ # authorized domains.
198
+ class AuthorizedCertificate
199
+ include Google::Apis::Core::Hashable
200
+
201
+ # An SSL certificate obtained from a certificate authority.
202
+ # Corresponds to the JSON property `certificateRawData`
203
+ # @return [Google::Apis::AppengineV1beta::CertificateRawData]
204
+ attr_accessor :certificate_raw_data
205
+
206
+ # The user-specified display name of the certificate. This is not guaranteed to
207
+ # be unique. Example: My Certificate.
208
+ # Corresponds to the JSON property `displayName`
209
+ # @return [String]
210
+ attr_accessor :display_name
211
+
212
+ # Aggregate count of the domain mappings with this certificate mapped. This
213
+ # count includes domain mappings on applications for which the user does not
214
+ # have VIEWER permissions.Only returned by GET or LIST requests when
215
+ # specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
216
+ # Corresponds to the JSON property `domainMappingsCount`
217
+ # @return [Fixnum]
218
+ attr_accessor :domain_mappings_count
219
+
220
+ # Topmost applicable domains of this certificate. This certificate applies to
221
+ # these domains and their subdomains. Example: example.com.@OutputOnly
222
+ # Corresponds to the JSON property `domainNames`
223
+ # @return [Array<String>]
224
+ attr_accessor :domain_names
225
+
226
+ # The time when this certificate expires. To update the renewal time on this
227
+ # certificate, upload an SSL certificate with a different expiration time using
228
+ # AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
229
+ # Corresponds to the JSON property `expireTime`
230
+ # @return [String]
231
+ attr_accessor :expire_time
232
+
233
+ # Relative name of the certificate. This is a unique value autogenerated on
234
+ # AuthorizedCertificate resource creation. Example: 12345.@OutputOnly
235
+ # Corresponds to the JSON property `id`
236
+ # @return [String]
237
+ attr_accessor :id
238
+
239
+ # Full path to the AuthorizedCertificate resource in the API. Example: apps/
240
+ # myapp/authorizedCertificates/12345.@OutputOnly
241
+ # Corresponds to the JSON property `name`
242
+ # @return [String]
243
+ attr_accessor :name
244
+
245
+ # The full paths to user visible Domain Mapping resources that have this
246
+ # certificate mapped. Example: apps/myapp/domainMappings/example.com.This may
247
+ # not represent the full list of mapped domain mappings if the user does not
248
+ # have VIEWER permissions on all of the applications that have this certificate
249
+ # mapped. See domain_mappings_count for a complete count.Only returned by GET or
250
+ # LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@
251
+ # OutputOnly
252
+ # Corresponds to the JSON property `visibleDomainMappings`
253
+ # @return [Array<String>]
254
+ attr_accessor :visible_domain_mappings
255
+
256
+ def initialize(**args)
257
+ update!(**args)
258
+ end
259
+
260
+ # Update properties of this object
261
+ def update!(**args)
262
+ @certificate_raw_data = args[:certificate_raw_data] if args.key?(:certificate_raw_data)
263
+ @display_name = args[:display_name] if args.key?(:display_name)
264
+ @domain_mappings_count = args[:domain_mappings_count] if args.key?(:domain_mappings_count)
265
+ @domain_names = args[:domain_names] if args.key?(:domain_names)
266
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
267
+ @id = args[:id] if args.key?(:id)
268
+ @name = args[:name] if args.key?(:name)
269
+ @visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings)
270
+ end
271
+ end
272
+
273
+ # A domain that a user has been authorized to administer. To authorize use of a
274
+ # domain, verify ownership via Webmaster Central (https://www.google.com/
275
+ # webmasters/verification/home).
276
+ class AuthorizedDomain
277
+ include Google::Apis::Core::Hashable
278
+
279
+ # Fully qualified domain name of the domain authorized for use. Example: example.
280
+ # com.
281
+ # Corresponds to the JSON property `id`
282
+ # @return [String]
283
+ attr_accessor :id
284
+
285
+ # Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/
286
+ # authorizedDomains/example.com.@OutputOnly
287
+ # Corresponds to the JSON property `name`
288
+ # @return [String]
289
+ attr_accessor :name
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @id = args[:id] if args.key?(:id)
298
+ @name = args[:name] if args.key?(:name)
299
+ end
300
+ end
301
+
302
+ # Automatic scaling is based on request rate, response latencies, and other
303
+ # application metrics.
304
+ class AutomaticScaling
305
+ include Google::Apis::Core::Hashable
306
+
307
+ # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/
308
+ # autoscaler/) should wait between changes to the number of virtual machines.
309
+ # Only applicable for VM runtimes.
310
+ # Corresponds to the JSON property `coolDownPeriod`
311
+ # @return [String]
312
+ attr_accessor :cool_down_period
313
+
314
+ # Target scaling by CPU usage.
315
+ # Corresponds to the JSON property `cpuUtilization`
316
+ # @return [Google::Apis::AppengineV1beta::CpuUtilization]
317
+ attr_accessor :cpu_utilization
318
+
319
+ # Target scaling by disk usage. Only applicable for VM runtimes.
320
+ # Corresponds to the JSON property `diskUtilization`
321
+ # @return [Google::Apis::AppengineV1beta::DiskUtilization]
322
+ attr_accessor :disk_utilization
323
+
324
+ # Number of concurrent requests an automatic scaling instance can accept before
325
+ # the scheduler spawns a new instance.Defaults to a runtime-specific value.
326
+ # Corresponds to the JSON property `maxConcurrentRequests`
327
+ # @return [Fixnum]
328
+ attr_accessor :max_concurrent_requests
329
+
330
+ # Maximum number of idle instances that should be maintained for this version.
331
+ # Corresponds to the JSON property `maxIdleInstances`
332
+ # @return [Fixnum]
333
+ attr_accessor :max_idle_instances
334
+
335
+ # Maximum amount of time that a request should wait in the pending queue before
336
+ # starting a new instance to handle it.
337
+ # Corresponds to the JSON property `maxPendingLatency`
338
+ # @return [String]
339
+ attr_accessor :max_pending_latency
340
+
341
+ # Maximum number of instances that should be started to handle requests.
342
+ # Corresponds to the JSON property `maxTotalInstances`
343
+ # @return [Fixnum]
344
+ attr_accessor :max_total_instances
345
+
346
+ # Minimum number of idle instances that should be maintained for this version.
347
+ # Only applicable for the default version of a service.
348
+ # Corresponds to the JSON property `minIdleInstances`
349
+ # @return [Fixnum]
350
+ attr_accessor :min_idle_instances
351
+
352
+ # Minimum amount of time a request should wait in the pending queue before
353
+ # starting a new instance to handle it.
354
+ # Corresponds to the JSON property `minPendingLatency`
355
+ # @return [String]
356
+ attr_accessor :min_pending_latency
357
+
358
+ # Minimum number of instances that should be maintained for this version.
359
+ # Corresponds to the JSON property `minTotalInstances`
360
+ # @return [Fixnum]
361
+ attr_accessor :min_total_instances
362
+
363
+ # Target scaling by network usage. Only applicable for VM runtimes.
364
+ # Corresponds to the JSON property `networkUtilization`
365
+ # @return [Google::Apis::AppengineV1beta::NetworkUtilization]
366
+ attr_accessor :network_utilization
367
+
368
+ # Target scaling by request utilization. Only applicable for VM runtimes.
369
+ # Corresponds to the JSON property `requestUtilization`
370
+ # @return [Google::Apis::AppengineV1beta::RequestUtilization]
371
+ attr_accessor :request_utilization
372
+
373
+ # Scheduler settings for standard environment.
374
+ # Corresponds to the JSON property `standardSchedulerSettings`
375
+ # @return [Google::Apis::AppengineV1beta::StandardSchedulerSettings]
376
+ attr_accessor :standard_scheduler_settings
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
385
+ @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
386
+ @disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
387
+ @max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
388
+ @max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
389
+ @max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency)
390
+ @max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
391
+ @min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
392
+ @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
393
+ @min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
394
+ @network_utilization = args[:network_utilization] if args.key?(:network_utilization)
395
+ @request_utilization = args[:request_utilization] if args.key?(:request_utilization)
396
+ @standard_scheduler_settings = args[:standard_scheduler_settings] if args.key?(:standard_scheduler_settings)
397
+ end
398
+ end
399
+
400
+ # A service with basic scaling will create an instance when the application
401
+ # receives a request. The instance will be turned down when the app becomes idle.
402
+ # Basic scaling is ideal for work that is intermittent or driven by user
403
+ # activity.
404
+ class BasicScaling
405
+ include Google::Apis::Core::Hashable
406
+
407
+ # Duration of time after the last request that an instance must wait before the
408
+ # instance is shut down.
409
+ # Corresponds to the JSON property `idleTimeout`
410
+ # @return [String]
411
+ attr_accessor :idle_timeout
412
+
413
+ # Maximum number of instances to create for this version.
414
+ # Corresponds to the JSON property `maxInstances`
415
+ # @return [Fixnum]
416
+ attr_accessor :max_instances
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
425
+ @max_instances = args[:max_instances] if args.key?(:max_instances)
426
+ end
427
+ end
428
+
429
+ # Request message for Firewall.BatchUpdateIngressRules.
430
+ class BatchUpdateIngressRulesRequest
431
+ include Google::Apis::Core::Hashable
432
+
433
+ # A list of FirewallRules to replace the existing set.
434
+ # Corresponds to the JSON property `ingressRules`
435
+ # @return [Array<Google::Apis::AppengineV1beta::FirewallRule>]
436
+ attr_accessor :ingress_rules
437
+
438
+ def initialize(**args)
439
+ update!(**args)
440
+ end
441
+
442
+ # Update properties of this object
443
+ def update!(**args)
444
+ @ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
445
+ end
446
+ end
447
+
448
+ # Response message for Firewall.UpdateAllIngressRules.
449
+ class BatchUpdateIngressRulesResponse
450
+ include Google::Apis::Core::Hashable
451
+
452
+ # The full list of ingress FirewallRules for this application.
453
+ # Corresponds to the JSON property `ingressRules`
454
+ # @return [Array<Google::Apis::AppengineV1beta::FirewallRule>]
455
+ attr_accessor :ingress_rules
456
+
457
+ def initialize(**args)
458
+ update!(**args)
459
+ end
460
+
461
+ # Update properties of this object
462
+ def update!(**args)
463
+ @ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
464
+ end
465
+ end
466
+
467
+ # Google Cloud Container Builder build information.
468
+ class BuildInfo
469
+ include Google::Apis::Core::Hashable
470
+
471
+ # The Google Cloud Container Builder build id. Example: "f966068f-08b2-42c8-bdfe-
472
+ # 74137dff2bf9"
473
+ # Corresponds to the JSON property `cloudBuildId`
474
+ # @return [String]
475
+ attr_accessor :cloud_build_id
476
+
477
+ def initialize(**args)
478
+ update!(**args)
479
+ end
480
+
481
+ # Update properties of this object
482
+ def update!(**args)
483
+ @cloud_build_id = args[:cloud_build_id] if args.key?(:cloud_build_id)
484
+ end
485
+ end
486
+
487
+ # An SSL certificate obtained from a certificate authority.
488
+ class CertificateRawData
489
+ include Google::Apis::Core::Hashable
490
+
491
+ # Unencrypted PEM encoded RSA private key. This field is set once on certificate
492
+ # creation and then encrypted. The key size must be 2048 bits or fewer. Must
493
+ # include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <
494
+ # unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly
495
+ # Corresponds to the JSON property `privateKey`
496
+ # @return [String]
497
+ attr_accessor :private_key
498
+
499
+ # PEM encoded x.509 public key certificate. This field is set once on
500
+ # certificate creation. Must include the header and footer. Example: <pre> -----
501
+ # BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>
502
+ # Corresponds to the JSON property `publicCertificate`
503
+ # @return [String]
504
+ attr_accessor :public_certificate
505
+
506
+ def initialize(**args)
507
+ update!(**args)
508
+ end
509
+
510
+ # Update properties of this object
511
+ def update!(**args)
512
+ @private_key = args[:private_key] if args.key?(:private_key)
513
+ @public_certificate = args[:public_certificate] if args.key?(:public_certificate)
514
+ end
515
+ end
516
+
517
+ # Docker image that is used to create a container and start a VM instance for
518
+ # the version that you deploy. Only applicable for instances running in the App
519
+ # Engine flexible environment.
520
+ class ContainerInfo
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # URI to the hosted container image in Google Container Registry. The URI must
524
+ # be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
525
+ # image:tag" or "gcr.io/my-project/image@digest"
526
+ # Corresponds to the JSON property `image`
527
+ # @return [String]
528
+ attr_accessor :image
529
+
530
+ def initialize(**args)
531
+ update!(**args)
532
+ end
533
+
534
+ # Update properties of this object
535
+ def update!(**args)
536
+ @image = args[:image] if args.key?(:image)
537
+ end
538
+ end
539
+
540
+ # Target scaling by CPU usage.
541
+ class CpuUtilization
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # Period of time over which CPU utilization is calculated.
545
+ # Corresponds to the JSON property `aggregationWindowLength`
546
+ # @return [String]
547
+ attr_accessor :aggregation_window_length
548
+
549
+ # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
550
+ # Corresponds to the JSON property `targetUtilization`
551
+ # @return [Float]
552
+ attr_accessor :target_utilization
553
+
554
+ def initialize(**args)
555
+ update!(**args)
556
+ end
557
+
558
+ # Update properties of this object
559
+ def update!(**args)
560
+ @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
561
+ @target_utilization = args[:target_utilization] if args.key?(:target_utilization)
562
+ end
563
+ end
564
+
565
+ # Request message for Instances.DebugInstance.
566
+ class DebugInstanceRequest
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Public SSH key to add to the instance. Examples:
570
+ # [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
571
+ # [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]","expireOn":"
572
+ # [EXPIRE_TIME]"`For more information, see Adding and Removing SSH Keys (https://
573
+ # cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
574
+ # Corresponds to the JSON property `sshKey`
575
+ # @return [String]
576
+ attr_accessor :ssh_key
577
+
578
+ def initialize(**args)
579
+ update!(**args)
580
+ end
581
+
582
+ # Update properties of this object
583
+ def update!(**args)
584
+ @ssh_key = args[:ssh_key] if args.key?(:ssh_key)
585
+ end
586
+ end
587
+
588
+ # Code and application artifacts used to deploy a version to App Engine.
589
+ class Deployment
590
+ include Google::Apis::Core::Hashable
591
+
592
+ # Google Cloud Container Builder build information.
593
+ # Corresponds to the JSON property `build`
594
+ # @return [Google::Apis::AppengineV1beta::BuildInfo]
595
+ attr_accessor :build
596
+
597
+ # Docker image that is used to create a container and start a VM instance for
598
+ # the version that you deploy. Only applicable for instances running in the App
599
+ # Engine flexible environment.
600
+ # Corresponds to the JSON property `container`
601
+ # @return [Google::Apis::AppengineV1beta::ContainerInfo]
602
+ attr_accessor :container
603
+
604
+ # Manifest of the files stored in Google Cloud Storage that are included as part
605
+ # of this version. All files must be readable using the credentials supplied
606
+ # with this call.
607
+ # Corresponds to the JSON property `files`
608
+ # @return [Hash<String,Google::Apis::AppengineV1beta::FileInfo>]
609
+ attr_accessor :files
610
+
611
+ # The zip file information for a zip deployment.
612
+ # Corresponds to the JSON property `zip`
613
+ # @return [Google::Apis::AppengineV1beta::ZipInfo]
614
+ attr_accessor :zip
615
+
616
+ def initialize(**args)
617
+ update!(**args)
618
+ end
619
+
620
+ # Update properties of this object
621
+ def update!(**args)
622
+ @build = args[:build] if args.key?(:build)
623
+ @container = args[:container] if args.key?(:container)
624
+ @files = args[:files] if args.key?(:files)
625
+ @zip = args[:zip] if args.key?(:zip)
626
+ end
627
+ end
628
+
629
+ # Target scaling by disk usage. Only applicable for VM runtimes.
630
+ class DiskUtilization
631
+ include Google::Apis::Core::Hashable
632
+
633
+ # Target bytes read per second.
634
+ # Corresponds to the JSON property `targetReadBytesPerSecond`
635
+ # @return [Fixnum]
636
+ attr_accessor :target_read_bytes_per_second
637
+
638
+ # Target ops read per seconds.
639
+ # Corresponds to the JSON property `targetReadOpsPerSecond`
640
+ # @return [Fixnum]
641
+ attr_accessor :target_read_ops_per_second
642
+
643
+ # Target bytes written per second.
644
+ # Corresponds to the JSON property `targetWriteBytesPerSecond`
645
+ # @return [Fixnum]
646
+ attr_accessor :target_write_bytes_per_second
647
+
648
+ # Target ops written per second.
649
+ # Corresponds to the JSON property `targetWriteOpsPerSecond`
650
+ # @return [Fixnum]
651
+ attr_accessor :target_write_ops_per_second
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second)
660
+ @target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second)
661
+ @target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second)
662
+ @target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second)
663
+ end
664
+ end
665
+
666
+ # A domain serving an App Engine application.
667
+ class DomainMapping
668
+ include Google::Apis::Core::Hashable
669
+
670
+ # Relative name of the domain serving the application. Example: example.com.
671
+ # Corresponds to the JSON property `id`
672
+ # @return [String]
673
+ attr_accessor :id
674
+
675
+ # Full path to the DomainMapping resource in the API. Example: apps/myapp/
676
+ # domainMapping/example.com.@OutputOnly
677
+ # Corresponds to the JSON property `name`
678
+ # @return [String]
679
+ attr_accessor :name
680
+
681
+ # The resource records required to configure this domain mapping. These records
682
+ # must be added to the domain's DNS configuration in order to serve the
683
+ # application via this domain mapping.@OutputOnly
684
+ # Corresponds to the JSON property `resourceRecords`
685
+ # @return [Array<Google::Apis::AppengineV1beta::ResourceRecord>]
686
+ attr_accessor :resource_records
687
+
688
+ # SSL configuration for a DomainMapping resource.
689
+ # Corresponds to the JSON property `sslSettings`
690
+ # @return [Google::Apis::AppengineV1beta::SslSettings]
691
+ attr_accessor :ssl_settings
692
+
693
+ def initialize(**args)
694
+ update!(**args)
695
+ end
696
+
697
+ # Update properties of this object
698
+ def update!(**args)
699
+ @id = args[:id] if args.key?(:id)
700
+ @name = args[:name] if args.key?(:name)
701
+ @resource_records = args[:resource_records] if args.key?(:resource_records)
702
+ @ssl_settings = args[:ssl_settings] if args.key?(:ssl_settings)
703
+ end
704
+ end
705
+
706
+ # A generic empty message that you can re-use to avoid defining duplicated empty
707
+ # messages in your APIs. A typical example is to use it as the request or the
708
+ # response type of an API method. For instance:
709
+ # service Foo `
710
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
711
+ # `
712
+ # The JSON representation for Empty is empty JSON object ``.
713
+ class Empty
714
+ include Google::Apis::Core::Hashable
715
+
716
+ def initialize(**args)
717
+ update!(**args)
718
+ end
719
+
720
+ # Update properties of this object
721
+ def update!(**args)
722
+ end
723
+ end
724
+
725
+ # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
726
+ # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
727
+ # via an NGINX proxy.The fields here refer to the name and configuration id of a
728
+ # "service" resource in the Service Management API (https://cloud.google.com/
729
+ # service-management/overview).
730
+ class EndpointsApiService
731
+ include Google::Apis::Core::Hashable
732
+
733
+ # Endpoints service configuration id as specified by the Service Management API.
734
+ # For example "2016-09-19r1"
735
+ # Corresponds to the JSON property `configId`
736
+ # @return [String]
737
+ attr_accessor :config_id
738
+
739
+ # Endpoints service name which is the name of the "service" resource in the
740
+ # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
741
+ # Corresponds to the JSON property `name`
742
+ # @return [String]
743
+ attr_accessor :name
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @config_id = args[:config_id] if args.key?(:config_id)
752
+ @name = args[:name] if args.key?(:name)
753
+ end
754
+ end
755
+
756
+ # Custom static error page to be served when an error occurs.
757
+ class ErrorHandler
758
+ include Google::Apis::Core::Hashable
759
+
760
+ # Error condition this handler applies to.
761
+ # Corresponds to the JSON property `errorCode`
762
+ # @return [String]
763
+ attr_accessor :error_code
764
+
765
+ # MIME type of file. Defaults to text/html.
766
+ # Corresponds to the JSON property `mimeType`
767
+ # @return [String]
768
+ attr_accessor :mime_type
769
+
770
+ # Static file content to be served for this error.
771
+ # Corresponds to the JSON property `staticFile`
772
+ # @return [String]
773
+ attr_accessor :static_file
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ @error_code = args[:error_code] if args.key?(:error_code)
782
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
783
+ @static_file = args[:static_file] if args.key?(:static_file)
784
+ end
785
+ end
786
+
787
+ # The feature specific settings to be used in the application. These define
788
+ # behaviors that are user configurable.
789
+ class FeatureSettings
790
+ include Google::Apis::Core::Hashable
791
+
792
+ # Boolean value indicating if split health checks should be used instead of the
793
+ # legacy health checks. At an app.yaml level, this means defaulting to '
794
+ # readiness_check' and 'liveness_check' values instead of 'health_check' ones.
795
+ # Once the legacy 'health_check' behavior is deprecated, and this value is
796
+ # always true, this setting can be removed.
797
+ # Corresponds to the JSON property `splitHealthChecks`
798
+ # @return [Boolean]
799
+ attr_accessor :split_health_checks
800
+ alias_method :split_health_checks?, :split_health_checks
801
+
802
+ def initialize(**args)
803
+ update!(**args)
804
+ end
805
+
806
+ # Update properties of this object
807
+ def update!(**args)
808
+ @split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks)
809
+ end
810
+ end
811
+
812
+ # Single source file that is part of the version to be deployed. Each source
813
+ # file that is deployed must be specified separately.
814
+ class FileInfo
815
+ include Google::Apis::Core::Hashable
816
+
817
+ # The MIME type of the file.Defaults to the value from Google Cloud Storage.
818
+ # Corresponds to the JSON property `mimeType`
819
+ # @return [String]
820
+ attr_accessor :mime_type
821
+
822
+ # The SHA1 hash of the file, in hex.
823
+ # Corresponds to the JSON property `sha1Sum`
824
+ # @return [String]
825
+ attr_accessor :sha1_sum
826
+
827
+ # URL source to use to fetch this file. Must be a URL to a resource in Google
828
+ # Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
829
+ # Corresponds to the JSON property `sourceUrl`
830
+ # @return [String]
831
+ attr_accessor :source_url
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
840
+ @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
841
+ @source_url = args[:source_url] if args.key?(:source_url)
842
+ end
843
+ end
844
+
845
+ # A single firewall rule that is evaluated against incoming traffic and provides
846
+ # an action to take on matched requests.
847
+ class FirewallRule
848
+ include Google::Apis::Core::Hashable
849
+
850
+ # The action to take on matched requests.
851
+ # Corresponds to the JSON property `action`
852
+ # @return [String]
853
+ attr_accessor :action
854
+
855
+ # An optional string description of this rule. This field has a maximum length
856
+ # of 100 characters.
857
+ # Corresponds to the JSON property `description`
858
+ # @return [String]
859
+ attr_accessor :description
860
+
861
+ # A positive integer between 1, Int32.MaxValue-1 that defines the order of rule
862
+ # evaluation. Rules with the lowest priority are evaluated first.A default rule
863
+ # at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous
864
+ # rule matches. Only the action of this rule can be modified by the user.
865
+ # Corresponds to the JSON property `priority`
866
+ # @return [Fixnum]
867
+ attr_accessor :priority
868
+
869
+ # IP address or range, defined using CIDR notation, of requests that this rule
870
+ # applies to. You can use the wildcard character "*" to match all IPs equivalent
871
+ # to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:
872
+ # db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334.<p>Truncation will be
873
+ # silently performed on addresses which are not properly truncated. For example,
874
+ # 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6,
875
+ # 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.
876
+ # Corresponds to the JSON property `sourceRange`
877
+ # @return [String]
878
+ attr_accessor :source_range
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @action = args[:action] if args.key?(:action)
887
+ @description = args[:description] if args.key?(:description)
888
+ @priority = args[:priority] if args.key?(:priority)
889
+ @source_range = args[:source_range] if args.key?(:source_range)
890
+ end
891
+ end
892
+
893
+ # Health checking configuration for VM instances. Unhealthy instances are killed
894
+ # and replaced with new instances. Only applicable for instances in App Engine
895
+ # flexible environment.
896
+ class HealthCheck
897
+ include Google::Apis::Core::Hashable
898
+
899
+ # Interval between health checks.
900
+ # Corresponds to the JSON property `checkInterval`
901
+ # @return [String]
902
+ attr_accessor :check_interval
903
+
904
+ # Whether to explicitly disable health checks for this instance.
905
+ # Corresponds to the JSON property `disableHealthCheck`
906
+ # @return [Boolean]
907
+ attr_accessor :disable_health_check
908
+ alias_method :disable_health_check?, :disable_health_check
909
+
910
+ # Number of consecutive successful health checks required before receiving
911
+ # traffic.
912
+ # Corresponds to the JSON property `healthyThreshold`
913
+ # @return [Fixnum]
914
+ attr_accessor :healthy_threshold
915
+
916
+ # Host header to send when performing an HTTP health check. Example: "myapp.
917
+ # appspot.com"
918
+ # Corresponds to the JSON property `host`
919
+ # @return [String]
920
+ attr_accessor :host
921
+
922
+ # Number of consecutive failed health checks required before an instance is
923
+ # restarted.
924
+ # Corresponds to the JSON property `restartThreshold`
925
+ # @return [Fixnum]
926
+ attr_accessor :restart_threshold
927
+
928
+ # Time before the health check is considered failed.
929
+ # Corresponds to the JSON property `timeout`
930
+ # @return [String]
931
+ attr_accessor :timeout
932
+
933
+ # Number of consecutive failed health checks required before removing traffic.
934
+ # Corresponds to the JSON property `unhealthyThreshold`
935
+ # @return [Fixnum]
936
+ attr_accessor :unhealthy_threshold
937
+
938
+ def initialize(**args)
939
+ update!(**args)
940
+ end
941
+
942
+ # Update properties of this object
943
+ def update!(**args)
944
+ @check_interval = args[:check_interval] if args.key?(:check_interval)
945
+ @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
946
+ @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
947
+ @host = args[:host] if args.key?(:host)
948
+ @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
949
+ @timeout = args[:timeout] if args.key?(:timeout)
950
+ @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
951
+ end
952
+ end
953
+
954
+ # Identity-Aware Proxy
955
+ class IdentityAwareProxy
956
+ include Google::Apis::Core::Hashable
957
+
958
+ # Whether the serving infrastructure will authenticate and authorize all
959
+ # incoming requests.If true, the oauth2_client_id and oauth2_client_secret
960
+ # fields must be non-empty.
961
+ # Corresponds to the JSON property `enabled`
962
+ # @return [Boolean]
963
+ attr_accessor :enabled
964
+ alias_method :enabled?, :enabled
965
+
966
+ # OAuth2 client ID to use for the authentication flow.
967
+ # Corresponds to the JSON property `oauth2ClientId`
968
+ # @return [String]
969
+ attr_accessor :oauth2_client_id
970
+
971
+ # OAuth2 client secret to use for the authentication flow.For security reasons,
972
+ # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
973
+ # value is returned in the oauth2_client_secret_sha256 field.@InputOnly
974
+ # Corresponds to the JSON property `oauth2ClientSecret`
975
+ # @return [String]
976
+ attr_accessor :oauth2_client_secret
977
+
978
+ # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
979
+ # Corresponds to the JSON property `oauth2ClientSecretSha256`
980
+ # @return [String]
981
+ attr_accessor :oauth2_client_secret_sha256
982
+
983
+ def initialize(**args)
984
+ update!(**args)
985
+ end
986
+
987
+ # Update properties of this object
988
+ def update!(**args)
989
+ @enabled = args[:enabled] if args.key?(:enabled)
990
+ @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
991
+ @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
992
+ @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
993
+ end
994
+ end
995
+
996
+ # An Instance resource is the computing unit that App Engine uses to
997
+ # automatically scale an application.
998
+ class Instance
999
+ include Google::Apis::Core::Hashable
1000
+
1001
+ # App Engine release this instance is running on.@OutputOnly
1002
+ # Corresponds to the JSON property `appEngineRelease`
1003
+ # @return [String]
1004
+ attr_accessor :app_engine_release
1005
+
1006
+ # Availability of the instance.@OutputOnly
1007
+ # Corresponds to the JSON property `availability`
1008
+ # @return [String]
1009
+ attr_accessor :availability
1010
+
1011
+ # Average latency (ms) over the last minute.@OutputOnly
1012
+ # Corresponds to the JSON property `averageLatency`
1013
+ # @return [Fixnum]
1014
+ attr_accessor :average_latency
1015
+
1016
+ # Number of errors since this instance was started.@OutputOnly
1017
+ # Corresponds to the JSON property `errors`
1018
+ # @return [Fixnum]
1019
+ attr_accessor :errors
1020
+
1021
+ # Relative name of the instance within the version. Example: instance-1.@
1022
+ # OutputOnly
1023
+ # Corresponds to the JSON property `id`
1024
+ # @return [String]
1025
+ attr_accessor :id
1026
+
1027
+ # Total memory in use (bytes).@OutputOnly
1028
+ # Corresponds to the JSON property `memoryUsage`
1029
+ # @return [Fixnum]
1030
+ attr_accessor :memory_usage
1031
+
1032
+ # Full path to the Instance resource in the API. Example: apps/myapp/services/
1033
+ # default/versions/v1/instances/instance-1.@OutputOnly
1034
+ # Corresponds to the JSON property `name`
1035
+ # @return [String]
1036
+ attr_accessor :name
1037
+
1038
+ # Average queries per second (QPS) over the last minute.@OutputOnly
1039
+ # Corresponds to the JSON property `qps`
1040
+ # @return [Float]
1041
+ attr_accessor :qps
1042
+
1043
+ # Number of requests since this instance was started.@OutputOnly
1044
+ # Corresponds to the JSON property `requests`
1045
+ # @return [Fixnum]
1046
+ attr_accessor :requests
1047
+
1048
+ # Time that this instance was started.@OutputOnly
1049
+ # Corresponds to the JSON property `startTime`
1050
+ # @return [String]
1051
+ attr_accessor :start_time
1052
+
1053
+ # Whether this instance is in debug mode. Only applicable for instances in App
1054
+ # Engine flexible environment.@OutputOnly
1055
+ # Corresponds to the JSON property `vmDebugEnabled`
1056
+ # @return [Boolean]
1057
+ attr_accessor :vm_debug_enabled
1058
+ alias_method :vm_debug_enabled?, :vm_debug_enabled
1059
+
1060
+ # Virtual machine ID of this instance. Only applicable for instances in App
1061
+ # Engine flexible environment.@OutputOnly
1062
+ # Corresponds to the JSON property `vmId`
1063
+ # @return [String]
1064
+ attr_accessor :vm_id
1065
+
1066
+ # The IP address of this instance. Only applicable for instances in App Engine
1067
+ # flexible environment.@OutputOnly
1068
+ # Corresponds to the JSON property `vmIp`
1069
+ # @return [String]
1070
+ attr_accessor :vm_ip
1071
+
1072
+ # Name of the virtual machine where this instance lives. Only applicable for
1073
+ # instances in App Engine flexible environment.@OutputOnly
1074
+ # Corresponds to the JSON property `vmName`
1075
+ # @return [String]
1076
+ attr_accessor :vm_name
1077
+
1078
+ # Status of the virtual machine where this instance lives. Only applicable for
1079
+ # instances in App Engine flexible environment.@OutputOnly
1080
+ # Corresponds to the JSON property `vmStatus`
1081
+ # @return [String]
1082
+ attr_accessor :vm_status
1083
+
1084
+ # Zone where the virtual machine is located. Only applicable for instances in
1085
+ # App Engine flexible environment.@OutputOnly
1086
+ # Corresponds to the JSON property `vmZoneName`
1087
+ # @return [String]
1088
+ attr_accessor :vm_zone_name
1089
+
1090
+ def initialize(**args)
1091
+ update!(**args)
1092
+ end
1093
+
1094
+ # Update properties of this object
1095
+ def update!(**args)
1096
+ @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
1097
+ @availability = args[:availability] if args.key?(:availability)
1098
+ @average_latency = args[:average_latency] if args.key?(:average_latency)
1099
+ @errors = args[:errors] if args.key?(:errors)
1100
+ @id = args[:id] if args.key?(:id)
1101
+ @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1102
+ @name = args[:name] if args.key?(:name)
1103
+ @qps = args[:qps] if args.key?(:qps)
1104
+ @requests = args[:requests] if args.key?(:requests)
1105
+ @start_time = args[:start_time] if args.key?(:start_time)
1106
+ @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
1107
+ @vm_id = args[:vm_id] if args.key?(:vm_id)
1108
+ @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
1109
+ @vm_name = args[:vm_name] if args.key?(:vm_name)
1110
+ @vm_status = args[:vm_status] if args.key?(:vm_status)
1111
+ @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
1112
+ end
1113
+ end
1114
+
1115
+ # Third-party Python runtime library that is required by the application.
1116
+ class Library
1117
+ include Google::Apis::Core::Hashable
1118
+
1119
+ # Name of the library. Example: "django".
1120
+ # Corresponds to the JSON property `name`
1121
+ # @return [String]
1122
+ attr_accessor :name
1123
+
1124
+ # Version of the library to select, or "latest".
1125
+ # Corresponds to the JSON property `version`
1126
+ # @return [String]
1127
+ attr_accessor :version
1128
+
1129
+ def initialize(**args)
1130
+ update!(**args)
1131
+ end
1132
+
1133
+ # Update properties of this object
1134
+ def update!(**args)
1135
+ @name = args[:name] if args.key?(:name)
1136
+ @version = args[:version] if args.key?(:version)
1137
+ end
1138
+ end
1139
+
1140
+ # Response message for AuthorizedCertificates.ListAuthorizedCertificates.
1141
+ class ListAuthorizedCertificatesResponse
1142
+ include Google::Apis::Core::Hashable
1143
+
1144
+ # The SSL certificates the user is authorized to administer.
1145
+ # Corresponds to the JSON property `certificates`
1146
+ # @return [Array<Google::Apis::AppengineV1beta::AuthorizedCertificate>]
1147
+ attr_accessor :certificates
1148
+
1149
+ # Continuation token for fetching the next page of results.
1150
+ # Corresponds to the JSON property `nextPageToken`
1151
+ # @return [String]
1152
+ attr_accessor :next_page_token
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @certificates = args[:certificates] if args.key?(:certificates)
1161
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1162
+ end
1163
+ end
1164
+
1165
+ # Response message for AuthorizedDomains.ListAuthorizedDomains.
1166
+ class ListAuthorizedDomainsResponse
1167
+ include Google::Apis::Core::Hashable
1168
+
1169
+ # The authorized domains belonging to the user.
1170
+ # Corresponds to the JSON property `domains`
1171
+ # @return [Array<Google::Apis::AppengineV1beta::AuthorizedDomain>]
1172
+ attr_accessor :domains
1173
+
1174
+ # Continuation token for fetching the next page of results.
1175
+ # Corresponds to the JSON property `nextPageToken`
1176
+ # @return [String]
1177
+ attr_accessor :next_page_token
1178
+
1179
+ def initialize(**args)
1180
+ update!(**args)
1181
+ end
1182
+
1183
+ # Update properties of this object
1184
+ def update!(**args)
1185
+ @domains = args[:domains] if args.key?(:domains)
1186
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1187
+ end
1188
+ end
1189
+
1190
+ # Response message for DomainMappings.ListDomainMappings.
1191
+ class ListDomainMappingsResponse
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # The domain mappings for the application.
1195
+ # Corresponds to the JSON property `domainMappings`
1196
+ # @return [Array<Google::Apis::AppengineV1beta::DomainMapping>]
1197
+ attr_accessor :domain_mappings
1198
+
1199
+ # Continuation token for fetching the next page of results.
1200
+ # Corresponds to the JSON property `nextPageToken`
1201
+ # @return [String]
1202
+ attr_accessor :next_page_token
1203
+
1204
+ def initialize(**args)
1205
+ update!(**args)
1206
+ end
1207
+
1208
+ # Update properties of this object
1209
+ def update!(**args)
1210
+ @domain_mappings = args[:domain_mappings] if args.key?(:domain_mappings)
1211
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1212
+ end
1213
+ end
1214
+
1215
+ # Response message for Firewall.ListIngressRules.
1216
+ class ListIngressRulesResponse
1217
+ include Google::Apis::Core::Hashable
1218
+
1219
+ # The ingress FirewallRules for this application.
1220
+ # Corresponds to the JSON property `ingressRules`
1221
+ # @return [Array<Google::Apis::AppengineV1beta::FirewallRule>]
1222
+ attr_accessor :ingress_rules
1223
+
1224
+ # Continuation token for fetching the next page of results.
1225
+ # Corresponds to the JSON property `nextPageToken`
1226
+ # @return [String]
1227
+ attr_accessor :next_page_token
1228
+
1229
+ def initialize(**args)
1230
+ update!(**args)
1231
+ end
1232
+
1233
+ # Update properties of this object
1234
+ def update!(**args)
1235
+ @ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
1236
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1237
+ end
1238
+ end
1239
+
1240
+ # Response message for Instances.ListInstances.
1241
+ class ListInstancesResponse
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # The instances belonging to the requested version.
1245
+ # Corresponds to the JSON property `instances`
1246
+ # @return [Array<Google::Apis::AppengineV1beta::Instance>]
1247
+ attr_accessor :instances
1248
+
1249
+ # Continuation token for fetching the next page of results.
1250
+ # Corresponds to the JSON property `nextPageToken`
1251
+ # @return [String]
1252
+ attr_accessor :next_page_token
1253
+
1254
+ def initialize(**args)
1255
+ update!(**args)
1256
+ end
1257
+
1258
+ # Update properties of this object
1259
+ def update!(**args)
1260
+ @instances = args[:instances] if args.key?(:instances)
1261
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1262
+ end
1263
+ end
1264
+
1265
+ # The response message for Locations.ListLocations.
1266
+ class ListLocationsResponse
1267
+ include Google::Apis::Core::Hashable
1268
+
1269
+ # A list of locations that matches the specified filter in the request.
1270
+ # Corresponds to the JSON property `locations`
1271
+ # @return [Array<Google::Apis::AppengineV1beta::Location>]
1272
+ attr_accessor :locations
1273
+
1274
+ # The standard List next-page token.
1275
+ # Corresponds to the JSON property `nextPageToken`
1276
+ # @return [String]
1277
+ attr_accessor :next_page_token
1278
+
1279
+ def initialize(**args)
1280
+ update!(**args)
1281
+ end
1282
+
1283
+ # Update properties of this object
1284
+ def update!(**args)
1285
+ @locations = args[:locations] if args.key?(:locations)
1286
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1287
+ end
1288
+ end
1289
+
1290
+ # The response message for Operations.ListOperations.
1291
+ class ListOperationsResponse
1292
+ include Google::Apis::Core::Hashable
1293
+
1294
+ # The standard List next-page token.
1295
+ # Corresponds to the JSON property `nextPageToken`
1296
+ # @return [String]
1297
+ attr_accessor :next_page_token
1298
+
1299
+ # A list of operations that matches the specified filter in the request.
1300
+ # Corresponds to the JSON property `operations`
1301
+ # @return [Array<Google::Apis::AppengineV1beta::Operation>]
1302
+ attr_accessor :operations
1303
+
1304
+ def initialize(**args)
1305
+ update!(**args)
1306
+ end
1307
+
1308
+ # Update properties of this object
1309
+ def update!(**args)
1310
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1311
+ @operations = args[:operations] if args.key?(:operations)
1312
+ end
1313
+ end
1314
+
1315
+ # Response message for Services.ListServices.
1316
+ class ListServicesResponse
1317
+ include Google::Apis::Core::Hashable
1318
+
1319
+ # Continuation token for fetching the next page of results.
1320
+ # Corresponds to the JSON property `nextPageToken`
1321
+ # @return [String]
1322
+ attr_accessor :next_page_token
1323
+
1324
+ # The services belonging to the requested application.
1325
+ # Corresponds to the JSON property `services`
1326
+ # @return [Array<Google::Apis::AppengineV1beta::Service>]
1327
+ attr_accessor :services
1328
+
1329
+ def initialize(**args)
1330
+ update!(**args)
1331
+ end
1332
+
1333
+ # Update properties of this object
1334
+ def update!(**args)
1335
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1336
+ @services = args[:services] if args.key?(:services)
1337
+ end
1338
+ end
1339
+
1340
+ # Response message for Versions.ListVersions.
1341
+ class ListVersionsResponse
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # Continuation token for fetching the next page of results.
1345
+ # Corresponds to the JSON property `nextPageToken`
1346
+ # @return [String]
1347
+ attr_accessor :next_page_token
1348
+
1349
+ # The versions belonging to the requested service.
1350
+ # Corresponds to the JSON property `versions`
1351
+ # @return [Array<Google::Apis::AppengineV1beta::Version>]
1352
+ attr_accessor :versions
1353
+
1354
+ def initialize(**args)
1355
+ update!(**args)
1356
+ end
1357
+
1358
+ # Update properties of this object
1359
+ def update!(**args)
1360
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1361
+ @versions = args[:versions] if args.key?(:versions)
1362
+ end
1363
+ end
1364
+
1365
+ # Health checking configuration for VM instances. Unhealthy instances are killed
1366
+ # and replaced with new instances.
1367
+ class LivenessCheck
1368
+ include Google::Apis::Core::Hashable
1369
+
1370
+ # Interval between health checks.
1371
+ # Corresponds to the JSON property `checkInterval`
1372
+ # @return [String]
1373
+ attr_accessor :check_interval
1374
+
1375
+ # Number of consecutive failed checks required before considering the VM
1376
+ # unhealthy.
1377
+ # Corresponds to the JSON property `failureThreshold`
1378
+ # @return [Fixnum]
1379
+ attr_accessor :failure_threshold
1380
+
1381
+ # Host header to send when performing a HTTP Liveness check. Example: "myapp.
1382
+ # appspot.com"
1383
+ # Corresponds to the JSON property `host`
1384
+ # @return [String]
1385
+ attr_accessor :host
1386
+
1387
+ # The initial delay before starting to execute the checks.
1388
+ # Corresponds to the JSON property `initialDelay`
1389
+ # @return [String]
1390
+ attr_accessor :initial_delay
1391
+
1392
+ # The request path.
1393
+ # Corresponds to the JSON property `path`
1394
+ # @return [String]
1395
+ attr_accessor :path
1396
+
1397
+ # Number of consecutive successful checks required before considering the VM
1398
+ # healthy.
1399
+ # Corresponds to the JSON property `successThreshold`
1400
+ # @return [Fixnum]
1401
+ attr_accessor :success_threshold
1402
+
1403
+ # Time before the check is considered failed.
1404
+ # Corresponds to the JSON property `timeout`
1405
+ # @return [String]
1406
+ attr_accessor :timeout
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @check_interval = args[:check_interval] if args.key?(:check_interval)
1415
+ @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
1416
+ @host = args[:host] if args.key?(:host)
1417
+ @initial_delay = args[:initial_delay] if args.key?(:initial_delay)
1418
+ @path = args[:path] if args.key?(:path)
1419
+ @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
1420
+ @timeout = args[:timeout] if args.key?(:timeout)
1421
+ end
1422
+ end
1423
+
1424
+ # A resource that represents Google Cloud Platform location.
1425
+ class Location
1426
+ include Google::Apis::Core::Hashable
1427
+
1428
+ # Cross-service attributes for the location. For example
1429
+ # `"cloud.googleapis.com/region": "us-east1"`
1430
+ # Corresponds to the JSON property `labels`
1431
+ # @return [Hash<String,String>]
1432
+ attr_accessor :labels
1433
+
1434
+ # The canonical id for this location. For example: "us-east1".
1435
+ # Corresponds to the JSON property `locationId`
1436
+ # @return [String]
1437
+ attr_accessor :location_id
1438
+
1439
+ # Service-specific metadata. For example the available capacity at the given
1440
+ # location.
1441
+ # Corresponds to the JSON property `metadata`
1442
+ # @return [Hash<String,Object>]
1443
+ attr_accessor :metadata
1444
+
1445
+ # Resource name for the location, which may vary between implementations. For
1446
+ # example: "projects/example-project/locations/us-east1"
1447
+ # Corresponds to the JSON property `name`
1448
+ # @return [String]
1449
+ attr_accessor :name
1450
+
1451
+ def initialize(**args)
1452
+ update!(**args)
1453
+ end
1454
+
1455
+ # Update properties of this object
1456
+ def update!(**args)
1457
+ @labels = args[:labels] if args.key?(:labels)
1458
+ @location_id = args[:location_id] if args.key?(:location_id)
1459
+ @metadata = args[:metadata] if args.key?(:metadata)
1460
+ @name = args[:name] if args.key?(:name)
1461
+ end
1462
+ end
1463
+
1464
+ # Metadata for the given google.cloud.location.Location.
1465
+ class LocationMetadata
1466
+ include Google::Apis::Core::Hashable
1467
+
1468
+ # App Engine Flexible Environment is available in the given location.@OutputOnly
1469
+ # Corresponds to the JSON property `flexibleEnvironmentAvailable`
1470
+ # @return [Boolean]
1471
+ attr_accessor :flexible_environment_available
1472
+ alias_method :flexible_environment_available?, :flexible_environment_available
1473
+
1474
+ # App Engine Standard Environment is available in the given location.@OutputOnly
1475
+ # Corresponds to the JSON property `standardEnvironmentAvailable`
1476
+ # @return [Boolean]
1477
+ attr_accessor :standard_environment_available
1478
+ alias_method :standard_environment_available?, :standard_environment_available
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
1487
+ @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
1488
+ end
1489
+ end
1490
+
1491
+ # A service with manual scaling runs continuously, allowing you to perform
1492
+ # complex initialization and rely on the state of its memory over time.
1493
+ class ManualScaling
1494
+ include Google::Apis::Core::Hashable
1495
+
1496
+ # Number of instances to assign to the service at the start. This number can
1497
+ # later be altered by using the Modules API (https://cloud.google.com/appengine/
1498
+ # docs/python/modules/functions) set_num_instances() function.
1499
+ # Corresponds to the JSON property `instances`
1500
+ # @return [Fixnum]
1501
+ attr_accessor :instances
1502
+
1503
+ def initialize(**args)
1504
+ update!(**args)
1505
+ end
1506
+
1507
+ # Update properties of this object
1508
+ def update!(**args)
1509
+ @instances = args[:instances] if args.key?(:instances)
1510
+ end
1511
+ end
1512
+
1513
+ # Extra network settings. Only applicable for App Engine flexible environment
1514
+ # versions
1515
+ class Network
1516
+ include Google::Apis::Core::Hashable
1517
+
1518
+ # List of ports, or port pairs, to forward from the virtual machine to the
1519
+ # application container. Only applicable for App Engine flexible environment
1520
+ # versions.
1521
+ # Corresponds to the JSON property `forwardedPorts`
1522
+ # @return [Array<String>]
1523
+ attr_accessor :forwarded_ports
1524
+
1525
+ # Tag to apply to the VM instance during creation. Only applicable for for App
1526
+ # Engine flexible environment versions.
1527
+ # Corresponds to the JSON property `instanceTag`
1528
+ # @return [String]
1529
+ attr_accessor :instance_tag
1530
+
1531
+ # Google Compute Engine network where the virtual machines are created. Specify
1532
+ # the short name, not the resource path.Defaults to default.
1533
+ # Corresponds to the JSON property `name`
1534
+ # @return [String]
1535
+ attr_accessor :name
1536
+
1537
+ # Google Cloud Platform sub-network where the virtual machines are created.
1538
+ # Specify the short name, not the resource path.If a subnetwork name is
1539
+ # specified, a network name will also be required unless it is for the default
1540
+ # network.
1541
+ # If the network the VM instance is being created in is a Legacy network, then
1542
+ # the IP address is allocated from the IPv4Range.
1543
+ # If the network the VM instance is being created in is an auto Subnet Mode
1544
+ # Network, then only network name should be specified (not the subnetwork_name)
1545
+ # and the IP address is created from the IPCidrRange of the subnetwork that
1546
+ # exists in that zone for that network.
1547
+ # If the network the VM instance is being created in is a custom Subnet Mode
1548
+ # Network, then the subnetwork_name must be specified and the IP address is
1549
+ # created from the IPCidrRange of the subnetwork.If specified, the subnetwork
1550
+ # must exist in the same region as the App Engine flexible environment
1551
+ # application.
1552
+ # Corresponds to the JSON property `subnetworkName`
1553
+ # @return [String]
1554
+ attr_accessor :subnetwork_name
1555
+
1556
+ def initialize(**args)
1557
+ update!(**args)
1558
+ end
1559
+
1560
+ # Update properties of this object
1561
+ def update!(**args)
1562
+ @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
1563
+ @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
1564
+ @name = args[:name] if args.key?(:name)
1565
+ @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1566
+ end
1567
+ end
1568
+
1569
+ # Target scaling by network usage. Only applicable for VM runtimes.
1570
+ class NetworkUtilization
1571
+ include Google::Apis::Core::Hashable
1572
+
1573
+ # Target bytes received per second.
1574
+ # Corresponds to the JSON property `targetReceivedBytesPerSecond`
1575
+ # @return [Fixnum]
1576
+ attr_accessor :target_received_bytes_per_second
1577
+
1578
+ # Target packets received per second.
1579
+ # Corresponds to the JSON property `targetReceivedPacketsPerSecond`
1580
+ # @return [Fixnum]
1581
+ attr_accessor :target_received_packets_per_second
1582
+
1583
+ # Target bytes sent per second.
1584
+ # Corresponds to the JSON property `targetSentBytesPerSecond`
1585
+ # @return [Fixnum]
1586
+ attr_accessor :target_sent_bytes_per_second
1587
+
1588
+ # Target packets sent per second.
1589
+ # Corresponds to the JSON property `targetSentPacketsPerSecond`
1590
+ # @return [Fixnum]
1591
+ attr_accessor :target_sent_packets_per_second
1592
+
1593
+ def initialize(**args)
1594
+ update!(**args)
1595
+ end
1596
+
1597
+ # Update properties of this object
1598
+ def update!(**args)
1599
+ @target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second)
1600
+ @target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second)
1601
+ @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second)
1602
+ @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second)
1603
+ end
1604
+ end
1605
+
1606
+ # This resource represents a long-running operation that is the result of a
1607
+ # network API call.
1608
+ class Operation
1609
+ include Google::Apis::Core::Hashable
1610
+
1611
+ # If the value is false, it means the operation is still in progress. If true,
1612
+ # the operation is completed, and either error or response is available.
1613
+ # Corresponds to the JSON property `done`
1614
+ # @return [Boolean]
1615
+ attr_accessor :done
1616
+ alias_method :done?, :done
1617
+
1618
+ # The Status type defines a logical error model that is suitable for different
1619
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1620
+ # (https://github.com/grpc). The error model is designed to be:
1621
+ # Simple to use and understand for most users
1622
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
1623
+ # three pieces of data: error code, error message, and error details. The error
1624
+ # code should be an enum value of google.rpc.Code, but it may accept additional
1625
+ # error codes if needed. The error message should be a developer-facing English
1626
+ # message that helps developers understand and resolve the error. If a localized
1627
+ # user-facing error message is needed, put the localized message in the error
1628
+ # details or localize it in the client. The optional error details may contain
1629
+ # arbitrary information about the error. There is a predefined set of error
1630
+ # detail types in the package google.rpc that can be used for common error
1631
+ # conditions.Language mappingThe Status message is the logical representation of
1632
+ # the error model, but it is not necessarily the actual wire format. When the
1633
+ # Status message is exposed in different client libraries and different wire
1634
+ # protocols, it can be mapped differently. For example, it will likely be mapped
1635
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
1636
+ # Other usesThe error model and the Status message can be used in a variety of
1637
+ # environments, either with or without APIs, to provide a consistent developer
1638
+ # experience across different environments.Example uses of this error model
1639
+ # include:
1640
+ # Partial errors. If a service needs to return partial errors to the client, it
1641
+ # may embed the Status in the normal response to indicate the partial errors.
1642
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
1643
+ # Status message for error reporting.
1644
+ # Batch operations. If a client uses batch request and batch response, the
1645
+ # Status message should be used directly inside batch response, one for each
1646
+ # error sub-response.
1647
+ # Asynchronous operations. If an API call embeds asynchronous operation results
1648
+ # in its response, the status of those operations should be represented directly
1649
+ # using the Status message.
1650
+ # Logging. If some API errors are stored in logs, the message Status could be
1651
+ # used directly after any stripping needed for security/privacy reasons.
1652
+ # Corresponds to the JSON property `error`
1653
+ # @return [Google::Apis::AppengineV1beta::Status]
1654
+ attr_accessor :error
1655
+
1656
+ # Service-specific metadata associated with the operation. It typically contains
1657
+ # progress information and common metadata such as create time. Some services
1658
+ # might not provide such metadata. Any method that returns a long-running
1659
+ # operation should document the metadata type, if any.
1660
+ # Corresponds to the JSON property `metadata`
1661
+ # @return [Hash<String,Object>]
1662
+ attr_accessor :metadata
1663
+
1664
+ # The server-assigned name, which is only unique within the same service that
1665
+ # originally returns it. If you use the default HTTP mapping, the name should
1666
+ # have the format of operations/some/unique/name.
1667
+ # Corresponds to the JSON property `name`
1668
+ # @return [String]
1669
+ attr_accessor :name
1670
+
1671
+ # The normal response of the operation in case of success. If the original
1672
+ # method returns no data on success, such as Delete, the response is google.
1673
+ # protobuf.Empty. If the original method is standard Get/Create/Update, the
1674
+ # response should be the resource. For other methods, the response should have
1675
+ # the type XxxResponse, where Xxx is the original method name. For example, if
1676
+ # the original method name is TakeSnapshot(), the inferred response type is
1677
+ # TakeSnapshotResponse.
1678
+ # Corresponds to the JSON property `response`
1679
+ # @return [Hash<String,Object>]
1680
+ attr_accessor :response
1681
+
1682
+ def initialize(**args)
1683
+ update!(**args)
1684
+ end
1685
+
1686
+ # Update properties of this object
1687
+ def update!(**args)
1688
+ @done = args[:done] if args.key?(:done)
1689
+ @error = args[:error] if args.key?(:error)
1690
+ @metadata = args[:metadata] if args.key?(:metadata)
1691
+ @name = args[:name] if args.key?(:name)
1692
+ @response = args[:response] if args.key?(:response)
1693
+ end
1694
+ end
1695
+
1696
+ # Metadata for the given google.longrunning.Operation.
1697
+ class OperationMetadata
1698
+ include Google::Apis::Core::Hashable
1699
+
1700
+ # Timestamp that this operation completed.@OutputOnly
1701
+ # Corresponds to the JSON property `endTime`
1702
+ # @return [String]
1703
+ attr_accessor :end_time
1704
+
1705
+ # Timestamp that this operation was created.@OutputOnly
1706
+ # Corresponds to the JSON property `insertTime`
1707
+ # @return [String]
1708
+ attr_accessor :insert_time
1709
+
1710
+ # API method that initiated this operation. Example: google.appengine.v1beta4.
1711
+ # Version.CreateVersion.@OutputOnly
1712
+ # Corresponds to the JSON property `method`
1713
+ # @return [String]
1714
+ attr_accessor :method_prop
1715
+
1716
+ # Type of this operation. Deprecated, use method field instead. Example: "
1717
+ # create_version".@OutputOnly
1718
+ # Corresponds to the JSON property `operationType`
1719
+ # @return [String]
1720
+ attr_accessor :operation_type
1721
+
1722
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1723
+ # modules/default.@OutputOnly
1724
+ # Corresponds to the JSON property `target`
1725
+ # @return [String]
1726
+ attr_accessor :target
1727
+
1728
+ # User who requested this operation.@OutputOnly
1729
+ # Corresponds to the JSON property `user`
1730
+ # @return [String]
1731
+ attr_accessor :user
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @end_time = args[:end_time] if args.key?(:end_time)
1740
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1741
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1742
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
1743
+ @target = args[:target] if args.key?(:target)
1744
+ @user = args[:user] if args.key?(:user)
1745
+ end
1746
+ end
1747
+
1748
+ # Metadata for the given google.longrunning.Operation.
1749
+ class OperationMetadataExperimental
1750
+ include Google::Apis::Core::Hashable
1751
+
1752
+ # Time that this operation completed.@OutputOnly
1753
+ # Corresponds to the JSON property `endTime`
1754
+ # @return [String]
1755
+ attr_accessor :end_time
1756
+
1757
+ # Time that this operation was created.@OutputOnly
1758
+ # Corresponds to the JSON property `insertTime`
1759
+ # @return [String]
1760
+ attr_accessor :insert_time
1761
+
1762
+ # API method that initiated this operation. Example: google.appengine.
1763
+ # experimental.CustomDomains.CreateCustomDomain.@OutputOnly
1764
+ # Corresponds to the JSON property `method`
1765
+ # @return [String]
1766
+ attr_accessor :method_prop
1767
+
1768
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1769
+ # customDomains/example.com.@OutputOnly
1770
+ # Corresponds to the JSON property `target`
1771
+ # @return [String]
1772
+ attr_accessor :target
1773
+
1774
+ # User who requested this operation.@OutputOnly
1775
+ # Corresponds to the JSON property `user`
1776
+ # @return [String]
1777
+ attr_accessor :user
1778
+
1779
+ def initialize(**args)
1780
+ update!(**args)
1781
+ end
1782
+
1783
+ # Update properties of this object
1784
+ def update!(**args)
1785
+ @end_time = args[:end_time] if args.key?(:end_time)
1786
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1787
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1788
+ @target = args[:target] if args.key?(:target)
1789
+ @user = args[:user] if args.key?(:user)
1790
+ end
1791
+ end
1792
+
1793
+ # Metadata for the given google.longrunning.Operation.
1794
+ class OperationMetadataV1
1795
+ include Google::Apis::Core::Hashable
1796
+
1797
+ # Time that this operation completed.@OutputOnly
1798
+ # Corresponds to the JSON property `endTime`
1799
+ # @return [String]
1800
+ attr_accessor :end_time
1801
+
1802
+ # Ephemeral message that may change every time the operation is polled. @
1803
+ # OutputOnly
1804
+ # Corresponds to the JSON property `ephemeralMessage`
1805
+ # @return [String]
1806
+ attr_accessor :ephemeral_message
1807
+
1808
+ # Time that this operation was created.@OutputOnly
1809
+ # Corresponds to the JSON property `insertTime`
1810
+ # @return [String]
1811
+ attr_accessor :insert_time
1812
+
1813
+ # API method that initiated this operation. Example: google.appengine.v1.
1814
+ # Versions.CreateVersion.@OutputOnly
1815
+ # Corresponds to the JSON property `method`
1816
+ # @return [String]
1817
+ attr_accessor :method_prop
1818
+
1819
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1820
+ # services/default.@OutputOnly
1821
+ # Corresponds to the JSON property `target`
1822
+ # @return [String]
1823
+ attr_accessor :target
1824
+
1825
+ # User who requested this operation.@OutputOnly
1826
+ # Corresponds to the JSON property `user`
1827
+ # @return [String]
1828
+ attr_accessor :user
1829
+
1830
+ # Durable messages that persist on every operation poll. @OutputOnly
1831
+ # Corresponds to the JSON property `warning`
1832
+ # @return [Array<String>]
1833
+ attr_accessor :warning
1834
+
1835
+ def initialize(**args)
1836
+ update!(**args)
1837
+ end
1838
+
1839
+ # Update properties of this object
1840
+ def update!(**args)
1841
+ @end_time = args[:end_time] if args.key?(:end_time)
1842
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
1843
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1844
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1845
+ @target = args[:target] if args.key?(:target)
1846
+ @user = args[:user] if args.key?(:user)
1847
+ @warning = args[:warning] if args.key?(:warning)
1848
+ end
1849
+ end
1850
+
1851
+ # Metadata for the given google.longrunning.Operation.
1852
+ class OperationMetadataV1Alpha
1853
+ include Google::Apis::Core::Hashable
1854
+
1855
+ # Time that this operation completed.@OutputOnly
1856
+ # Corresponds to the JSON property `endTime`
1857
+ # @return [String]
1858
+ attr_accessor :end_time
1859
+
1860
+ # Ephemeral message that may change every time the operation is polled. @
1861
+ # OutputOnly
1862
+ # Corresponds to the JSON property `ephemeralMessage`
1863
+ # @return [String]
1864
+ attr_accessor :ephemeral_message
1865
+
1866
+ # Time that this operation was created.@OutputOnly
1867
+ # Corresponds to the JSON property `insertTime`
1868
+ # @return [String]
1869
+ attr_accessor :insert_time
1870
+
1871
+ # API method that initiated this operation. Example: google.appengine.v1alpha.
1872
+ # Versions.CreateVersion.@OutputOnly
1873
+ # Corresponds to the JSON property `method`
1874
+ # @return [String]
1875
+ attr_accessor :method_prop
1876
+
1877
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1878
+ # services/default.@OutputOnly
1879
+ # Corresponds to the JSON property `target`
1880
+ # @return [String]
1881
+ attr_accessor :target
1882
+
1883
+ # User who requested this operation.@OutputOnly
1884
+ # Corresponds to the JSON property `user`
1885
+ # @return [String]
1886
+ attr_accessor :user
1887
+
1888
+ # Durable messages that persist on every operation poll. @OutputOnly
1889
+ # Corresponds to the JSON property `warning`
1890
+ # @return [Array<String>]
1891
+ attr_accessor :warning
1892
+
1893
+ def initialize(**args)
1894
+ update!(**args)
1895
+ end
1896
+
1897
+ # Update properties of this object
1898
+ def update!(**args)
1899
+ @end_time = args[:end_time] if args.key?(:end_time)
1900
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
1901
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1902
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1903
+ @target = args[:target] if args.key?(:target)
1904
+ @user = args[:user] if args.key?(:user)
1905
+ @warning = args[:warning] if args.key?(:warning)
1906
+ end
1907
+ end
1908
+
1909
+ # Metadata for the given google.longrunning.Operation.
1910
+ class OperationMetadataV1Beta
1911
+ include Google::Apis::Core::Hashable
1912
+
1913
+ # Time that this operation completed.@OutputOnly
1914
+ # Corresponds to the JSON property `endTime`
1915
+ # @return [String]
1916
+ attr_accessor :end_time
1917
+
1918
+ # Ephemeral message that may change every time the operation is polled. @
1919
+ # OutputOnly
1920
+ # Corresponds to the JSON property `ephemeralMessage`
1921
+ # @return [String]
1922
+ attr_accessor :ephemeral_message
1923
+
1924
+ # Time that this operation was created.@OutputOnly
1925
+ # Corresponds to the JSON property `insertTime`
1926
+ # @return [String]
1927
+ attr_accessor :insert_time
1928
+
1929
+ # API method that initiated this operation. Example: google.appengine.v1beta.
1930
+ # Versions.CreateVersion.@OutputOnly
1931
+ # Corresponds to the JSON property `method`
1932
+ # @return [String]
1933
+ attr_accessor :method_prop
1934
+
1935
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1936
+ # services/default.@OutputOnly
1937
+ # Corresponds to the JSON property `target`
1938
+ # @return [String]
1939
+ attr_accessor :target
1940
+
1941
+ # User who requested this operation.@OutputOnly
1942
+ # Corresponds to the JSON property `user`
1943
+ # @return [String]
1944
+ attr_accessor :user
1945
+
1946
+ # Durable messages that persist on every operation poll. @OutputOnly
1947
+ # Corresponds to the JSON property `warning`
1948
+ # @return [Array<String>]
1949
+ attr_accessor :warning
1950
+
1951
+ def initialize(**args)
1952
+ update!(**args)
1953
+ end
1954
+
1955
+ # Update properties of this object
1956
+ def update!(**args)
1957
+ @end_time = args[:end_time] if args.key?(:end_time)
1958
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
1959
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1960
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1961
+ @target = args[:target] if args.key?(:target)
1962
+ @user = args[:user] if args.key?(:user)
1963
+ @warning = args[:warning] if args.key?(:warning)
1964
+ end
1965
+ end
1966
+
1967
+ # Metadata for the given google.longrunning.Operation.
1968
+ class OperationMetadataV1Beta5
1969
+ include Google::Apis::Core::Hashable
1970
+
1971
+ # Timestamp that this operation completed.@OutputOnly
1972
+ # Corresponds to the JSON property `endTime`
1973
+ # @return [String]
1974
+ attr_accessor :end_time
1975
+
1976
+ # Timestamp that this operation was created.@OutputOnly
1977
+ # Corresponds to the JSON property `insertTime`
1978
+ # @return [String]
1979
+ attr_accessor :insert_time
1980
+
1981
+ # API method name that initiated this operation. Example: google.appengine.
1982
+ # v1beta5.Version.CreateVersion.@OutputOnly
1983
+ # Corresponds to the JSON property `method`
1984
+ # @return [String]
1985
+ attr_accessor :method_prop
1986
+
1987
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1988
+ # services/default.@OutputOnly
1989
+ # Corresponds to the JSON property `target`
1990
+ # @return [String]
1991
+ attr_accessor :target
1992
+
1993
+ # User who requested this operation.@OutputOnly
1994
+ # Corresponds to the JSON property `user`
1995
+ # @return [String]
1996
+ attr_accessor :user
1997
+
1998
+ def initialize(**args)
1999
+ update!(**args)
2000
+ end
2001
+
2002
+ # Update properties of this object
2003
+ def update!(**args)
2004
+ @end_time = args[:end_time] if args.key?(:end_time)
2005
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
2006
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
2007
+ @target = args[:target] if args.key?(:target)
2008
+ @user = args[:user] if args.key?(:user)
2009
+ end
2010
+ end
2011
+
2012
+ # Readiness checking configuration for VM instances. Unhealthy instances are
2013
+ # removed from traffic rotation.
2014
+ class ReadinessCheck
2015
+ include Google::Apis::Core::Hashable
2016
+
2017
+ # A maximum time limit on application initialization, measured from moment the
2018
+ # application successfully replies to a healthcheck until it is ready to serve
2019
+ # traffic.
2020
+ # Corresponds to the JSON property `appStartTimeout`
2021
+ # @return [String]
2022
+ attr_accessor :app_start_timeout
2023
+
2024
+ # Interval between health checks.
2025
+ # Corresponds to the JSON property `checkInterval`
2026
+ # @return [String]
2027
+ attr_accessor :check_interval
2028
+
2029
+ # Number of consecutive failed checks required before removing traffic.
2030
+ # Corresponds to the JSON property `failureThreshold`
2031
+ # @return [Fixnum]
2032
+ attr_accessor :failure_threshold
2033
+
2034
+ # Host header to send when performing a HTTP Readiness check. Example: "myapp.
2035
+ # appspot.com"
2036
+ # Corresponds to the JSON property `host`
2037
+ # @return [String]
2038
+ attr_accessor :host
2039
+
2040
+ # The request path.
2041
+ # Corresponds to the JSON property `path`
2042
+ # @return [String]
2043
+ attr_accessor :path
2044
+
2045
+ # Number of consecutive successful checks required before receiving traffic.
2046
+ # Corresponds to the JSON property `successThreshold`
2047
+ # @return [Fixnum]
2048
+ attr_accessor :success_threshold
2049
+
2050
+ # Time before the check is considered failed.
2051
+ # Corresponds to the JSON property `timeout`
2052
+ # @return [String]
2053
+ attr_accessor :timeout
2054
+
2055
+ def initialize(**args)
2056
+ update!(**args)
2057
+ end
2058
+
2059
+ # Update properties of this object
2060
+ def update!(**args)
2061
+ @app_start_timeout = args[:app_start_timeout] if args.key?(:app_start_timeout)
2062
+ @check_interval = args[:check_interval] if args.key?(:check_interval)
2063
+ @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
2064
+ @host = args[:host] if args.key?(:host)
2065
+ @path = args[:path] if args.key?(:path)
2066
+ @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
2067
+ @timeout = args[:timeout] if args.key?(:timeout)
2068
+ end
2069
+ end
2070
+
2071
+ # Request message for 'Applications.RepairApplication'.
2072
+ class RepairApplicationRequest
2073
+ include Google::Apis::Core::Hashable
2074
+
2075
+ def initialize(**args)
2076
+ update!(**args)
2077
+ end
2078
+
2079
+ # Update properties of this object
2080
+ def update!(**args)
2081
+ end
2082
+ end
2083
+
2084
+ # Target scaling by request utilization. Only applicable for VM runtimes.
2085
+ class RequestUtilization
2086
+ include Google::Apis::Core::Hashable
2087
+
2088
+ # Target number of concurrent requests.
2089
+ # Corresponds to the JSON property `targetConcurrentRequests`
2090
+ # @return [Fixnum]
2091
+ attr_accessor :target_concurrent_requests
2092
+
2093
+ # Target requests per second.
2094
+ # Corresponds to the JSON property `targetRequestCountPerSecond`
2095
+ # @return [Fixnum]
2096
+ attr_accessor :target_request_count_per_second
2097
+
2098
+ def initialize(**args)
2099
+ update!(**args)
2100
+ end
2101
+
2102
+ # Update properties of this object
2103
+ def update!(**args)
2104
+ @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
2105
+ @target_request_count_per_second = args[:target_request_count_per_second] if args.key?(:target_request_count_per_second)
2106
+ end
2107
+ end
2108
+
2109
+ # A DNS resource record.
2110
+ class ResourceRecord
2111
+ include Google::Apis::Core::Hashable
2112
+
2113
+ # Relative name of the object affected by this record. Only applicable for CNAME
2114
+ # records. Example: 'www'.
2115
+ # Corresponds to the JSON property `name`
2116
+ # @return [String]
2117
+ attr_accessor :name
2118
+
2119
+ # Data for this record. Values vary by record type, as defined in RFC 1035 (
2120
+ # section 5) and RFC 1034 (section 3.6.1).
2121
+ # Corresponds to the JSON property `rrdata`
2122
+ # @return [String]
2123
+ attr_accessor :rrdata
2124
+
2125
+ # Resource record type. Example: AAAA.
2126
+ # Corresponds to the JSON property `type`
2127
+ # @return [String]
2128
+ attr_accessor :type
2129
+
2130
+ def initialize(**args)
2131
+ update!(**args)
2132
+ end
2133
+
2134
+ # Update properties of this object
2135
+ def update!(**args)
2136
+ @name = args[:name] if args.key?(:name)
2137
+ @rrdata = args[:rrdata] if args.key?(:rrdata)
2138
+ @type = args[:type] if args.key?(:type)
2139
+ end
2140
+ end
2141
+
2142
+ # Machine resources for a version.
2143
+ class Resources
2144
+ include Google::Apis::Core::Hashable
2145
+
2146
+ # Number of CPU cores needed.
2147
+ # Corresponds to the JSON property `cpu`
2148
+ # @return [Float]
2149
+ attr_accessor :cpu
2150
+
2151
+ # Disk size (GB) needed.
2152
+ # Corresponds to the JSON property `diskGb`
2153
+ # @return [Float]
2154
+ attr_accessor :disk_gb
2155
+
2156
+ # Memory (GB) needed.
2157
+ # Corresponds to the JSON property `memoryGb`
2158
+ # @return [Float]
2159
+ attr_accessor :memory_gb
2160
+
2161
+ # User specified volumes.
2162
+ # Corresponds to the JSON property `volumes`
2163
+ # @return [Array<Google::Apis::AppengineV1beta::Volume>]
2164
+ attr_accessor :volumes
2165
+
2166
+ def initialize(**args)
2167
+ update!(**args)
2168
+ end
2169
+
2170
+ # Update properties of this object
2171
+ def update!(**args)
2172
+ @cpu = args[:cpu] if args.key?(:cpu)
2173
+ @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
2174
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
2175
+ @volumes = args[:volumes] if args.key?(:volumes)
2176
+ end
2177
+ end
2178
+
2179
+ # Executes a script to handle the request that matches the URL pattern.
2180
+ class ScriptHandler
2181
+ include Google::Apis::Core::Hashable
2182
+
2183
+ # Path to the script from the application root directory.
2184
+ # Corresponds to the JSON property `scriptPath`
2185
+ # @return [String]
2186
+ attr_accessor :script_path
2187
+
2188
+ def initialize(**args)
2189
+ update!(**args)
2190
+ end
2191
+
2192
+ # Update properties of this object
2193
+ def update!(**args)
2194
+ @script_path = args[:script_path] if args.key?(:script_path)
2195
+ end
2196
+ end
2197
+
2198
+ # A Service resource is a logical component of an application that can share
2199
+ # state and communicate in a secure fashion with other services. For example, an
2200
+ # application that handles customer requests might include separate services to
2201
+ # handle tasks such as backend data analysis or API requests from mobile devices.
2202
+ # Each service has a collection of versions that define a specific set of code
2203
+ # used to implement the functionality of that service.
2204
+ class Service
2205
+ include Google::Apis::Core::Hashable
2206
+
2207
+ # Relative name of the service within the application. Example: default.@
2208
+ # OutputOnly
2209
+ # Corresponds to the JSON property `id`
2210
+ # @return [String]
2211
+ attr_accessor :id
2212
+
2213
+ # Full path to the Service resource in the API. Example: apps/myapp/services/
2214
+ # default.@OutputOnly
2215
+ # Corresponds to the JSON property `name`
2216
+ # @return [String]
2217
+ attr_accessor :name
2218
+
2219
+ # Traffic routing configuration for versions within a single service. Traffic
2220
+ # splits define how traffic directed to the service is assigned to versions.
2221
+ # Corresponds to the JSON property `split`
2222
+ # @return [Google::Apis::AppengineV1beta::TrafficSplit]
2223
+ attr_accessor :split
2224
+
2225
+ def initialize(**args)
2226
+ update!(**args)
2227
+ end
2228
+
2229
+ # Update properties of this object
2230
+ def update!(**args)
2231
+ @id = args[:id] if args.key?(:id)
2232
+ @name = args[:name] if args.key?(:name)
2233
+ @split = args[:split] if args.key?(:split)
2234
+ end
2235
+ end
2236
+
2237
+ # SSL configuration for a DomainMapping resource.
2238
+ class SslSettings
2239
+ include Google::Apis::Core::Hashable
2240
+
2241
+ # ID of the AuthorizedCertificate resource configuring SSL for the application.
2242
+ # Clearing this field will remove SSL support. Example: 12345.
2243
+ # Corresponds to the JSON property `certificateId`
2244
+ # @return [String]
2245
+ attr_accessor :certificate_id
2246
+
2247
+ def initialize(**args)
2248
+ update!(**args)
2249
+ end
2250
+
2251
+ # Update properties of this object
2252
+ def update!(**args)
2253
+ @certificate_id = args[:certificate_id] if args.key?(:certificate_id)
2254
+ end
2255
+ end
2256
+
2257
+ # Scheduler settings for standard environment.
2258
+ class StandardSchedulerSettings
2259
+ include Google::Apis::Core::Hashable
2260
+
2261
+ # Maximum number of instances for an app version. Set to a non-positive value (0
2262
+ # by convention) to disable max_instances configuration.
2263
+ # Corresponds to the JSON property `maxInstances`
2264
+ # @return [Fixnum]
2265
+ attr_accessor :max_instances
2266
+
2267
+ # Minimum number of instances for an app version. Set to a non-positive value (0
2268
+ # by convention) to disable min_instances configuration.
2269
+ # Corresponds to the JSON property `minInstances`
2270
+ # @return [Fixnum]
2271
+ attr_accessor :min_instances
2272
+
2273
+ # Target CPU utilization ratio to maintain when scaling.
2274
+ # Corresponds to the JSON property `targetCpuUtilization`
2275
+ # @return [Float]
2276
+ attr_accessor :target_cpu_utilization
2277
+
2278
+ # Target throughput utilization ratio to maintain when scaling
2279
+ # Corresponds to the JSON property `targetThroughputUtilization`
2280
+ # @return [Float]
2281
+ attr_accessor :target_throughput_utilization
2282
+
2283
+ def initialize(**args)
2284
+ update!(**args)
2285
+ end
2286
+
2287
+ # Update properties of this object
2288
+ def update!(**args)
2289
+ @max_instances = args[:max_instances] if args.key?(:max_instances)
2290
+ @min_instances = args[:min_instances] if args.key?(:min_instances)
2291
+ @target_cpu_utilization = args[:target_cpu_utilization] if args.key?(:target_cpu_utilization)
2292
+ @target_throughput_utilization = args[:target_throughput_utilization] if args.key?(:target_throughput_utilization)
2293
+ end
2294
+ end
2295
+
2296
+ # Files served directly to the user for a given URL, such as images, CSS
2297
+ # stylesheets, or JavaScript source files. Static file handlers describe which
2298
+ # files in the application directory are static files, and which URLs serve them.
2299
+ class StaticFilesHandler
2300
+ include Google::Apis::Core::Hashable
2301
+
2302
+ # Whether files should also be uploaded as code data. By default, files declared
2303
+ # in static file handlers are uploaded as static data and are only served to end
2304
+ # users; they cannot be read by the application. If enabled, uploads are charged
2305
+ # against both your code and static data storage resource quotas.
2306
+ # Corresponds to the JSON property `applicationReadable`
2307
+ # @return [Boolean]
2308
+ attr_accessor :application_readable
2309
+ alias_method :application_readable?, :application_readable
2310
+
2311
+ # Time a static file served by this handler should be cached by web proxies and
2312
+ # browsers.
2313
+ # Corresponds to the JSON property `expiration`
2314
+ # @return [String]
2315
+ attr_accessor :expiration
2316
+
2317
+ # HTTP headers to use for all responses from these URLs.
2318
+ # Corresponds to the JSON property `httpHeaders`
2319
+ # @return [Hash<String,String>]
2320
+ attr_accessor :http_headers
2321
+
2322
+ # MIME type used to serve all files served by this handler.Defaults to file-
2323
+ # specific MIME types, which are derived from each file's filename extension.
2324
+ # Corresponds to the JSON property `mimeType`
2325
+ # @return [String]
2326
+ attr_accessor :mime_type
2327
+
2328
+ # Path to the static files matched by the URL pattern, from the application root
2329
+ # directory. The path can refer to text matched in groupings in the URL pattern.
2330
+ # Corresponds to the JSON property `path`
2331
+ # @return [String]
2332
+ attr_accessor :path
2333
+
2334
+ # Whether this handler should match the request if the file referenced by the
2335
+ # handler does not exist.
2336
+ # Corresponds to the JSON property `requireMatchingFile`
2337
+ # @return [Boolean]
2338
+ attr_accessor :require_matching_file
2339
+ alias_method :require_matching_file?, :require_matching_file
2340
+
2341
+ # Regular expression that matches the file paths for all files that should be
2342
+ # referenced by this handler.
2343
+ # Corresponds to the JSON property `uploadPathRegex`
2344
+ # @return [String]
2345
+ attr_accessor :upload_path_regex
2346
+
2347
+ def initialize(**args)
2348
+ update!(**args)
2349
+ end
2350
+
2351
+ # Update properties of this object
2352
+ def update!(**args)
2353
+ @application_readable = args[:application_readable] if args.key?(:application_readable)
2354
+ @expiration = args[:expiration] if args.key?(:expiration)
2355
+ @http_headers = args[:http_headers] if args.key?(:http_headers)
2356
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
2357
+ @path = args[:path] if args.key?(:path)
2358
+ @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
2359
+ @upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
2360
+ end
2361
+ end
2362
+
2363
+ # The Status type defines a logical error model that is suitable for different
2364
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2365
+ # (https://github.com/grpc). The error model is designed to be:
2366
+ # Simple to use and understand for most users
2367
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
2368
+ # three pieces of data: error code, error message, and error details. The error
2369
+ # code should be an enum value of google.rpc.Code, but it may accept additional
2370
+ # error codes if needed. The error message should be a developer-facing English
2371
+ # message that helps developers understand and resolve the error. If a localized
2372
+ # user-facing error message is needed, put the localized message in the error
2373
+ # details or localize it in the client. The optional error details may contain
2374
+ # arbitrary information about the error. There is a predefined set of error
2375
+ # detail types in the package google.rpc that can be used for common error
2376
+ # conditions.Language mappingThe Status message is the logical representation of
2377
+ # the error model, but it is not necessarily the actual wire format. When the
2378
+ # Status message is exposed in different client libraries and different wire
2379
+ # protocols, it can be mapped differently. For example, it will likely be mapped
2380
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
2381
+ # Other usesThe error model and the Status message can be used in a variety of
2382
+ # environments, either with or without APIs, to provide a consistent developer
2383
+ # experience across different environments.Example uses of this error model
2384
+ # include:
2385
+ # Partial errors. If a service needs to return partial errors to the client, it
2386
+ # may embed the Status in the normal response to indicate the partial errors.
2387
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
2388
+ # Status message for error reporting.
2389
+ # Batch operations. If a client uses batch request and batch response, the
2390
+ # Status message should be used directly inside batch response, one for each
2391
+ # error sub-response.
2392
+ # Asynchronous operations. If an API call embeds asynchronous operation results
2393
+ # in its response, the status of those operations should be represented directly
2394
+ # using the Status message.
2395
+ # Logging. If some API errors are stored in logs, the message Status could be
2396
+ # used directly after any stripping needed for security/privacy reasons.
2397
+ class Status
2398
+ include Google::Apis::Core::Hashable
2399
+
2400
+ # The status code, which should be an enum value of google.rpc.Code.
2401
+ # Corresponds to the JSON property `code`
2402
+ # @return [Fixnum]
2403
+ attr_accessor :code
2404
+
2405
+ # A list of messages that carry the error details. There is a common set of
2406
+ # message types for APIs to use.
2407
+ # Corresponds to the JSON property `details`
2408
+ # @return [Array<Hash<String,Object>>]
2409
+ attr_accessor :details
2410
+
2411
+ # A developer-facing error message, which should be in English. Any user-facing
2412
+ # error message should be localized and sent in the google.rpc.Status.details
2413
+ # field, or localized by the client.
2414
+ # Corresponds to the JSON property `message`
2415
+ # @return [String]
2416
+ attr_accessor :message
2417
+
2418
+ def initialize(**args)
2419
+ update!(**args)
2420
+ end
2421
+
2422
+ # Update properties of this object
2423
+ def update!(**args)
2424
+ @code = args[:code] if args.key?(:code)
2425
+ @details = args[:details] if args.key?(:details)
2426
+ @message = args[:message] if args.key?(:message)
2427
+ end
2428
+ end
2429
+
2430
+ # Traffic routing configuration for versions within a single service. Traffic
2431
+ # splits define how traffic directed to the service is assigned to versions.
2432
+ class TrafficSplit
2433
+ include Google::Apis::Core::Hashable
2434
+
2435
+ # Mapping from version IDs within the service to fractional (0.000, 1]
2436
+ # allocations of traffic for that version. Each version can be specified only
2437
+ # once, but some versions in the service may not have any traffic allocation.
2438
+ # Services that have traffic allocated cannot be deleted until either the
2439
+ # service is deleted or their traffic allocation is removed. Allocations must
2440
+ # sum to 1. Up to two decimal place precision is supported for IP-based splits
2441
+ # and up to three decimal places is supported for cookie-based splits.
2442
+ # Corresponds to the JSON property `allocations`
2443
+ # @return [Hash<String,Float>]
2444
+ attr_accessor :allocations
2445
+
2446
+ # Mechanism used to determine which version a request is sent to. The traffic
2447
+ # selection algorithm will be stable for either type until allocations are
2448
+ # changed.
2449
+ # Corresponds to the JSON property `shardBy`
2450
+ # @return [String]
2451
+ attr_accessor :shard_by
2452
+
2453
+ def initialize(**args)
2454
+ update!(**args)
2455
+ end
2456
+
2457
+ # Update properties of this object
2458
+ def update!(**args)
2459
+ @allocations = args[:allocations] if args.key?(:allocations)
2460
+ @shard_by = args[:shard_by] if args.key?(:shard_by)
2461
+ end
2462
+ end
2463
+
2464
+ # Rules to match an HTTP request and dispatch that request to a service.
2465
+ class UrlDispatchRule
2466
+ include Google::Apis::Core::Hashable
2467
+
2468
+ # Domain name to match against. The wildcard "*" is supported if specified
2469
+ # before a period: "*.".Defaults to matching all domains: "*".
2470
+ # Corresponds to the JSON property `domain`
2471
+ # @return [String]
2472
+ attr_accessor :domain
2473
+
2474
+ # Pathname within the host. Must start with a "/". A single "*" can be included
2475
+ # at the end of the path.The sum of the lengths of the domain and path may not
2476
+ # exceed 100 characters.
2477
+ # Corresponds to the JSON property `path`
2478
+ # @return [String]
2479
+ attr_accessor :path
2480
+
2481
+ # Resource ID of a service in this application that should serve the matched
2482
+ # request. The service must already exist. Example: default.
2483
+ # Corresponds to the JSON property `service`
2484
+ # @return [String]
2485
+ attr_accessor :service
2486
+
2487
+ def initialize(**args)
2488
+ update!(**args)
2489
+ end
2490
+
2491
+ # Update properties of this object
2492
+ def update!(**args)
2493
+ @domain = args[:domain] if args.key?(:domain)
2494
+ @path = args[:path] if args.key?(:path)
2495
+ @service = args[:service] if args.key?(:service)
2496
+ end
2497
+ end
2498
+
2499
+ # URL pattern and description of how the URL should be handled. App Engine can
2500
+ # handle URLs by executing application code or by serving static files uploaded
2501
+ # with the version, such as images, CSS, or JavaScript.
2502
+ class UrlMap
2503
+ include Google::Apis::Core::Hashable
2504
+
2505
+ # Uses Google Cloud Endpoints to handle requests.
2506
+ # Corresponds to the JSON property `apiEndpoint`
2507
+ # @return [Google::Apis::AppengineV1beta::ApiEndpointHandler]
2508
+ attr_accessor :api_endpoint
2509
+
2510
+ # Action to take when users access resources that require authentication.
2511
+ # Defaults to redirect.
2512
+ # Corresponds to the JSON property `authFailAction`
2513
+ # @return [String]
2514
+ attr_accessor :auth_fail_action
2515
+
2516
+ # Level of login required to access this resource.
2517
+ # Corresponds to the JSON property `login`
2518
+ # @return [String]
2519
+ attr_accessor :login
2520
+
2521
+ # 30x code to use when performing redirects for the secure field. Defaults to
2522
+ # 302.
2523
+ # Corresponds to the JSON property `redirectHttpResponseCode`
2524
+ # @return [String]
2525
+ attr_accessor :redirect_http_response_code
2526
+
2527
+ # Executes a script to handle the request that matches the URL pattern.
2528
+ # Corresponds to the JSON property `script`
2529
+ # @return [Google::Apis::AppengineV1beta::ScriptHandler]
2530
+ attr_accessor :script
2531
+
2532
+ # Security (HTTPS) enforcement for this URL.
2533
+ # Corresponds to the JSON property `securityLevel`
2534
+ # @return [String]
2535
+ attr_accessor :security_level
2536
+
2537
+ # Files served directly to the user for a given URL, such as images, CSS
2538
+ # stylesheets, or JavaScript source files. Static file handlers describe which
2539
+ # files in the application directory are static files, and which URLs serve them.
2540
+ # Corresponds to the JSON property `staticFiles`
2541
+ # @return [Google::Apis::AppengineV1beta::StaticFilesHandler]
2542
+ attr_accessor :static_files
2543
+
2544
+ # URL prefix. Uses regular expression syntax, which means regexp special
2545
+ # characters must be escaped, but should not contain groupings. All URLs that
2546
+ # begin with this prefix are handled by this handler, using the portion of the
2547
+ # URL after the prefix as part of the file path.
2548
+ # Corresponds to the JSON property `urlRegex`
2549
+ # @return [String]
2550
+ attr_accessor :url_regex
2551
+
2552
+ def initialize(**args)
2553
+ update!(**args)
2554
+ end
2555
+
2556
+ # Update properties of this object
2557
+ def update!(**args)
2558
+ @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
2559
+ @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
2560
+ @login = args[:login] if args.key?(:login)
2561
+ @redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
2562
+ @script = args[:script] if args.key?(:script)
2563
+ @security_level = args[:security_level] if args.key?(:security_level)
2564
+ @static_files = args[:static_files] if args.key?(:static_files)
2565
+ @url_regex = args[:url_regex] if args.key?(:url_regex)
2566
+ end
2567
+ end
2568
+
2569
+ # A Version resource is a specific set of source code and configuration files
2570
+ # that are deployed into a service.
2571
+ class Version
2572
+ include Google::Apis::Core::Hashable
2573
+
2574
+ # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
2575
+ # endpoints/) configuration for API handlers.
2576
+ # Corresponds to the JSON property `apiConfig`
2577
+ # @return [Google::Apis::AppengineV1beta::ApiConfigHandler]
2578
+ attr_accessor :api_config
2579
+
2580
+ # Automatic scaling is based on request rate, response latencies, and other
2581
+ # application metrics.
2582
+ # Corresponds to the JSON property `automaticScaling`
2583
+ # @return [Google::Apis::AppengineV1beta::AutomaticScaling]
2584
+ attr_accessor :automatic_scaling
2585
+
2586
+ # A service with basic scaling will create an instance when the application
2587
+ # receives a request. The instance will be turned down when the app becomes idle.
2588
+ # Basic scaling is ideal for work that is intermittent or driven by user
2589
+ # activity.
2590
+ # Corresponds to the JSON property `basicScaling`
2591
+ # @return [Google::Apis::AppengineV1beta::BasicScaling]
2592
+ attr_accessor :basic_scaling
2593
+
2594
+ # Metadata settings that are supplied to this version to enable beta runtime
2595
+ # features.
2596
+ # Corresponds to the JSON property `betaSettings`
2597
+ # @return [Hash<String,String>]
2598
+ attr_accessor :beta_settings
2599
+
2600
+ # Time that this version was created.@OutputOnly
2601
+ # Corresponds to the JSON property `createTime`
2602
+ # @return [String]
2603
+ attr_accessor :create_time
2604
+
2605
+ # Email address of the user who created this version.@OutputOnly
2606
+ # Corresponds to the JSON property `createdBy`
2607
+ # @return [String]
2608
+ attr_accessor :created_by
2609
+
2610
+ # Duration that static files should be cached by web proxies and browsers. Only
2611
+ # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
2612
+ # appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#
2613
+ # staticfileshandler) does not specify its own expiration time.Only returned in
2614
+ # GET requests if view=FULL is set.
2615
+ # Corresponds to the JSON property `defaultExpiration`
2616
+ # @return [String]
2617
+ attr_accessor :default_expiration
2618
+
2619
+ # Code and application artifacts used to deploy a version to App Engine.
2620
+ # Corresponds to the JSON property `deployment`
2621
+ # @return [Google::Apis::AppengineV1beta::Deployment]
2622
+ attr_accessor :deployment
2623
+
2624
+ # Total size in bytes of all the files that are included in this version and
2625
+ # curerntly hosted on the App Engine disk.@OutputOnly
2626
+ # Corresponds to the JSON property `diskUsageBytes`
2627
+ # @return [Fixnum]
2628
+ attr_accessor :disk_usage_bytes
2629
+
2630
+ # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
2631
+ # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
2632
+ # via an NGINX proxy.The fields here refer to the name and configuration id of a
2633
+ # "service" resource in the Service Management API (https://cloud.google.com/
2634
+ # service-management/overview).
2635
+ # Corresponds to the JSON property `endpointsApiService`
2636
+ # @return [Google::Apis::AppengineV1beta::EndpointsApiService]
2637
+ attr_accessor :endpoints_api_service
2638
+
2639
+ # App Engine execution environment for this version.Defaults to standard.
2640
+ # Corresponds to the JSON property `env`
2641
+ # @return [String]
2642
+ attr_accessor :env
2643
+
2644
+ # Environment variables available to the application.Only returned in GET
2645
+ # requests if view=FULL is set.
2646
+ # Corresponds to the JSON property `envVariables`
2647
+ # @return [Hash<String,String>]
2648
+ attr_accessor :env_variables
2649
+
2650
+ # Custom static error pages. Limited to 10KB per page.Only returned in GET
2651
+ # requests if view=FULL is set.
2652
+ # Corresponds to the JSON property `errorHandlers`
2653
+ # @return [Array<Google::Apis::AppengineV1beta::ErrorHandler>]
2654
+ attr_accessor :error_handlers
2655
+
2656
+ # An ordered list of URL-matching patterns that should be applied to incoming
2657
+ # requests. The first matching URL handles the request and other request
2658
+ # handlers are not attempted.Only returned in GET requests if view=FULL is set.
2659
+ # Corresponds to the JSON property `handlers`
2660
+ # @return [Array<Google::Apis::AppengineV1beta::UrlMap>]
2661
+ attr_accessor :handlers
2662
+
2663
+ # Health checking configuration for VM instances. Unhealthy instances are killed
2664
+ # and replaced with new instances. Only applicable for instances in App Engine
2665
+ # flexible environment.
2666
+ # Corresponds to the JSON property `healthCheck`
2667
+ # @return [Google::Apis::AppengineV1beta::HealthCheck]
2668
+ attr_accessor :health_check
2669
+
2670
+ # Relative name of the version within the service. Example: v1. Version names
2671
+ # can contain only lowercase letters, numbers, or hyphens. Reserved names: "
2672
+ # default", "latest", and any name with the prefix "ah-".
2673
+ # Corresponds to the JSON property `id`
2674
+ # @return [String]
2675
+ attr_accessor :id
2676
+
2677
+ # Before an application can receive email or XMPP messages, the application must
2678
+ # be configured to enable the service.
2679
+ # Corresponds to the JSON property `inboundServices`
2680
+ # @return [Array<String>]
2681
+ attr_accessor :inbound_services
2682
+
2683
+ # Instance class that is used to run this version. Valid values are:
2684
+ # AutomaticScaling: F1, F2, F4, F4_1G
2685
+ # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
2686
+ # AutomaticScaling and B1 for ManualScaling or BasicScaling.
2687
+ # Corresponds to the JSON property `instanceClass`
2688
+ # @return [String]
2689
+ attr_accessor :instance_class
2690
+
2691
+ # Configuration for third-party Python runtime libraries that are required by
2692
+ # the application.Only returned in GET requests if view=FULL is set.
2693
+ # Corresponds to the JSON property `libraries`
2694
+ # @return [Array<Google::Apis::AppengineV1beta::Library>]
2695
+ attr_accessor :libraries
2696
+
2697
+ # Health checking configuration for VM instances. Unhealthy instances are killed
2698
+ # and replaced with new instances.
2699
+ # Corresponds to the JSON property `livenessCheck`
2700
+ # @return [Google::Apis::AppengineV1beta::LivenessCheck]
2701
+ attr_accessor :liveness_check
2702
+
2703
+ # A service with manual scaling runs continuously, allowing you to perform
2704
+ # complex initialization and rely on the state of its memory over time.
2705
+ # Corresponds to the JSON property `manualScaling`
2706
+ # @return [Google::Apis::AppengineV1beta::ManualScaling]
2707
+ attr_accessor :manual_scaling
2708
+
2709
+ # Full path to the Version resource in the API. Example: apps/myapp/services/
2710
+ # default/versions/v1.@OutputOnly
2711
+ # Corresponds to the JSON property `name`
2712
+ # @return [String]
2713
+ attr_accessor :name
2714
+
2715
+ # Extra network settings. Only applicable for App Engine flexible environment
2716
+ # versions
2717
+ # Corresponds to the JSON property `network`
2718
+ # @return [Google::Apis::AppengineV1beta::Network]
2719
+ attr_accessor :network
2720
+
2721
+ # Files that match this pattern will not be built into this version. Only
2722
+ # applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
2723
+ # Corresponds to the JSON property `nobuildFilesRegex`
2724
+ # @return [String]
2725
+ attr_accessor :nobuild_files_regex
2726
+
2727
+ # Readiness checking configuration for VM instances. Unhealthy instances are
2728
+ # removed from traffic rotation.
2729
+ # Corresponds to the JSON property `readinessCheck`
2730
+ # @return [Google::Apis::AppengineV1beta::ReadinessCheck]
2731
+ attr_accessor :readiness_check
2732
+
2733
+ # Machine resources for a version.
2734
+ # Corresponds to the JSON property `resources`
2735
+ # @return [Google::Apis::AppengineV1beta::Resources]
2736
+ attr_accessor :resources
2737
+
2738
+ # Desired runtime. Example: python27.
2739
+ # Corresponds to the JSON property `runtime`
2740
+ # @return [String]
2741
+ attr_accessor :runtime
2742
+
2743
+ # The version of the API in the given runtime environment. Please see the app.
2744
+ # yaml reference for valid values at https://cloud.google.com/appengine/docs/
2745
+ # standard/<language>/config/appref
2746
+ # Corresponds to the JSON property `runtimeApiVersion`
2747
+ # @return [String]
2748
+ attr_accessor :runtime_api_version
2749
+
2750
+ # Current serving status of this version. Only the versions with a SERVING
2751
+ # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
2752
+ # invalid value. Defaults to SERVING.
2753
+ # Corresponds to the JSON property `servingStatus`
2754
+ # @return [String]
2755
+ attr_accessor :serving_status
2756
+
2757
+ # Whether multiple requests can be dispatched to this version at once.
2758
+ # Corresponds to the JSON property `threadsafe`
2759
+ # @return [Boolean]
2760
+ attr_accessor :threadsafe
2761
+ alias_method :threadsafe?, :threadsafe
2762
+
2763
+ # Serving URL for this version. Example: "https://myversion-dot-myservice-dot-
2764
+ # myapp.appspot.com"@OutputOnly
2765
+ # Corresponds to the JSON property `versionUrl`
2766
+ # @return [String]
2767
+ attr_accessor :version_url
2768
+
2769
+ # Whether to deploy this version in a container on a virtual machine.
2770
+ # Corresponds to the JSON property `vm`
2771
+ # @return [Boolean]
2772
+ attr_accessor :vm
2773
+ alias_method :vm?, :vm
2774
+
2775
+ def initialize(**args)
2776
+ update!(**args)
2777
+ end
2778
+
2779
+ # Update properties of this object
2780
+ def update!(**args)
2781
+ @api_config = args[:api_config] if args.key?(:api_config)
2782
+ @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
2783
+ @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
2784
+ @beta_settings = args[:beta_settings] if args.key?(:beta_settings)
2785
+ @create_time = args[:create_time] if args.key?(:create_time)
2786
+ @created_by = args[:created_by] if args.key?(:created_by)
2787
+ @default_expiration = args[:default_expiration] if args.key?(:default_expiration)
2788
+ @deployment = args[:deployment] if args.key?(:deployment)
2789
+ @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
2790
+ @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
2791
+ @env = args[:env] if args.key?(:env)
2792
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
2793
+ @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
2794
+ @handlers = args[:handlers] if args.key?(:handlers)
2795
+ @health_check = args[:health_check] if args.key?(:health_check)
2796
+ @id = args[:id] if args.key?(:id)
2797
+ @inbound_services = args[:inbound_services] if args.key?(:inbound_services)
2798
+ @instance_class = args[:instance_class] if args.key?(:instance_class)
2799
+ @libraries = args[:libraries] if args.key?(:libraries)
2800
+ @liveness_check = args[:liveness_check] if args.key?(:liveness_check)
2801
+ @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
2802
+ @name = args[:name] if args.key?(:name)
2803
+ @network = args[:network] if args.key?(:network)
2804
+ @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
2805
+ @readiness_check = args[:readiness_check] if args.key?(:readiness_check)
2806
+ @resources = args[:resources] if args.key?(:resources)
2807
+ @runtime = args[:runtime] if args.key?(:runtime)
2808
+ @runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
2809
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
2810
+ @threadsafe = args[:threadsafe] if args.key?(:threadsafe)
2811
+ @version_url = args[:version_url] if args.key?(:version_url)
2812
+ @vm = args[:vm] if args.key?(:vm)
2813
+ end
2814
+ end
2815
+
2816
+ # Volumes mounted within the app container. Only applicable for VM runtimes.
2817
+ class Volume
2818
+ include Google::Apis::Core::Hashable
2819
+
2820
+ # Unique name for the volume.
2821
+ # Corresponds to the JSON property `name`
2822
+ # @return [String]
2823
+ attr_accessor :name
2824
+
2825
+ # Volume size in gigabytes.
2826
+ # Corresponds to the JSON property `sizeGb`
2827
+ # @return [Float]
2828
+ attr_accessor :size_gb
2829
+
2830
+ # Underlying volume type, e.g. 'tmpfs'.
2831
+ # Corresponds to the JSON property `volumeType`
2832
+ # @return [String]
2833
+ attr_accessor :volume_type
2834
+
2835
+ def initialize(**args)
2836
+ update!(**args)
2837
+ end
2838
+
2839
+ # Update properties of this object
2840
+ def update!(**args)
2841
+ @name = args[:name] if args.key?(:name)
2842
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2843
+ @volume_type = args[:volume_type] if args.key?(:volume_type)
2844
+ end
2845
+ end
2846
+
2847
+ # The zip file information for a zip deployment.
2848
+ class ZipInfo
2849
+ include Google::Apis::Core::Hashable
2850
+
2851
+ # An estimate of the number of files in a zip for a zip deployment. If set, must
2852
+ # be greater than or equal to the actual number of files. Used for optimizing
2853
+ # performance; if not provided, deployment may be slow.
2854
+ # Corresponds to the JSON property `filesCount`
2855
+ # @return [Fixnum]
2856
+ attr_accessor :files_count
2857
+
2858
+ # URL of the zip file to deploy from. Must be a URL to a resource in Google
2859
+ # Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
2860
+ # Corresponds to the JSON property `sourceUrl`
2861
+ # @return [String]
2862
+ attr_accessor :source_url
2863
+
2864
+ def initialize(**args)
2865
+ update!(**args)
2866
+ end
2867
+
2868
+ # Update properties of this object
2869
+ def update!(**args)
2870
+ @files_count = args[:files_count] if args.key?(:files_count)
2871
+ @source_url = args[:source_url] if args.key?(:source_url)
2872
+ end
2873
+ end
2874
+ end
2875
+ end
2876
+ end