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