lemboy-google-api-client 0.9.26

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