google-api-client 0.9.8 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -660,6 +660,61 @@ module Google
660
660
  execute_or_queue_command(command, &block)
661
661
  end
662
662
 
663
+ # Uploads the deobfuscation file of the specified APK. If a deobfuscation file
664
+ # already exists, it will be replaced.
665
+ # @param [String] package_name
666
+ # Unique identifier of the Android app for which the deobfuscatiuon files are
667
+ # being uploaded; for example, "com.spiffygame".
668
+ # @param [String] edit_id
669
+ # Unique identifier for this edit.
670
+ # @param [Fixnum] apk_version_code
671
+ # The version code of the APK whose deobfuscation file is being uploaded.
672
+ # @param [String] deobfuscation_file_type
673
+ # @param [String] fields
674
+ # Selector specifying which fields to include in a partial response.
675
+ # @param [String] quota_user
676
+ # Available to use for quota purposes for server-side applications. Can be any
677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
678
+ # Overrides userIp if both are provided.
679
+ # @param [String] user_ip
680
+ # IP address of the site where the request originates. Use this if you want to
681
+ # enforce per-user limits.
682
+ # @param [IO, String] upload_source
683
+ # IO stream or filename containing content to upload
684
+ # @param [String] content_type
685
+ # Content type of the uploaded content.
686
+ # @param [Google::Apis::RequestOptions] options
687
+ # Request-specific options
688
+ #
689
+ # @yield [result, err] Result & error if block supplied
690
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] parsed result object
691
+ # @yieldparam err [StandardError] error object if request failed
692
+ #
693
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse]
694
+ #
695
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
696
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
697
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
698
+ def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
699
+ if upload_source.nil?
700
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
701
+ else
702
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
703
+ command.upload_source = upload_source
704
+ command.upload_content_type = content_type
705
+ end
706
+ command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation
707
+ command.response_class = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
708
+ command.params['packageName'] = package_name unless package_name.nil?
709
+ command.params['editId'] = edit_id unless edit_id.nil?
710
+ command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
711
+ command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil?
712
+ command.query['fields'] = fields unless fields.nil?
713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
714
+ command.query['userIp'] = user_ip unless user_ip.nil?
715
+ execute_or_queue_command(command, &block)
716
+ end
717
+
663
718
  # Fetches app details for this edit. This includes the default language and
664
719
  # developer support contact information.
665
720
  # @param [String] package_name
@@ -2325,11 +2380,66 @@ module Google
2325
2380
  execute_or_queue_command(command, &block)
2326
2381
  end
2327
2382
 
2383
+ # Lists the purchases that were cancelled, refunded or charged-back.
2384
+ # @param [String] package_name
2385
+ # The package name of the application for which voided purchases need to be
2386
+ # returned (for example, 'com.some.thing').
2387
+ # @param [String] end_time
2388
+ # The time, in milliseconds since the Epoch, of the newest voided in-app product
2389
+ # purchase that you want to see in the response. The value of this parameter
2390
+ # cannot be greater than the current time and is ignored if a pagination token
2391
+ # is set. Default value is current time.
2392
+ # @param [Fixnum] max_results
2393
+ # @param [Fixnum] start_index
2394
+ # @param [String] start_time
2395
+ # The time, in milliseconds since the Epoch, of the oldest voided in-app product
2396
+ # purchase that you want to see in the response. The value of this parameter
2397
+ # cannot be older than 30 days and is ignored if a pagination token is set.
2398
+ # Default value is current time minus 30 days.
2399
+ # @param [String] token
2400
+ # @param [String] fields
2401
+ # Selector specifying which fields to include in a partial response.
2402
+ # @param [String] quota_user
2403
+ # Available to use for quota purposes for server-side applications. Can be any
2404
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2405
+ # Overrides userIp if both are provided.
2406
+ # @param [String] user_ip
2407
+ # IP address of the site where the request originates. Use this if you want to
2408
+ # enforce per-user limits.
2409
+ # @param [Google::Apis::RequestOptions] options
2410
+ # Request-specific options
2411
+ #
2412
+ # @yield [result, err] Result & error if block supplied
2413
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] parsed result object
2414
+ # @yieldparam err [StandardError] error object if request failed
2415
+ #
2416
+ # @return [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse]
2417
+ #
2418
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2419
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2420
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2421
+ def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2422
+ command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
2423
+ command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation
2424
+ command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
2425
+ command.params['packageName'] = package_name unless package_name.nil?
2426
+ command.query['endTime'] = end_time unless end_time.nil?
2427
+ command.query['maxResults'] = max_results unless max_results.nil?
2428
+ command.query['startIndex'] = start_index unless start_index.nil?
2429
+ command.query['startTime'] = start_time unless start_time.nil?
2430
+ command.query['token'] = token unless token.nil?
2431
+ command.query['fields'] = fields unless fields.nil?
2432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2433
+ command.query['userIp'] = user_ip unless user_ip.nil?
2434
+ execute_or_queue_command(command, &block)
2435
+ end
2436
+
2328
2437
  # Returns a single review.
2329
2438
  # @param [String] package_name
2330
2439
  # Unique identifier for the Android app for which we want reviews; for example, "
2331
2440
  # com.spiffygame".
2332
2441
  # @param [String] review_id
2442
+ # @param [String] translation_language
2333
2443
  # @param [String] fields
2334
2444
  # Selector specifying which fields to include in a partial response.
2335
2445
  # @param [String] quota_user
@@ -2351,25 +2461,27 @@ module Google
2351
2461
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2352
2462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2353
2463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2354
- def get_review(package_name, review_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2464
+ def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2355
2465
  command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
2356
2466
  command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation
2357
2467
  command.response_class = Google::Apis::AndroidpublisherV2::Review
2358
2468
  command.params['packageName'] = package_name unless package_name.nil?
2359
2469
  command.params['reviewId'] = review_id unless review_id.nil?
2470
+ command.query['translationLanguage'] = translation_language unless translation_language.nil?
2360
2471
  command.query['fields'] = fields unless fields.nil?
2361
2472
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2362
2473
  command.query['userIp'] = user_ip unless user_ip.nil?
2363
2474
  execute_or_queue_command(command, &block)
2364
2475
  end
2365
2476
 
2366
- # Returns a list of reviews.
2477
+ # Returns a list of reviews. Only reviews from last week will be returned.
2367
2478
  # @param [String] package_name
2368
2479
  # Unique identifier for the Android app for which we want reviews; for example, "
2369
2480
  # com.spiffygame".
2370
2481
  # @param [Fixnum] max_results
2371
2482
  # @param [Fixnum] start_index
2372
2483
  # @param [String] token
2484
+ # @param [String] translation_language
2373
2485
  # @param [String] fields
2374
2486
  # Selector specifying which fields to include in a partial response.
2375
2487
  # @param [String] quota_user
@@ -2391,7 +2503,7 @@ module Google
2391
2503
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2392
2504
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2393
2505
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2394
- def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2506
+ def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2395
2507
  command = make_simple_command(:get, '{packageName}/reviews', options)
2396
2508
  command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation
2397
2509
  command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse
@@ -2399,6 +2511,7 @@ module Google
2399
2511
  command.query['maxResults'] = max_results unless max_results.nil?
2400
2512
  command.query['startIndex'] = start_index unless start_index.nil?
2401
2513
  command.query['token'] = token unless token.nil?
2514
+ command.query['translationLanguage'] = translation_language unless translation_language.nil?
2402
2515
  command.query['fields'] = fields unless fields.nil?
2403
2516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2404
2517
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -25,10 +25,16 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1beta5
27
27
  VERSION = 'V1beta5'
28
- REVISION = '20160407'
28
+ REVISION = '20170324'
29
+
30
+ # View and manage your applications deployed on Google App Engine
31
+ AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
29
32
 
30
33
  # View and manage your data across Google Cloud Platform services
31
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'
32
38
  end
33
39
  end
34
40
  end
@@ -22,14 +22,39 @@ module Google
22
22
  module Apis
23
23
  module AppengineV1beta5
24
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
+
25
50
  # This resource represents a long-running operation that is the result of a
26
51
  # network API call.
27
52
  class Operation
28
53
  include Google::Apis::Core::Hashable
29
54
 
30
55
  # The server-assigned name, which is only unique within the same service that
31
- # originally returns it. If you use the default HTTP mapping, the `name` should
32
- # have the format of `operations/some/unique/name`.
56
+ # originally returns it. If you use the default HTTP mapping, the name should
57
+ # have the format of operations/some/unique/name.
33
58
  # Corresponds to the JSON property `name`
34
59
  # @return [String]
35
60
  attr_accessor :name
@@ -42,56 +67,55 @@ module Google
42
67
  # @return [Hash<String,Object>]
43
68
  attr_accessor :metadata
44
69
 
45
- # If the value is `false`, it means the operation is still in progress. If true,
46
- # the operation is completed, and either `error` or `response` is available.
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.
47
72
  # Corresponds to the JSON property `done`
48
73
  # @return [Boolean]
49
74
  attr_accessor :done
50
75
  alias_method :done?, :done
51
76
 
52
- # The `Status` type defines a logical error model that is suitable for different
53
- # programming environments, including REST APIs and RPC APIs. It is used by [
54
- # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
55
- # use and understand for most users - Flexible enough to meet unexpected needs #
56
- # Overview The `Status` message contains three pieces of data: error code, error
57
- # message, and error details. The error code should be an enum value of google.
58
- # rpc.Code, but it may accept additional error codes if needed. The error
59
- # message should be a developer-facing English message that helps developers *
60
- # understand* and *resolve* the error. If a localized user-facing error message
61
- # is needed, put the localized message in the error details or localize it in
62
- # the client. The optional error details may contain arbitrary information about
63
- # the error. There is a predefined set of error detail types in the package `
64
- # google.rpc` which can be used for common error conditions. # Language mapping
65
- # The `Status` message is the logical representation of the error model, but it
66
- # is not necessarily the actual wire format. When the `Status` message is
67
- # exposed in different client libraries and different wire protocols, it can be
68
- # mapped differently. For example, it will likely be mapped to some exceptions
69
- # in Java, but more likely mapped to some error codes in C. # Other uses The
70
- # error model and the `Status` message can be used in a variety of environments,
71
- # either with or without APIs, to provide a consistent developer experience
72
- # across different environments. Example uses of this error model include: -
73
- # Partial errors. If a service needs to return partial errors to the client, it
74
- # may embed the `Status` in the normal response to indicate the partial errors. -
75
- # Workflow errors. A typical workflow has multiple steps. Each step may have a `
76
- # Status` message for error reporting purpose. - Batch operations. If a client
77
- # uses batch request and batch response, the `Status` message should be used
78
- # directly inside batch response, one for each error sub-response. -
79
- # Asynchronous operations. If an API call embeds asynchronous operation results
80
- # in its response, the status of those operations should be represented directly
81
- # using the `Status` message. - Logging. If some API errors are stored in logs,
82
- # the message `Status` could be used directly after any stripping needed for
83
- # security/privacy reasons.
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.
84
108
  # Corresponds to the JSON property `error`
85
109
  # @return [Google::Apis::AppengineV1beta5::Status]
86
110
  attr_accessor :error
87
111
 
88
112
  # The normal response of the operation in case of success. If the original
89
- # method returns no data on success, such as `Delete`, the response is `google.
90
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
91
- # the response should be the resource. For other methods, the response should
92
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
93
- # example, if the original method name is `TakeSnapshot()`, the inferred
94
- # response type is `TakeSnapshotResponse`.
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.
95
119
  # Corresponds to the JSON property `response`
96
120
  # @return [Hash<String,Object>]
97
121
  attr_accessor :response
@@ -110,38 +134,37 @@ module Google
110
134
  end
111
135
  end
112
136
 
113
- # The `Status` type defines a logical error model that is suitable for different
114
- # programming environments, including REST APIs and RPC APIs. It is used by [
115
- # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
116
- # use and understand for most users - Flexible enough to meet unexpected needs #
117
- # Overview The `Status` message contains three pieces of data: error code, error
118
- # message, and error details. The error code should be an enum value of google.
119
- # rpc.Code, but it may accept additional error codes if needed. The error
120
- # message should be a developer-facing English message that helps developers *
121
- # understand* and *resolve* the error. If a localized user-facing error message
122
- # is needed, put the localized message in the error details or localize it in
123
- # the client. The optional error details may contain arbitrary information about
124
- # the error. There is a predefined set of error detail types in the package `
125
- # google.rpc` which can be used for common error conditions. # Language mapping
126
- # The `Status` message is the logical representation of the error model, but it
127
- # is not necessarily the actual wire format. When the `Status` message is
128
- # exposed in different client libraries and different wire protocols, it can be
129
- # mapped differently. For example, it will likely be mapped to some exceptions
130
- # in Java, but more likely mapped to some error codes in C. # Other uses The
131
- # error model and the `Status` message can be used in a variety of environments,
132
- # either with or without APIs, to provide a consistent developer experience
133
- # across different environments. Example uses of this error model include: -
134
- # Partial errors. If a service needs to return partial errors to the client, it
135
- # may embed the `Status` in the normal response to indicate the partial errors. -
136
- # Workflow errors. A typical workflow has multiple steps. Each step may have a `
137
- # Status` message for error reporting purpose. - Batch operations. If a client
138
- # uses batch request and batch response, the `Status` message should be used
139
- # directly inside batch response, one for each error sub-response. -
140
- # Asynchronous operations. If an API call embeds asynchronous operation results
141
- # in its response, the status of those operations should be represented directly
142
- # using the `Status` message. - Logging. If some API errors are stored in logs,
143
- # the message `Status` could be used directly after any stripping needed for
144
- # security/privacy reasons.
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.
145
168
  class Status
146
169
  include Google::Apis::Core::Hashable
147
170
 
@@ -175,93 +198,72 @@ module Google
175
198
  end
176
199
  end
177
200
 
178
- # The response message for Operations.ListOperations.
179
- class ListOperationsResponse
180
- include Google::Apis::Core::Hashable
181
-
182
- # A list of operations that matches the specified filter in the request.
183
- # Corresponds to the JSON property `operations`
184
- # @return [Array<Google::Apis::AppengineV1beta5::Operation>]
185
- attr_accessor :operations
186
-
187
- # The standard List next-page token.
188
- # Corresponds to the JSON property `nextPageToken`
189
- # @return [String]
190
- attr_accessor :next_page_token
191
-
192
- def initialize(**args)
193
- update!(**args)
194
- end
195
-
196
- # Update properties of this object
197
- def update!(**args)
198
- @operations = args[:operations] if args.key?(:operations)
199
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
200
- end
201
- end
202
-
203
- # An Application contains the top-level configuration of an App Engine
201
+ # An Application resource contains the top-level configuration of an App Engine
204
202
  # application.
205
203
  class Application
206
204
  include Google::Apis::Core::Hashable
207
205
 
208
- # The full path to the application in the API. Example: "apps/myapp". @
206
+ # Full path to the Application resource in the API. Example: apps/myapp.@
209
207
  # OutputOnly
210
208
  # Corresponds to the JSON property `name`
211
209
  # @return [String]
212
210
  attr_accessor :name
213
211
 
214
- # The relative name/path of the application. Example: "myapp".
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
215
  # Corresponds to the JSON property `id`
216
216
  # @return [String]
217
217
  attr_accessor :id
218
218
 
219
- # HTTP path dispatch rules for requests to the app that do not explicitly target
220
- # a service or version. The rules are order-dependent. @OutputOnly
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
221
  # Corresponds to the JSON property `dispatchRules`
222
222
  # @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
223
223
  attr_accessor :dispatch_rules
224
224
 
225
- # If set, only users from the specified Google Apps authentication domain may
226
- # access the application. If not set, any Google Account may access the
227
- # application.
225
+ # Google Apps authentication domain that controls which users can access this
226
+ # application.Defaults to open access for any Google Account.
228
227
  # Corresponds to the JSON property `authDomain`
229
228
  # @return [String]
230
229
  attr_accessor :auth_domain
231
230
 
232
- # The location from which the application will be run. Application instances
233
- # will run out of data centers in the chosen location and all of the application'
234
- # s End User Content will be stored at rest. The default is "us-central".
235
- # Choices are: "us-central" - Central US "europe-west" - Western Europe "us-
236
- # east1" - Eastern US
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
237
235
  # Corresponds to the JSON property `location`
238
236
  # @return [String]
239
237
  attr_accessor :location
240
238
 
241
- # A Google Cloud Storage bucket which can be used for storing files associated
242
- # with an application. This bucket is associated with the application and can be
243
- # used by the gcloud deployment commands. @OutputOnly
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
244
242
  # Corresponds to the JSON property `codeBucket`
245
243
  # @return [String]
246
244
  attr_accessor :code_bucket
247
245
 
248
- # Determines the cookie expiration policy for the application. @OutputOnly
246
+ # Cookie expiration policy for this application.
249
247
  # Corresponds to the JSON property `defaultCookieExpiration`
250
248
  # @return [String]
251
249
  attr_accessor :default_cookie_expiration
252
250
 
253
- # The hostname used to reach the application, as resolved by App Engine. @
254
- # OutputOnly
251
+ # Hostname used to reach the application, as resolved by App Engine.@OutputOnly
255
252
  # Corresponds to the JSON property `defaultHostname`
256
253
  # @return [String]
257
254
  attr_accessor :default_hostname
258
255
 
259
- # A Google Cloud Storage bucket which can be used by the application to store
260
- # content. @OutputOnly
256
+ # A Google Cloud Storage bucket that can be used by the application to store
257
+ # content.@OutputOnly
261
258
  # Corresponds to the JSON property `defaultBucket`
262
259
  # @return [String]
263
260
  attr_accessor :default_bucket
264
261
 
262
+ # Identity-Aware Proxy
263
+ # Corresponds to the JSON property `iap`
264
+ # @return [Google::Apis::AppengineV1beta5::IdentityAwareProxy]
265
+ attr_accessor :iap
266
+
265
267
  def initialize(**args)
266
268
  update!(**args)
267
269
  end
@@ -277,6 +279,7 @@ module Google
277
279
  @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
278
280
  @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
279
281
  @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
282
+ @iap = args[:iap] if args.key?(:iap)
280
283
  end
281
284
  end
282
285
 
@@ -284,21 +287,21 @@ module Google
284
287
  class UrlDispatchRule
285
288
  include Google::Apis::Core::Hashable
286
289
 
287
- # The domain name to match on. Supports '*' (glob) wildcarding on the left-hand
288
- # side of a '.'. If empty, all domains will be matched (the same as '*').
290
+ # Domain name to match against. The wildcard "*" is supported if specified
291
+ # before a period: "*.".Defaults to matching all domains: "*".
289
292
  # Corresponds to the JSON property `domain`
290
293
  # @return [String]
291
294
  attr_accessor :domain
292
295
 
293
- # The pathname within the host. This must start with a '/'. A single '*' (glob)
294
- # can be included at the end of the path. The sum of the lengths of the domain
295
- # and path may not exceed 100 characters.
296
+ # Pathname within the host. Must start with a "/". A single "*" can be included
297
+ # at the end of the path. The sum of the lengths of the domain and path may not
298
+ # exceed 100 characters.
296
299
  # Corresponds to the JSON property `path`
297
300
  # @return [String]
298
301
  attr_accessor :path
299
302
 
300
- # The resource id of a Service in this application that should service the
301
- # matched request. The Service must already exist. Example: "default".
303
+ # Resource id of a service in this application that should serve the matched
304
+ # request. The service must already exist. Example: default.
302
305
  # Corresponds to the JSON property `service`
303
306
  # @return [String]
304
307
  attr_accessor :service
@@ -315,27 +318,67 @@ module Google
315
318
  end
316
319
  end
317
320
 
318
- # A Version is a specific set of source code and configuration files deployed to
319
- # a service.
321
+ # Identity-Aware Proxy
322
+ class IdentityAwareProxy
323
+ include Google::Apis::Core::Hashable
324
+
325
+ # Whether the serving infrastructure will authenticate and authorize all
326
+ # incoming requests.If true, the oauth2_client_id and oauth2_client_secret
327
+ # fields must be non-empty.
328
+ # Corresponds to the JSON property `enabled`
329
+ # @return [Boolean]
330
+ attr_accessor :enabled
331
+ alias_method :enabled?, :enabled
332
+
333
+ # OAuth2 client ID to use for the authentication flow.
334
+ # Corresponds to the JSON property `oauth2ClientId`
335
+ # @return [String]
336
+ attr_accessor :oauth2_client_id
337
+
338
+ # For security reasons, this value cannot be retrieved via the API. Instead, the
339
+ # SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.
340
+ # @InputOnly
341
+ # Corresponds to the JSON property `oauth2ClientSecret`
342
+ # @return [String]
343
+ attr_accessor :oauth2_client_secret
344
+
345
+ # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
346
+ # Corresponds to the JSON property `oauth2ClientSecretSha256`
347
+ # @return [String]
348
+ attr_accessor :oauth2_client_secret_sha256
349
+
350
+ def initialize(**args)
351
+ update!(**args)
352
+ end
353
+
354
+ # Update properties of this object
355
+ def update!(**args)
356
+ @enabled = args[:enabled] if args.key?(:enabled)
357
+ @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
358
+ @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
359
+ @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
360
+ end
361
+ end
362
+
363
+ # A Version resource is a specific set of source code and configuration files
364
+ # that are deployed into a service.
320
365
  class Version
321
366
  include Google::Apis::Core::Hashable
322
367
 
323
- # The full path to the Version resource in the API. Example: "apps/myapp/
324
- # services/default/versions/v1". @OutputOnly
368
+ # Full path to the Version resource in the API. Example: apps/myapp/services/
369
+ # default/versions/v1.@OutputOnly
325
370
  # Corresponds to the JSON property `name`
326
371
  # @return [String]
327
372
  attr_accessor :name
328
373
 
329
- # The relative name/path of the Version within the service. Example: "v1".
330
- # Version specifiers can contain lowercase letters, digits, and hyphens. It
331
- # cannot begin with the prefix `ah-` and the names `default` and `latest` are
332
- # reserved and cannot be used.
374
+ # Relative name of the version within the module. Example: v1. Version names can
375
+ # contain only lowercase letters, numbers, or hyphens. Reserved names: "default",
376
+ # "latest", and any name with the prefix "ah-".
333
377
  # Corresponds to the JSON property `id`
334
378
  # @return [String]
335
379
  attr_accessor :id
336
380
 
337
- # Automatic scaling is the scaling policy that App Engine has used since its
338
- # inception. It is based on request rate, response latencies, and other
381
+ # Automatic scaling is based on request rate, response latencies, and other
339
382
  # application metrics.
340
383
  # Corresponds to the JSON property `automaticScaling`
341
384
  # @return [Google::Apis::AppengineV1beta5::AutomaticScaling]
@@ -361,125 +404,123 @@ module Google
361
404
  # @return [Array<String>]
362
405
  attr_accessor :inbound_services
363
406
 
364
- # The instance class to use to run this app. Valid values for AutomaticScaling
365
- # are `[F1, F2, F4, F4_1G]`. Valid values for ManualScaling and BasicScaling are
366
- # `[B1, B2, B4, B8, B4_1G]`. Default: "F1" for AutomaticScaling, "B1" for
367
- # ManualScaling and BasicScaling
407
+ # Instance class that is used to run this version. Valid values are:
408
+ # AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4,
409
+ # B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or
410
+ # BasicScaling.
368
411
  # Corresponds to the JSON property `instanceClass`
369
412
  # @return [String]
370
413
  attr_accessor :instance_class
371
414
 
372
- # Used to specify extra network settings (for VM runtimes only).
415
+ # Extra network settings. Only applicable for VM runtimes.
373
416
  # Corresponds to the JSON property `network`
374
417
  # @return [Google::Apis::AppengineV1beta5::Network]
375
418
  attr_accessor :network
376
419
 
377
- # Used to specify how many machine resources an app version needs.
420
+ # Machine resources for a version.
378
421
  # Corresponds to the JSON property `resources`
379
422
  # @return [Google::Apis::AppengineV1beta5::Resources]
380
423
  attr_accessor :resources
381
424
 
382
- # The desired runtime. Values can include python27, java7, go, etc.
425
+ # Desired runtime. Example: python27.
383
426
  # Corresponds to the JSON property `runtime`
384
427
  # @return [String]
385
428
  attr_accessor :runtime
386
429
 
387
- # If true, multiple requests can be dispatched to the app at once.
430
+ # Whether multiple requests can be dispatched to this version at once.
388
431
  # Corresponds to the JSON property `threadsafe`
389
432
  # @return [Boolean]
390
433
  attr_accessor :threadsafe
391
434
  alias_method :threadsafe?, :threadsafe
392
435
 
393
- # Whether to deploy this app in a VM container.
436
+ # Whether to deploy this version in a container on a virtual machine.
394
437
  # Corresponds to the JSON property `vm`
395
438
  # @return [Boolean]
396
439
  attr_accessor :vm
397
440
  alias_method :vm?, :vm
398
441
 
399
- # Beta settings supplied to the application via metadata.
442
+ # Metadata settings that are supplied to this version to enable beta runtime
443
+ # features.
400
444
  # Corresponds to the JSON property `betaSettings`
401
445
  # @return [Hash<String,String>]
402
446
  attr_accessor :beta_settings
403
447
 
404
- # The App Engine execution environment to use for this version. Default: "1"
448
+ # App Engine execution environment to use for this version.Defaults to 1.
405
449
  # Corresponds to the JSON property `env`
406
450
  # @return [String]
407
451
  attr_accessor :env
408
452
 
409
- # The current serving status of this version. Only `SERVING` versions will have
410
- # instances created or billed for. If this field is unset when a version is
411
- # created, `SERVING` status will be assumed. It is an error to explicitly set
412
- # this field to `SERVING_STATUS_UNSPECIFIED`.
453
+ # Current serving status of this version. Only the versions with a SERVING
454
+ # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
455
+ # invalid value. Defaults to SERVING.
413
456
  # Corresponds to the JSON property `servingStatus`
414
457
  # @return [String]
415
458
  attr_accessor :serving_status
416
459
 
417
- # The email address of the user who created this version. @OutputOnly
460
+ # Email address of the user who created this version.@OutputOnly
418
461
  # Corresponds to the JSON property `deployer`
419
462
  # @return [String]
420
463
  attr_accessor :deployer
421
464
 
422
- # Creation time of this version. This will be between the start and end times of
423
- # the operation that creates this version. @OutputOnly
465
+ # Time that this version was created.@OutputOnly
424
466
  # Corresponds to the JSON property `creationTime`
425
467
  # @return [String]
426
468
  attr_accessor :creation_time
427
469
 
428
- # Total size of version files hosted on App Engine disk in bytes. @OutputOnly
470
+ # Total size of version files hosted on App Engine disk in bytes.@OutputOnly
429
471
  # Corresponds to the JSON property `diskUsageBytes`
430
472
  # @return [String]
431
473
  attr_accessor :disk_usage_bytes
432
474
 
433
- # An ordered list of URL Matching patterns that should be applied to incoming
434
- # requests. The first matching URL consumes the request, and subsequent handlers
435
- # are not attempted. Only returned in `GET` requests if `view=FULL` is set. May
436
- # only be set on create requests; once created, is immutable.
475
+ # An ordered list of URL-matching patterns that should be applied to incoming
476
+ # requests. The first matching URL handles the request and other request
477
+ # handlers are not attempted.Only returned in GET requests if view=FULL is set.
437
478
  # Corresponds to the JSON property `handlers`
438
479
  # @return [Array<Google::Apis::AppengineV1beta5::UrlMap>]
439
480
  attr_accessor :handlers
440
481
 
441
- # Custom static error pages instead of these generic error pages, (limit 10 KB/
442
- # page) Only returned in `GET` requests if `view=FULL` is set. May only be set
443
- # on create requests; once created, is immutable.
482
+ # Custom static error pages. Limited to 10KB per page.Only returned in GET
483
+ # requests if view=FULL is set.
444
484
  # Corresponds to the JSON property `errorHandlers`
445
485
  # @return [Array<Google::Apis::AppengineV1beta5::ErrorHandler>]
446
486
  attr_accessor :error_handlers
447
487
 
448
- # Configuration for Python runtime third-party libraries required by the
449
- # application. Only returned in `GET` requests if `view=FULL` is set. May only
450
- # be set on create requests; once created, is immutable.
488
+ # Configuration for third-party Python runtime libraries required by the
489
+ # application.Only returned in GET requests if view=FULL is set.
451
490
  # Corresponds to the JSON property `libraries`
452
491
  # @return [Array<Google::Apis::AppengineV1beta5::Library>]
453
492
  attr_accessor :libraries
454
493
 
455
- # API Serving configuration for Cloud Endpoints.
494
+ # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
495
+ # endpoints/) configuration for API handlers.
456
496
  # Corresponds to the JSON property `apiConfig`
457
497
  # @return [Google::Apis::AppengineV1beta5::ApiConfigHandler]
458
498
  attr_accessor :api_config
459
499
 
460
- # Environment variables made available to the application. Only returned in `GET`
461
- # requests if `view=FULL` is set. May only be set on create requests; once
462
- # created, is immutable.
500
+ # Environment variables made available to the application.Only returned in GET
501
+ # requests if view=FULL is set.
463
502
  # Corresponds to the JSON property `envVariables`
464
503
  # @return [Hash<String,String>]
465
504
  attr_accessor :env_variables
466
505
 
467
- # The length of time a static file served by a static file handler ought to be
468
- # cached by web proxies and browsers, if the handler does not specify its own
469
- # expiration. Only returned in `GET` requests if `view=FULL` is set. May only be
470
- # set on create requests; once created, is immutable.
506
+ # Duration that static files should be cached by web proxies and browsers. Only
507
+ # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
508
+ # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
509
+ # staticfileshandler) does not specify its own expiration time.Only returned in
510
+ # GET requests if view=FULL is set.
471
511
  # Corresponds to the JSON property `defaultExpiration`
472
512
  # @return [String]
473
513
  attr_accessor :default_expiration
474
514
 
475
- # Configure health checking for the VM instances. Unhealthy VM instances will be
476
- # killed and replaced with new instances.
515
+ # Health checking configuration for VM instances. Unhealthy instances are killed
516
+ # and replaced with new instances. Only applicable for instances in App Engine
517
+ # flexible environment.
477
518
  # Corresponds to the JSON property `healthCheck`
478
519
  # @return [Google::Apis::AppengineV1beta5::HealthCheck]
479
520
  attr_accessor :health_check
480
521
 
481
- # Go only. Files that match this pattern will not be built into the app. May
482
- # only be set on create requests.
522
+ # Files that match this pattern will not be built into this version. Only
523
+ # applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
483
524
  # Corresponds to the JSON property `nobuildFilesRegex`
484
525
  # @return [String]
485
526
  attr_accessor :nobuild_files_regex
@@ -489,6 +530,15 @@ module Google
489
530
  # @return [Google::Apis::AppengineV1beta5::Deployment]
490
531
  attr_accessor :deployment
491
532
 
533
+ # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
534
+ # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
535
+ # via an NGINX proxy.The fields here refer to the name and configuration id of a
536
+ # "service" resource in the Service Management API (https://cloud.google.com/
537
+ # service-management/overview).
538
+ # Corresponds to the JSON property `endpointsApiService`
539
+ # @return [Google::Apis::AppengineV1beta5::EndpointsApiService]
540
+ attr_accessor :endpoints_api_service
541
+
492
542
  def initialize(**args)
493
543
  update!(**args)
494
544
  end
@@ -522,18 +572,18 @@ module Google
522
572
  @health_check = args[:health_check] if args.key?(:health_check)
523
573
  @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
524
574
  @deployment = args[:deployment] if args.key?(:deployment)
575
+ @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
525
576
  end
526
577
  end
527
578
 
528
- # Automatic scaling is the scaling policy that App Engine has used since its
529
- # inception. It is based on request rate, response latencies, and other
579
+ # Automatic scaling is based on request rate, response latencies, and other
530
580
  # application metrics.
531
581
  class AutomaticScaling
532
582
  include Google::Apis::Core::Hashable
533
583
 
534
- # The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/
584
+ # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/
535
585
  # autoscaler/) should wait between changes to the number of virtual machines.
536
- # Applies only to the VM runtime.
586
+ # Only applicable for VM runtimes.
537
587
  # Corresponds to the JSON property `coolDownPeriod`
538
588
  # @return [String]
539
589
  attr_accessor :cool_down_period
@@ -543,59 +593,56 @@ module Google
543
593
  # @return [Google::Apis::AppengineV1beta5::CpuUtilization]
544
594
  attr_accessor :cpu_utilization
545
595
 
546
- # The number of concurrent requests an automatic scaling instance can accept
547
- # before the scheduler spawns a new instance. Default value is chosen based on
548
- # the runtime.
596
+ # Number of concurrent requests an automatic scaling instance can accept before
597
+ # the scheduler spawns a new instance.Defaults to a runtime-specific value.
549
598
  # Corresponds to the JSON property `maxConcurrentRequests`
550
599
  # @return [Fixnum]
551
600
  attr_accessor :max_concurrent_requests
552
601
 
553
- # The maximum number of idle instances that App Engine should maintain for this
554
- # version.
602
+ # Maximum number of idle instances that should be maintained for this version.
555
603
  # Corresponds to the JSON property `maxIdleInstances`
556
604
  # @return [Fixnum]
557
605
  attr_accessor :max_idle_instances
558
606
 
559
- # Max number of instances that App Engine should start to handle requests.
607
+ # Maximum number of instances that should be started to handle requests.
560
608
  # Corresponds to the JSON property `maxTotalInstances`
561
609
  # @return [Fixnum]
562
610
  attr_accessor :max_total_instances
563
611
 
564
- # The maximum amount of time that App Engine should allow a request to wait in
565
- # the pending queue before starting a new instance to handle it.
612
+ # Maximum amount of time that a request should wait in the pending queue before
613
+ # starting a new instance to handle it.
566
614
  # Corresponds to the JSON property `maxPendingLatency`
567
615
  # @return [String]
568
616
  attr_accessor :max_pending_latency
569
617
 
570
- # The minimum number of idle instances that App Engine should maintain for this
571
- # version. Only applies to the default version of a service, since other
572
- # versions are not expected to receive significant traffic.
618
+ # Minimum number of idle instances that should be maintained for this version.
619
+ # Only applicable for the default version of a module.
573
620
  # Corresponds to the JSON property `minIdleInstances`
574
621
  # @return [Fixnum]
575
622
  attr_accessor :min_idle_instances
576
623
 
577
- # Minimum number of instances that App Engine should maintain.
624
+ # Minimum number of instances that should be maintained for this version.
578
625
  # Corresponds to the JSON property `minTotalInstances`
579
626
  # @return [Fixnum]
580
627
  attr_accessor :min_total_instances
581
628
 
582
- # The minimum amount of time that App Engine should allow a request to wait in
583
- # the pending queue before starting a new instance to handle it.
629
+ # Minimum amount of time a request should wait in the pending queue before
630
+ # starting a new instance to handle it.
584
631
  # Corresponds to the JSON property `minPendingLatency`
585
632
  # @return [String]
586
633
  attr_accessor :min_pending_latency
587
634
 
588
- # Target scaling by request utilization (for VM runtimes only).
635
+ # Target scaling by request utilization. Only applicable for VM runtimes.
589
636
  # Corresponds to the JSON property `requestUtilization`
590
637
  # @return [Google::Apis::AppengineV1beta5::RequestUtilization]
591
638
  attr_accessor :request_utilization
592
639
 
593
- # Target scaling by disk usage (for VM runtimes only).
640
+ # Target scaling by disk usage. Only applicable for VM runtimes.
594
641
  # Corresponds to the JSON property `diskUtilization`
595
642
  # @return [Google::Apis::AppengineV1beta5::DiskUtilization]
596
643
  attr_accessor :disk_utilization
597
644
 
598
- # Target scaling by network usage (for VM runtimes only).
645
+ # Target scaling by network usage. Only applicable for VM runtimes.
599
646
  # Corresponds to the JSON property `networkUtilization`
600
647
  # @return [Google::Apis::AppengineV1beta5::NetworkUtilization]
601
648
  attr_accessor :network_utilization
@@ -625,12 +672,12 @@ module Google
625
672
  class CpuUtilization
626
673
  include Google::Apis::Core::Hashable
627
674
 
628
- # The period of time over which CPU utilization is calculated.
675
+ # Period of time over which CPU utilization is calculated.
629
676
  # Corresponds to the JSON property `aggregationWindowLength`
630
677
  # @return [String]
631
678
  attr_accessor :aggregation_window_length
632
679
 
633
- # Target (0-1) CPU utilization ratio to maintain when scaling.
680
+ # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
634
681
  # Corresponds to the JSON property `targetUtilization`
635
682
  # @return [Float]
636
683
  attr_accessor :target_utilization
@@ -646,7 +693,7 @@ module Google
646
693
  end
647
694
  end
648
695
 
649
- # Target scaling by request utilization (for VM runtimes only).
696
+ # Target scaling by request utilization. Only applicable for VM runtimes.
650
697
  class RequestUtilization
651
698
  include Google::Apis::Core::Hashable
652
699
 
@@ -671,26 +718,26 @@ module Google
671
718
  end
672
719
  end
673
720
 
674
- # Target scaling by disk usage (for VM runtimes only).
721
+ # Target scaling by disk usage. Only applicable for VM runtimes.
675
722
  class DiskUtilization
676
723
  include Google::Apis::Core::Hashable
677
724
 
678
- # Target bytes per second written.
725
+ # Target bytes written per second.
679
726
  # Corresponds to the JSON property `targetWriteBytesPerSec`
680
727
  # @return [Fixnum]
681
728
  attr_accessor :target_write_bytes_per_sec
682
729
 
683
- # Target ops per second written.
730
+ # Target ops written per second.
684
731
  # Corresponds to the JSON property `targetWriteOpsPerSec`
685
732
  # @return [Fixnum]
686
733
  attr_accessor :target_write_ops_per_sec
687
734
 
688
- # Target bytes per second read.
735
+ # Target bytes read per second.
689
736
  # Corresponds to the JSON property `targetReadBytesPerSec`
690
737
  # @return [Fixnum]
691
738
  attr_accessor :target_read_bytes_per_sec
692
739
 
693
- # Target ops per second read.
740
+ # Target ops read per second.
694
741
  # Corresponds to the JSON property `targetReadOpsPerSec`
695
742
  # @return [Fixnum]
696
743
  attr_accessor :target_read_ops_per_sec
@@ -708,26 +755,26 @@ module Google
708
755
  end
709
756
  end
710
757
 
711
- # Target scaling by network usage (for VM runtimes only).
758
+ # Target scaling by network usage. Only applicable for VM runtimes.
712
759
  class NetworkUtilization
713
760
  include Google::Apis::Core::Hashable
714
761
 
715
- # Target bytes per second sent.
762
+ # Target bytes sent per second.
716
763
  # Corresponds to the JSON property `targetSentBytesPerSec`
717
764
  # @return [Fixnum]
718
765
  attr_accessor :target_sent_bytes_per_sec
719
766
 
720
- # Target packets per second sent.
767
+ # Target packets sent per second.
721
768
  # Corresponds to the JSON property `targetSentPacketsPerSec`
722
769
  # @return [Fixnum]
723
770
  attr_accessor :target_sent_packets_per_sec
724
771
 
725
- # Target bytes per second received.
772
+ # Target bytes received per second.
726
773
  # Corresponds to the JSON property `targetReceivedBytesPerSec`
727
774
  # @return [Fixnum]
728
775
  attr_accessor :target_received_bytes_per_sec
729
776
 
730
- # Target packets per second received.
777
+ # Target packets received per second.
731
778
  # Corresponds to the JSON property `targetReceivedPacketsPerSec`
732
779
  # @return [Fixnum]
733
780
  attr_accessor :target_received_packets_per_sec
@@ -752,13 +799,13 @@ module Google
752
799
  class BasicScaling
753
800
  include Google::Apis::Core::Hashable
754
801
 
755
- # The instance will be shut down this amount of time after receiving its last
756
- # request.
802
+ # Duration of time after the last request that an instance must wait before the
803
+ # instance is shut down.
757
804
  # Corresponds to the JSON property `idleTimeout`
758
805
  # @return [String]
759
806
  attr_accessor :idle_timeout
760
807
 
761
- # The maximum number of instances for App Engine to create for this version.
808
+ # Maximum number of instances to create for this version.
762
809
  # Corresponds to the JSON property `maxInstances`
763
810
  # @return [Fixnum]
764
811
  attr_accessor :max_instances
@@ -779,9 +826,9 @@ module Google
779
826
  class ManualScaling
780
827
  include Google::Apis::Core::Hashable
781
828
 
782
- # The number of instances to assign to the service at the start. This number can
783
- # later be altered by using the [Modules API](https://cloud.google.com/appengine/
784
- # docs/python/modules/functions) `set_num_instances()` function.
829
+ # Number of instances to assign to the service at the start. This number can
830
+ # later be altered by using the Modules API (https://cloud.google.com/appengine/
831
+ # docs/python/modules/functions) set_num_instances() function.
785
832
  # Corresponds to the JSON property `instances`
786
833
  # @return [Fixnum]
787
834
  attr_accessor :instances
@@ -796,27 +843,43 @@ module Google
796
843
  end
797
844
  end
798
845
 
799
- # Used to specify extra network settings (for VM runtimes only).
846
+ # Extra network settings. Only applicable for VM runtimes.
800
847
  class Network
801
848
  include Google::Apis::Core::Hashable
802
849
 
803
- # A list of ports (or port pairs) to forward from the VM into the app container.
850
+ # List of ports, or port pairs, to forward from the virtual machine to the
851
+ # application container.
804
852
  # Corresponds to the JSON property `forwardedPorts`
805
853
  # @return [Array<String>]
806
854
  attr_accessor :forwarded_ports
807
855
 
808
- # A tag to apply to the VM instance during creation.
856
+ # Tag to apply to the VM instance during creation.
809
857
  # Corresponds to the JSON property `instanceTag`
810
858
  # @return [String]
811
859
  attr_accessor :instance_tag
812
860
 
813
- # The Google Compute Engine network where the VMs will be created. If not
814
- # specified, or empty, the network named "default" will be used. (The short name
815
- # should be specified, not the resource path.)
861
+ # Google Cloud Platform network where the virtual machines are created. Specify
862
+ # the short name, not the resource path.Defaults to default.
816
863
  # Corresponds to the JSON property `name`
817
864
  # @return [String]
818
865
  attr_accessor :name
819
866
 
867
+ # Google Cloud Platform sub-network where the virtual machines are created.
868
+ # Specify the short name, not the resource path.If a subnetwork name is
869
+ # specified, a network name will also be required unless it is for the default
870
+ # network. If the network the VM instance is being created in is a Legacy
871
+ # network, then the IP address is allocated from the IPv4Range. If the network
872
+ # the VM instance is being created in is an auto Subnet Mode Network, then only
873
+ # network name should be specified (not the subnetwork_name) and the IP address
874
+ # is created from the IPCidrRange of the subnetwork that exists in that zone for
875
+ # that network. If the network the VM instance is being created in is a custom
876
+ # Subnet Mode Network, then the subnetwork_name must be specified and the IP
877
+ # address is created from the IPCidrRange of the subnetwork.If specified, the
878
+ # subnetwork must exist in the same region as the Flex app.
879
+ # Corresponds to the JSON property `subnetworkName`
880
+ # @return [String]
881
+ attr_accessor :subnetwork_name
882
+
820
883
  def initialize(**args)
821
884
  update!(**args)
822
885
  end
@@ -826,28 +889,34 @@ module Google
826
889
  @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
827
890
  @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
828
891
  @name = args[:name] if args.key?(:name)
892
+ @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
829
893
  end
830
894
  end
831
895
 
832
- # Used to specify how many machine resources an app version needs.
896
+ # Machine resources for a version.
833
897
  class Resources
834
898
  include Google::Apis::Core::Hashable
835
899
 
836
- # How many CPU cores an app version needs.
900
+ # Number of CPU cores needed.
837
901
  # Corresponds to the JSON property `cpu`
838
902
  # @return [Float]
839
903
  attr_accessor :cpu
840
904
 
841
- # How much disk size, in GB, an app version needs.
905
+ # Disk size (GB) needed.
842
906
  # Corresponds to the JSON property `diskGb`
843
907
  # @return [Float]
844
908
  attr_accessor :disk_gb
845
909
 
846
- # How much memory, in GB, an app version needs.
910
+ # Memory (GB) needed.
847
911
  # Corresponds to the JSON property `memoryGb`
848
912
  # @return [Float]
849
913
  attr_accessor :memory_gb
850
914
 
915
+ # Volumes mounted within the app container.
916
+ # Corresponds to the JSON property `volumes`
917
+ # @return [Array<Google::Apis::AppengineV1beta5::Volume>]
918
+ attr_accessor :volumes
919
+
851
920
  def initialize(**args)
852
921
  update!(**args)
853
922
  end
@@ -857,19 +926,51 @@ module Google
857
926
  @cpu = args[:cpu] if args.key?(:cpu)
858
927
  @disk_gb = args[:disk_gb] if args.key?(:disk_gb)
859
928
  @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
929
+ @volumes = args[:volumes] if args.key?(:volumes)
860
930
  end
861
931
  end
862
932
 
863
- # A URL pattern and description of how it should be handled. App Engine can
933
+ # Volumes mounted within the app container. Only applicable for VM runtimes.
934
+ class Volume
935
+ include Google::Apis::Core::Hashable
936
+
937
+ # Unique name for the volume.
938
+ # Corresponds to the JSON property `name`
939
+ # @return [String]
940
+ attr_accessor :name
941
+
942
+ # Underlying volume type, e.g. 'tmpfs'.
943
+ # Corresponds to the JSON property `volumeType`
944
+ # @return [String]
945
+ attr_accessor :volume_type
946
+
947
+ # Volume size in gigabytes.
948
+ # Corresponds to the JSON property `sizeGb`
949
+ # @return [Float]
950
+ attr_accessor :size_gb
951
+
952
+ def initialize(**args)
953
+ update!(**args)
954
+ end
955
+
956
+ # Update properties of this object
957
+ def update!(**args)
958
+ @name = args[:name] if args.key?(:name)
959
+ @volume_type = args[:volume_type] if args.key?(:volume_type)
960
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
961
+ end
962
+ end
963
+
964
+ # URL pattern and description of how the URL should be handled. App Engine can
864
965
  # handle URLs by executing application code, or by serving static files uploaded
865
- # with the code, such as images, CSS or JavaScript.
966
+ # with the version, such as images, CSS, or JavaScript.
866
967
  class UrlMap
867
968
  include Google::Apis::Core::Hashable
868
969
 
869
- # A URL prefix. This value uses regular expression syntax (and so regexp special
870
- # characters must be escaped), but it should not contain groupings. All URLs
871
- # that begin with this prefix are handled by this handler, using the portion of
872
- # the URL after the prefix as part of the file path. This is always required.
970
+ # A URL prefix. Uses regular expression syntax, which means regexp special
971
+ # characters must be escaped, but should not contain groupings. All URLs that
972
+ # begin with this prefix are handled by this handler, using the portion of the
973
+ # URL after the prefix as part of the file path.
873
974
  # Corresponds to the JSON property `urlRegex`
874
975
  # @return [String]
875
976
  attr_accessor :url_regex
@@ -886,29 +987,29 @@ module Google
886
987
  # @return [Google::Apis::AppengineV1beta5::ScriptHandler]
887
988
  attr_accessor :script
888
989
 
889
- # Use Google Cloud Endpoints to handle requests.
990
+ # Uses Google Cloud Endpoints to handle requests.
890
991
  # Corresponds to the JSON property `apiEndpoint`
891
992
  # @return [Google::Apis::AppengineV1beta5::ApiEndpointHandler]
892
993
  attr_accessor :api_endpoint
893
994
 
894
- # Configures whether security (HTTPS) should be enforced for this URL.
995
+ # Security (HTTPS) enforcement for this URL.
895
996
  # Corresponds to the JSON property `securityLevel`
896
997
  # @return [String]
897
998
  attr_accessor :security_level
898
999
 
899
- # What level of login is required to access this resource.
1000
+ # Level of login required to access this resource.
900
1001
  # Corresponds to the JSON property `login`
901
1002
  # @return [String]
902
1003
  attr_accessor :login
903
1004
 
904
- # For users not logged in, how to handle access to resources with required login.
905
- # Defaults to "redirect".
1005
+ # Action to take when users access resources that require authentication.
1006
+ # Defaults to redirect.
906
1007
  # Corresponds to the JSON property `authFailAction`
907
1008
  # @return [String]
908
1009
  attr_accessor :auth_fail_action
909
1010
 
910
- # `30x` code to use when performing redirects for the `secure` field. A `302` is
911
- # used by default.
1011
+ # 30x code to use when performing redirects for the secure field. Defaults to
1012
+ # 302.
912
1013
  # Corresponds to the JSON property `redirectHttpResponseCode`
913
1014
  # @return [String]
914
1015
  attr_accessor :redirect_http_response_code
@@ -936,14 +1037,13 @@ module Google
936
1037
  class StaticFilesHandler
937
1038
  include Google::Apis::Core::Hashable
938
1039
 
939
- # The path to the static files matched by the URL pattern, from the application
940
- # root directory. The path can refer to text matched in groupings in the URL
941
- # pattern.
1040
+ # Path to the static files matched by the URL pattern, from the application root
1041
+ # directory. The path can refer to text matched in groupings in the URL pattern.
942
1042
  # Corresponds to the JSON property `path`
943
1043
  # @return [String]
944
1044
  attr_accessor :path
945
1045
 
946
- # A regular expression that matches the file paths for all files that will be
1046
+ # Regular expression that matches the file paths for all files that should be
947
1047
  # referenced by this handler.
948
1048
  # Corresponds to the JSON property `uploadPathRegex`
949
1049
  # @return [String]
@@ -954,32 +1054,28 @@ module Google
954
1054
  # @return [Hash<String,String>]
955
1055
  attr_accessor :http_headers
956
1056
 
957
- # If specified, all files served by this handler will be served using the
958
- # specified MIME type. If not specified, the MIME type for a file will be
959
- # derived from the file's filename extension.
1057
+ # MIME type used to serve all files served by this handler. Defaults to file-
1058
+ # specific MIME types, which are derived from each file's filename extension.
960
1059
  # Corresponds to the JSON property `mimeType`
961
1060
  # @return [String]
962
1061
  attr_accessor :mime_type
963
1062
 
964
- # The length of time a static file served by this handler ought to be cached by
965
- # web proxies and browsers.
1063
+ # Time a static file served by this handler should be cached.
966
1064
  # Corresponds to the JSON property `expiration`
967
1065
  # @return [String]
968
1066
  attr_accessor :expiration
969
1067
 
970
- # If true, this UrlMap entry does not match the request unless the file
971
- # referenced by the handler also exists. If no such file exists, processing will
972
- # continue with the next UrlMap that matches the requested URL.
1068
+ # Whether this handler should match the request if the file referenced by the
1069
+ # handler does not exist.
973
1070
  # Corresponds to the JSON property `requireMatchingFile`
974
1071
  # @return [Boolean]
975
1072
  attr_accessor :require_matching_file
976
1073
  alias_method :require_matching_file?, :require_matching_file
977
1074
 
978
- # By default, files declared in static file handlers are uploaded as static data
979
- # and are only served to end users, they cannot be read by an application. If
980
- # this field is set to true, the files are also uploaded as code data so your
981
- # application can read them. Both uploads are charged against your code and
982
- # static data storage resource quotas.
1075
+ # Whether files should also be uploaded as code data. By default, files declared
1076
+ # in static file handlers are uploaded as static data and are only served to end
1077
+ # users; they cannot be read by the application. If enabled, uploads are charged
1078
+ # against both your code and static data storage resource quotas.
983
1079
  # Corresponds to the JSON property `applicationReadable`
984
1080
  # @return [Boolean]
985
1081
  attr_accessor :application_readable
@@ -1005,7 +1101,7 @@ module Google
1005
1101
  class ScriptHandler
1006
1102
  include Google::Apis::Core::Hashable
1007
1103
 
1008
- # Specifies the path to the script from the application root directory.
1104
+ # Path to the script from the application root directory.
1009
1105
  # Corresponds to the JSON property `scriptPath`
1010
1106
  # @return [String]
1011
1107
  attr_accessor :script_path
@@ -1020,11 +1116,11 @@ module Google
1020
1116
  end
1021
1117
  end
1022
1118
 
1023
- # Use Google Cloud Endpoints to handle requests.
1119
+ # Uses Google Cloud Endpoints to handle requests.
1024
1120
  class ApiEndpointHandler
1025
1121
  include Google::Apis::Core::Hashable
1026
1122
 
1027
- # Specifies the path to the script from the application root directory.
1123
+ # Path to the script from the application root directory.
1028
1124
  # Corresponds to the JSON property `scriptPath`
1029
1125
  # @return [String]
1030
1126
  attr_accessor :script_path
@@ -1039,11 +1135,11 @@ module Google
1039
1135
  end
1040
1136
  end
1041
1137
 
1042
- # A custom static error page to be served when an error occurs.
1138
+ # Custom static error page to be served when an error occurs.
1043
1139
  class ErrorHandler
1044
1140
  include Google::Apis::Core::Hashable
1045
1141
 
1046
- # The error condition this handler applies to.
1142
+ # Error condition this handler applies to.
1047
1143
  # Corresponds to the JSON property `errorCode`
1048
1144
  # @return [String]
1049
1145
  attr_accessor :error_code
@@ -1053,7 +1149,7 @@ module Google
1053
1149
  # @return [String]
1054
1150
  attr_accessor :static_file
1055
1151
 
1056
- # MIME type of file. If unspecified, "text/html" is assumed.
1152
+ # MIME type of file. Defaults to text/html.
1057
1153
  # Corresponds to the JSON property `mimeType`
1058
1154
  # @return [String]
1059
1155
  attr_accessor :mime_type
@@ -1070,16 +1166,16 @@ module Google
1070
1166
  end
1071
1167
  end
1072
1168
 
1073
- # A Python runtime third-party library required by the application.
1169
+ # Third-party Python runtime library that is required by the application.
1074
1170
  class Library
1075
1171
  include Google::Apis::Core::Hashable
1076
1172
 
1077
- # The name of the library, e.g. "PIL" or "django".
1173
+ # Name of the library. Example: "django".
1078
1174
  # Corresponds to the JSON property `name`
1079
1175
  # @return [String]
1080
1176
  attr_accessor :name
1081
1177
 
1082
- # The version of the library to select, or "latest".
1178
+ # Version of the library to select, or "latest".
1083
1179
  # Corresponds to the JSON property `version`
1084
1180
  # @return [String]
1085
1181
  attr_accessor :version
@@ -1095,27 +1191,28 @@ module Google
1095
1191
  end
1096
1192
  end
1097
1193
 
1098
- # API Serving configuration for Cloud Endpoints.
1194
+ # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
1195
+ # endpoints/) configuration for API handlers.
1099
1196
  class ApiConfigHandler
1100
1197
  include Google::Apis::Core::Hashable
1101
1198
 
1102
- # For users not logged in, how to handle access to resources with required login.
1103
- # Defaults to "redirect".
1199
+ # Action to take when users access resources that require authentication.
1200
+ # Defaults to redirect.
1104
1201
  # Corresponds to the JSON property `authFailAction`
1105
1202
  # @return [String]
1106
1203
  attr_accessor :auth_fail_action
1107
1204
 
1108
- # What level of login is required to access this resource. Default is "optional".
1205
+ # Level of login required to access this resource. Defaults to optional.
1109
1206
  # Corresponds to the JSON property `login`
1110
1207
  # @return [String]
1111
1208
  attr_accessor :login
1112
1209
 
1113
- # Specifies the path to the script from the application root directory.
1210
+ # Path to the script from the application root directory.
1114
1211
  # Corresponds to the JSON property `script`
1115
1212
  # @return [String]
1116
1213
  attr_accessor :script
1117
1214
 
1118
- # Configures whether security (HTTPS) should be enforced for this URL.
1215
+ # Security (HTTPS) enforcement for this URL.
1119
1216
  # Corresponds to the JSON property `securityLevel`
1120
1217
  # @return [String]
1121
1218
  attr_accessor :security_level
@@ -1139,8 +1236,9 @@ module Google
1139
1236
  end
1140
1237
  end
1141
1238
 
1142
- # Configure health checking for the VM instances. Unhealthy VM instances will be
1143
- # killed and replaced with new instances.
1239
+ # Health checking configuration for VM instances. Unhealthy instances are killed
1240
+ # and replaced with new instances. Only applicable for instances in App Engine
1241
+ # flexible environment.
1144
1242
  class HealthCheck
1145
1243
  include Google::Apis::Core::Hashable
1146
1244
 
@@ -1150,33 +1248,35 @@ module Google
1150
1248
  attr_accessor :disable_health_check
1151
1249
  alias_method :disable_health_check?, :disable_health_check
1152
1250
 
1153
- # The host header to send when performing an HTTP health check (e.g. myapp.
1154
- # appspot.com)
1251
+ # Host header to send when performing an HTTP health check. Example: "myapp.
1252
+ # appspot.com"
1155
1253
  # Corresponds to the JSON property `host`
1156
1254
  # @return [String]
1157
1255
  attr_accessor :host
1158
1256
 
1159
- # The number of consecutive successful health checks before receiving traffic.
1257
+ # Number of consecutive successful health checks required before receiving
1258
+ # traffic.
1160
1259
  # Corresponds to the JSON property `healthyThreshold`
1161
1260
  # @return [Fixnum]
1162
1261
  attr_accessor :healthy_threshold
1163
1262
 
1164
- # The number of consecutive failed health checks before removing traffic.
1263
+ # Number of consecutive failed health checks required before removing traffic.
1165
1264
  # Corresponds to the JSON property `unhealthyThreshold`
1166
1265
  # @return [Fixnum]
1167
1266
  attr_accessor :unhealthy_threshold
1168
1267
 
1169
- # The number of consecutive failed health checks before an instance is restarted.
1268
+ # Number of consecutive failed health checks required before an instance is
1269
+ # restarted.
1170
1270
  # Corresponds to the JSON property `restartThreshold`
1171
1271
  # @return [Fixnum]
1172
1272
  attr_accessor :restart_threshold
1173
1273
 
1174
- # The interval between health checks.
1274
+ # Interval between health checks.
1175
1275
  # Corresponds to the JSON property `checkInterval`
1176
1276
  # @return [String]
1177
1277
  attr_accessor :check_interval
1178
1278
 
1179
- # The amount of time before the health check is considered failed.
1279
+ # Time before the health check is considered failed.
1180
1280
  # Corresponds to the JSON property `timeout`
1181
1281
  # @return [String]
1182
1282
  attr_accessor :timeout
@@ -1201,20 +1301,22 @@ module Google
1201
1301
  class Deployment
1202
1302
  include Google::Apis::Core::Hashable
1203
1303
 
1204
- # A manifest of files stored in Google Cloud Storage which should be included as
1205
- # part of this application. All files must be readable using the credentials
1206
- # supplied with this call.
1304
+ # Manifest of the files stored in Google Cloud Storage that are included as part
1305
+ # of this version. All files must be readable using the credentials supplied
1306
+ # with this call.
1207
1307
  # Corresponds to the JSON property `files`
1208
1308
  # @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
1209
1309
  attr_accessor :files
1210
1310
 
1211
- # A Docker (container) image which should be used to start the application.
1311
+ # Docker image that is used to create a container and start a VM instance for
1312
+ # the version that you deploy. Only applicable for instances running in the App
1313
+ # Engine flexible environment.
1212
1314
  # Corresponds to the JSON property `container`
1213
1315
  # @return [Google::Apis::AppengineV1beta5::ContainerInfo]
1214
1316
  attr_accessor :container
1215
1317
 
1216
- # The origin of the source code for this deployment. There can be more than one
1217
- # source reference per Version if source code is distributed among multiple
1318
+ # Origin of the source code for this deployment. There can be more than one
1319
+ # source reference per version if source code is distributed among multiple
1218
1320
  # repositories.
1219
1321
  # Corresponds to the JSON property `sourceReferences`
1220
1322
  # @return [Array<Google::Apis::AppengineV1beta5::SourceReference>]
@@ -1232,23 +1334,23 @@ module Google
1232
1334
  end
1233
1335
  end
1234
1336
 
1235
- # A single source file which is part of the application to be deployed.
1337
+ # Single source file that is part of the version to be deployed. Each source
1338
+ # file that is deployed must be specified separately.
1236
1339
  class FileInfo
1237
1340
  include Google::Apis::Core::Hashable
1238
1341
 
1239
- # The URL source to use to fetch this file. Must be a URL to a resource in
1240
- # Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
1342
+ # URL source to use to fetch this file. Must be a URL to a resource in Google
1343
+ # Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
1241
1344
  # Corresponds to the JSON property `sourceUrl`
1242
1345
  # @return [String]
1243
1346
  attr_accessor :source_url
1244
1347
 
1245
- # The SHA1 (160 bits) hash of the file in hex.
1348
+ # The SHA1 hash of the file, in hex.
1246
1349
  # Corresponds to the JSON property `sha1Sum`
1247
1350
  # @return [String]
1248
1351
  attr_accessor :sha1_sum
1249
1352
 
1250
- # The MIME type of the file; if unspecified, the value from Google Cloud Storage
1251
- # will be used.
1353
+ # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1252
1354
  # Corresponds to the JSON property `mimeType`
1253
1355
  # @return [String]
1254
1356
  attr_accessor :mime_type
@@ -1265,13 +1367,15 @@ module Google
1265
1367
  end
1266
1368
  end
1267
1369
 
1268
- # A Docker (container) image which should be used to start the application.
1370
+ # Docker image that is used to create a container and start a VM instance for
1371
+ # the version that you deploy. Only applicable for instances running in the App
1372
+ # Engine flexible environment.
1269
1373
  class ContainerInfo
1270
1374
  include Google::Apis::Core::Hashable
1271
1375
 
1272
- # Reference to a hosted container image. Must be a URI to a resource in a Docker
1273
- # repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-
1274
- # project/image:tag or gcr.io/my-project/image@digest
1376
+ # URI to the hosted container image in Google Container Registry. The URI must
1377
+ # be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
1378
+ # image:tag" or "gcr.io/my-project/image@digest"
1275
1379
  # Corresponds to the JSON property `image`
1276
1380
  # @return [String]
1277
1381
  attr_accessor :image
@@ -1286,20 +1390,20 @@ module Google
1286
1390
  end
1287
1391
  end
1288
1392
 
1289
- # A reference to a particular snapshot of the source tree used to build and
1290
- # deploy the application.
1393
+ # Reference to a particular snapshot of the source tree used to build and deploy
1394
+ # the application.
1291
1395
  class SourceReference
1292
1396
  include Google::Apis::Core::Hashable
1293
1397
 
1294
- # Optional. A URI string identifying the repository. Example: "https://source.
1295
- # developers.google.com/p/app-123/r/default"
1398
+ # URI string identifying the repository. Example: "https://source.developers.
1399
+ # google.com/p/app-123/r/default"
1296
1400
  # Corresponds to the JSON property `repository`
1297
1401
  # @return [String]
1298
1402
  attr_accessor :repository
1299
1403
 
1300
- # The canonical (and persistent) identifier of the deployed revision, i.e. any
1301
- # kind of aliases including tags or branch names are not allowed. Example (git):
1302
- # "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
1404
+ # The canonical, persistent identifier of the deployed revision. Aliases that
1405
+ # include tags or branch names are not allowed. Example (git): "
1406
+ # 2198322f89e0bb2e25021667c2ed489d1fd34e6b"
1303
1407
  # Corresponds to the JSON property `revisionId`
1304
1408
  # @return [String]
1305
1409
  attr_accessor :revision_id
@@ -1315,11 +1419,42 @@ module Google
1315
1419
  end
1316
1420
  end
1317
1421
 
1318
- # Response message for `Versions.ListVersions`.
1422
+ # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
1423
+ # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
1424
+ # via an NGINX proxy.The fields here refer to the name and configuration id of a
1425
+ # "service" resource in the Service Management API (https://cloud.google.com/
1426
+ # service-management/overview).
1427
+ class EndpointsApiService
1428
+ include Google::Apis::Core::Hashable
1429
+
1430
+ # Endpoints service name which is the name of the "service" resource in the
1431
+ # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
1432
+ # Corresponds to the JSON property `name`
1433
+ # @return [String]
1434
+ attr_accessor :name
1435
+
1436
+ # Endpoints service configuration id as specified by the Service Management API.
1437
+ # For example "2016-09-19r1"
1438
+ # Corresponds to the JSON property `configId`
1439
+ # @return [String]
1440
+ attr_accessor :config_id
1441
+
1442
+ def initialize(**args)
1443
+ update!(**args)
1444
+ end
1445
+
1446
+ # Update properties of this object
1447
+ def update!(**args)
1448
+ @name = args[:name] if args.key?(:name)
1449
+ @config_id = args[:config_id] if args.key?(:config_id)
1450
+ end
1451
+ end
1452
+
1453
+ # Response message for Versions.ListVersions.
1319
1454
  class ListVersionsResponse
1320
1455
  include Google::Apis::Core::Hashable
1321
1456
 
1322
- # The versions belonging to the requested application service.
1457
+ # The versions belonging to the requested service.
1323
1458
  # Corresponds to the JSON property `versions`
1324
1459
  # @return [Array<Google::Apis::AppengineV1beta5::Version>]
1325
1460
  attr_accessor :versions
@@ -1340,8 +1475,8 @@ module Google
1340
1475
  end
1341
1476
  end
1342
1477
 
1343
- # A service is a logical component of an application that can share state and
1344
- # communicate in a secure fashion with other services. For example, an
1478
+ # A Service resource is a logical component of an application that can share
1479
+ # state and communicate in a secure fashion with other services. For example, an
1345
1480
  # application that handles customer requests might include separate services to
1346
1481
  # handle other tasks such as API requests from mobile devices or backend data
1347
1482
  # analysis. Each service has a collection of versions that define a specific set
@@ -1349,22 +1484,20 @@ module Google
1349
1484
  class Service
1350
1485
  include Google::Apis::Core::Hashable
1351
1486
 
1352
- # The full path to the Service resource in the API. Example: "apps/myapp/
1353
- # services/default" @OutputOnly
1487
+ # Full path to the Service resource in the API. Example: apps/myapp/services/
1488
+ # default.@OutputOnly
1354
1489
  # Corresponds to the JSON property `name`
1355
1490
  # @return [String]
1356
1491
  attr_accessor :name
1357
1492
 
1358
- # The relative name/path of the service within the application. Example: "
1359
- # default" @OutputOnly
1493
+ # Relative name of the service within the application. Example: default.@
1494
+ # OutputOnly
1360
1495
  # Corresponds to the JSON property `id`
1361
1496
  # @return [String]
1362
1497
  attr_accessor :id
1363
1498
 
1364
- # Configuration for traffic splitting for versions within a single service.
1365
- # Traffic splitting allows traffic directed to the service to be assigned to one
1366
- # of several versions in a fractional way, enabling experiments and canarying
1367
- # new builds, for example.
1499
+ # Traffic routing configuration for versions within a single service. Traffic
1500
+ # splits define how traffic directed to the service is assigned to versions.
1368
1501
  # Corresponds to the JSON property `split`
1369
1502
  # @return [Google::Apis::AppengineV1beta5::TrafficSplit]
1370
1503
  attr_accessor :split
@@ -1381,27 +1514,25 @@ module Google
1381
1514
  end
1382
1515
  end
1383
1516
 
1384
- # Configuration for traffic splitting for versions within a single service.
1385
- # Traffic splitting allows traffic directed to the service to be assigned to one
1386
- # of several versions in a fractional way, enabling experiments and canarying
1387
- # new builds, for example.
1517
+ # Traffic routing configuration for versions within a single service. Traffic
1518
+ # splits define how traffic directed to the service is assigned to versions.
1388
1519
  class TrafficSplit
1389
1520
  include Google::Apis::Core::Hashable
1390
1521
 
1391
- # Which mechanism should be used as a selector when choosing a version to send a
1392
- # request to. The traffic selection algorithm will be stable for either type
1393
- # until allocations are changed.
1522
+ # Mechanism used to determine which version a request is sent to. The traffic
1523
+ # selection algorithm will be stable for either type until allocations are
1524
+ # changed.
1394
1525
  # Corresponds to the JSON property `shardBy`
1395
1526
  # @return [String]
1396
1527
  attr_accessor :shard_by
1397
1528
 
1398
- # Mapping from service version IDs within the service to fractional (0.000, 1]
1399
- # allocations of traffic for that version. Each version may only be specified
1529
+ # Mapping from version IDs within the service to fractional (0.000, 1]
1530
+ # allocations of traffic for that version. Each version can be specified only
1400
1531
  # once, but some versions in the service may not have any traffic allocation.
1401
- # Services that have traffic allocated in this field may not be deleted until
1402
- # the service is deleted, or their traffic allocation is removed. Allocations
1403
- # must sum to 1. Supports precision up to two decimal places for IP-based splits
1404
- # and up to three decimal places for cookie-based splits.
1532
+ # Services that have traffic allocated cannot be deleted until either the
1533
+ # service is deleted or their traffic allocation is removed. Allocations must
1534
+ # sum to 1. Up to two decimal place precision is supported for IP-based splits
1535
+ # and up to three decimal places is supported for cookie-based splits.
1405
1536
  # Corresponds to the JSON property `allocations`
1406
1537
  # @return [Hash<String,Float>]
1407
1538
  attr_accessor :allocations
@@ -1417,7 +1548,7 @@ module Google
1417
1548
  end
1418
1549
  end
1419
1550
 
1420
- # Response message for `Services.ListServices`.
1551
+ # Response message for Services.ListServices.
1421
1552
  class ListServicesResponse
1422
1553
  include Google::Apis::Core::Hashable
1423
1554
 
@@ -1442,116 +1573,100 @@ module Google
1442
1573
  end
1443
1574
  end
1444
1575
 
1445
- # Response message for `Instances.ListInstances`.
1446
- class ListInstancesResponse
1447
- include Google::Apis::Core::Hashable
1448
-
1449
- # The instances belonging to the requested version.
1450
- # Corresponds to the JSON property `instances`
1451
- # @return [Array<Google::Apis::AppengineV1beta5::Instance>]
1452
- attr_accessor :instances
1453
-
1454
- # Continuation token for fetching the next page of results.
1455
- # Corresponds to the JSON property `nextPageToken`
1456
- # @return [String]
1457
- attr_accessor :next_page_token
1458
-
1459
- def initialize(**args)
1460
- update!(**args)
1461
- end
1462
-
1463
- # Update properties of this object
1464
- def update!(**args)
1465
- @instances = args[:instances] if args.key?(:instances)
1466
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1467
- end
1468
- end
1469
-
1470
- # Instances are the computing units that App Engine uses to automatically scale
1471
- # an application.
1576
+ # An Instance resource is the computing unit that App Engine uses to
1577
+ # automatically scale an application.
1472
1578
  class Instance
1473
1579
  include Google::Apis::Core::Hashable
1474
1580
 
1475
- # The full path to the Instance resource in the API. Example: "apps/myapp/
1476
- # services/default/versions/v1/instances/instance-1" @OutputOnly
1581
+ # Full path to the Instance resource in the API. Example: apps/myapp/services/
1582
+ # default/versions/v1/instances/instance-1.@OutputOnly
1477
1583
  # Corresponds to the JSON property `name`
1478
1584
  # @return [String]
1479
1585
  attr_accessor :name
1480
1586
 
1481
- # The relative name/path of the instance within the version. Example: "instance-
1482
- # 1" @OutputOnly
1587
+ # Relative name of the instance within the version. Example: instance-1.@
1588
+ # OutputOnly
1483
1589
  # Corresponds to the JSON property `id`
1484
1590
  # @return [String]
1485
1591
  attr_accessor :id
1486
1592
 
1487
- # The App Engine release the instance is running on. @OutputOnly
1593
+ # App Engine release this instance is running on.@OutputOnly
1488
1594
  # Corresponds to the JSON property `appEngineRelease`
1489
1595
  # @return [String]
1490
1596
  attr_accessor :app_engine_release
1491
1597
 
1492
- # Availability of instance. @OutputOnly
1598
+ # Availability of the instance.@OutputOnly
1493
1599
  # Corresponds to the JSON property `availability`
1494
1600
  # @return [String]
1495
1601
  attr_accessor :availability
1496
1602
 
1497
- # For VMEngines instances, the name of GCE VM where the instance lives. @
1498
- # OutputOnly
1603
+ # Name of the virtual machine where this instance lives. Only applicable for
1604
+ # instances in App Engine flexible environment.@OutputOnly
1499
1605
  # Corresponds to the JSON property `vmName`
1500
1606
  # @return [String]
1501
1607
  attr_accessor :vm_name
1502
1608
 
1503
- # For VMEngines instances, the zone where the GCE VM is located. @OutputOnly
1609
+ # Zone where the virtual machine is located. Only applicable for instances in
1610
+ # App Engine flexible environment.@OutputOnly
1504
1611
  # Corresponds to the JSON property `vmZoneName`
1505
1612
  # @return [String]
1506
1613
  attr_accessor :vm_zone_name
1507
1614
 
1508
- # For VMEngines instances, the GCE VM ID of the instance. @OutputOnly
1615
+ # Virtual machine ID of this instance. Only applicable for instances in App
1616
+ # Engine flexible environment.@OutputOnly
1509
1617
  # Corresponds to the JSON property `vmId`
1510
1618
  # @return [String]
1511
1619
  attr_accessor :vm_id
1512
1620
 
1513
- # Time when instance was started. @OutputOnly
1621
+ # Time that this instance was started.@OutputOnly
1514
1622
  # Corresponds to the JSON property `startTimestamp`
1515
1623
  # @return [String]
1516
1624
  attr_accessor :start_timestamp
1517
1625
 
1518
- # Number of requests (since the clone was started). @OutputOnly
1626
+ # Number of requests since this instance was started.@OutputOnly
1519
1627
  # Corresponds to the JSON property `requests`
1520
1628
  # @return [Fixnum]
1521
1629
  attr_accessor :requests
1522
1630
 
1523
- # Number of errors since the instance was started. @OutputOnly
1631
+ # Number of errors since this instance was started.@OutputOnly
1524
1632
  # Corresponds to the JSON property `errors`
1525
1633
  # @return [Fixnum]
1526
1634
  attr_accessor :errors
1527
1635
 
1528
- # QPS for this instance (averaged over the last minute). @OutputOnly
1636
+ # Average queries per second (QPS) over the last minute.@OutputOnly
1529
1637
  # Corresponds to the JSON property `qps`
1530
1638
  # @return [Float]
1531
1639
  attr_accessor :qps
1532
1640
 
1533
- # Latency in milliseconds (averaged over the last minute). @OutputOnly
1641
+ # Average latency (ms) over the last minute.@OutputOnly
1534
1642
  # Corresponds to the JSON property `averageLatency`
1535
1643
  # @return [Fixnum]
1536
1644
  attr_accessor :average_latency
1537
1645
 
1538
- # Memory usage (in bytes). @OutputOnly
1646
+ # Total memory in use (bytes).@OutputOnly
1539
1647
  # Corresponds to the JSON property `memoryUsage`
1540
1648
  # @return [String]
1541
1649
  attr_accessor :memory_usage
1542
1650
 
1543
- # For VMEngines instances, the status of GCE VM where the instance lives. @
1544
- # OutputOnly
1651
+ # Status of the virtual machine where this instance lives. Only applicable for
1652
+ # instances in App Engine flexible environment.@OutputOnly
1545
1653
  # Corresponds to the JSON property `vmStatus`
1546
1654
  # @return [String]
1547
1655
  attr_accessor :vm_status
1548
1656
 
1549
- # For VMEngines instances, whether the instance has been unlocked. @OutputOnly
1657
+ # Whether this instance is in debug mode. Only applicable for instances in App
1658
+ # Engine flexible environment.@OutputOnly
1550
1659
  # Corresponds to the JSON property `vmUnlocked`
1551
1660
  # @return [Boolean]
1552
1661
  attr_accessor :vm_unlocked
1553
1662
  alias_method :vm_unlocked?, :vm_unlocked
1554
1663
 
1664
+ # The IP address of this instance. Only applicable for instances in App Engine
1665
+ # flexible environment.@OutputOnly
1666
+ # Corresponds to the JSON property `vmIp`
1667
+ # @return [String]
1668
+ attr_accessor :vm_ip
1669
+
1555
1670
  def initialize(**args)
1556
1671
  update!(**args)
1557
1672
  end
@@ -1573,6 +1688,165 @@ module Google
1573
1688
  @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1574
1689
  @vm_status = args[:vm_status] if args.key?(:vm_status)
1575
1690
  @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked)
1691
+ @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
1692
+ end
1693
+ end
1694
+
1695
+ # Response message for Instances.ListInstances.
1696
+ class ListInstancesResponse
1697
+ include Google::Apis::Core::Hashable
1698
+
1699
+ # The instances belonging to the requested version.
1700
+ # Corresponds to the JSON property `instances`
1701
+ # @return [Array<Google::Apis::AppengineV1beta5::Instance>]
1702
+ attr_accessor :instances
1703
+
1704
+ # Continuation token for fetching the next page of results.
1705
+ # Corresponds to the JSON property `nextPageToken`
1706
+ # @return [String]
1707
+ attr_accessor :next_page_token
1708
+
1709
+ def initialize(**args)
1710
+ update!(**args)
1711
+ end
1712
+
1713
+ # Update properties of this object
1714
+ def update!(**args)
1715
+ @instances = args[:instances] if args.key?(:instances)
1716
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1717
+ end
1718
+ end
1719
+
1720
+ # Request message for Instances.DebugInstance.
1721
+ class DebugInstanceRequest
1722
+ include Google::Apis::Core::Hashable
1723
+
1724
+ # Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE]
1725
+ # [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]",
1726
+ # "expireOn":"[EXPIRE_TIME]"`For more information, see Adding and Removing SSH
1727
+ # Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
1728
+ # .
1729
+ # Corresponds to the JSON property `sshKey`
1730
+ # @return [String]
1731
+ attr_accessor :ssh_key
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @ssh_key = args[:ssh_key] if args.key?(:ssh_key)
1740
+ end
1741
+ end
1742
+
1743
+ # The response message for Locations.ListLocations.
1744
+ class ListLocationsResponse
1745
+ include Google::Apis::Core::Hashable
1746
+
1747
+ # A list of locations that matches the specified filter in the request.
1748
+ # Corresponds to the JSON property `locations`
1749
+ # @return [Array<Google::Apis::AppengineV1beta5::Location>]
1750
+ attr_accessor :locations
1751
+
1752
+ # The standard List next-page token.
1753
+ # Corresponds to the JSON property `nextPageToken`
1754
+ # @return [String]
1755
+ attr_accessor :next_page_token
1756
+
1757
+ def initialize(**args)
1758
+ update!(**args)
1759
+ end
1760
+
1761
+ # Update properties of this object
1762
+ def update!(**args)
1763
+ @locations = args[:locations] if args.key?(:locations)
1764
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1765
+ end
1766
+ end
1767
+
1768
+ # A resource that represents Google Cloud Platform location.
1769
+ class Location
1770
+ include Google::Apis::Core::Hashable
1771
+
1772
+ # Resource name for the location, which may vary between implementations. For
1773
+ # example: "projects/example-project/locations/us-east1"
1774
+ # Corresponds to the JSON property `name`
1775
+ # @return [String]
1776
+ attr_accessor :name
1777
+
1778
+ # The canonical id for this location. For example: "us-east1".
1779
+ # Corresponds to the JSON property `locationId`
1780
+ # @return [String]
1781
+ attr_accessor :location_id
1782
+
1783
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1784
+ # region": "us-east1"`
1785
+ # Corresponds to the JSON property `labels`
1786
+ # @return [Hash<String,String>]
1787
+ attr_accessor :labels
1788
+
1789
+ # Service-specific metadata. For example the available capacity at the given
1790
+ # location.
1791
+ # Corresponds to the JSON property `metadata`
1792
+ # @return [Hash<String,Object>]
1793
+ attr_accessor :metadata
1794
+
1795
+ def initialize(**args)
1796
+ update!(**args)
1797
+ end
1798
+
1799
+ # Update properties of this object
1800
+ def update!(**args)
1801
+ @name = args[:name] if args.key?(:name)
1802
+ @location_id = args[:location_id] if args.key?(:location_id)
1803
+ @labels = args[:labels] if args.key?(:labels)
1804
+ @metadata = args[:metadata] if args.key?(:metadata)
1805
+ end
1806
+ end
1807
+
1808
+ # Metadata for the given google.longrunning.Operation.
1809
+ class OperationMetadataExperimental
1810
+ include Google::Apis::Core::Hashable
1811
+
1812
+ # API method that initiated this operation. Example: google.appengine.
1813
+ # experimental.CustomDomains.CreateCustomDomain.@OutputOnly
1814
+ # Corresponds to the JSON property `method`
1815
+ # @return [String]
1816
+ attr_accessor :method_prop
1817
+
1818
+ # Time that this operation was created.@OutputOnly
1819
+ # Corresponds to the JSON property `insertTime`
1820
+ # @return [String]
1821
+ attr_accessor :insert_time
1822
+
1823
+ # Time that this operation completed.@OutputOnly
1824
+ # Corresponds to the JSON property `endTime`
1825
+ # @return [String]
1826
+ attr_accessor :end_time
1827
+
1828
+ # User who requested this operation.@OutputOnly
1829
+ # Corresponds to the JSON property `user`
1830
+ # @return [String]
1831
+ attr_accessor :user
1832
+
1833
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1834
+ # customDomains/example.com.@OutputOnly
1835
+ # Corresponds to the JSON property `target`
1836
+ # @return [String]
1837
+ attr_accessor :target
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1846
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1847
+ @end_time = args[:end_time] if args.key?(:end_time)
1848
+ @user = args[:user] if args.key?(:user)
1849
+ @target = args[:target] if args.key?(:target)
1576
1850
  end
1577
1851
  end
1578
1852
 
@@ -1580,36 +1854,35 @@ module Google
1580
1854
  class OperationMetadata
1581
1855
  include Google::Apis::Core::Hashable
1582
1856
 
1583
- # The type of the operation (deprecated, use method field instead). Example: "
1584
- # create_version". @OutputOnly
1857
+ # Type of this operation. Deprecated, use method field instead. Example: "
1858
+ # create_version".@OutputOnly
1585
1859
  # Corresponds to the JSON property `operationType`
1586
1860
  # @return [String]
1587
1861
  attr_accessor :operation_type
1588
1862
 
1589
- # Timestamp that this operation was received. @OutputOnly
1863
+ # Timestamp that this operation was created.@OutputOnly
1590
1864
  # Corresponds to the JSON property `insertTime`
1591
1865
  # @return [String]
1592
1866
  attr_accessor :insert_time
1593
1867
 
1594
- # Timestamp that this operation was completed. (Not present if the operation is
1595
- # still in progress.) @OutputOnly
1868
+ # Timestamp that this operation completed.@OutputOnly
1596
1869
  # Corresponds to the JSON property `endTime`
1597
1870
  # @return [String]
1598
1871
  attr_accessor :end_time
1599
1872
 
1600
- # The user who requested this operation. @OutputOnly
1873
+ # User who requested this operation.@OutputOnly
1601
1874
  # Corresponds to the JSON property `user`
1602
1875
  # @return [String]
1603
1876
  attr_accessor :user
1604
1877
 
1605
- # Resource that this operation is acting on. Example: "apps/myapp/modules/
1606
- # default". @OutputOnly
1878
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1879
+ # modules/default.@OutputOnly
1607
1880
  # Corresponds to the JSON property `target`
1608
1881
  # @return [String]
1609
1882
  attr_accessor :target
1610
1883
 
1611
- # API method name that initiated the operation. Example: "google.appengine.
1612
- # v1beta4.Version.CreateVersion". @OutputOnly
1884
+ # API method that initiated this operation. Example: google.appengine.v1beta4.
1885
+ # Version.CreateVersion.@OutputOnly
1613
1886
  # Corresponds to the JSON property `method`
1614
1887
  # @return [String]
1615
1888
  attr_accessor :method_prop
@@ -1633,30 +1906,29 @@ module Google
1633
1906
  class OperationMetadataV1Beta5
1634
1907
  include Google::Apis::Core::Hashable
1635
1908
 
1636
- # API method name that initiated the operation. Example: "google.appengine.
1637
- # v1beta5.Version.CreateVersion". @OutputOnly
1909
+ # API method name that initiated this operation. Example: google.appengine.
1910
+ # v1beta5.Version.CreateVersion.@OutputOnly
1638
1911
  # Corresponds to the JSON property `method`
1639
1912
  # @return [String]
1640
1913
  attr_accessor :method_prop
1641
1914
 
1642
- # Timestamp that this operation was received. @OutputOnly
1915
+ # Timestamp that this operation was created.@OutputOnly
1643
1916
  # Corresponds to the JSON property `insertTime`
1644
1917
  # @return [String]
1645
1918
  attr_accessor :insert_time
1646
1919
 
1647
- # Timestamp that this operation was completed. (Not present if the operation is
1648
- # still in progress.) @OutputOnly
1920
+ # Timestamp that this operation completed.@OutputOnly
1649
1921
  # Corresponds to the JSON property `endTime`
1650
1922
  # @return [String]
1651
1923
  attr_accessor :end_time
1652
1924
 
1653
- # The user who requested this operation. @OutputOnly
1925
+ # User who requested this operation.@OutputOnly
1654
1926
  # Corresponds to the JSON property `user`
1655
1927
  # @return [String]
1656
1928
  attr_accessor :user
1657
1929
 
1658
- # Resource that this operation is acting on. Example: "apps/myapp/services/
1659
- # default". @OutputOnly
1930
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1931
+ # services/default.@OutputOnly
1660
1932
  # Corresponds to the JSON property `target`
1661
1933
  # @return [String]
1662
1934
  attr_accessor :target
@@ -1674,6 +1946,149 @@ module Google
1674
1946
  @target = args[:target] if args.key?(:target)
1675
1947
  end
1676
1948
  end
1949
+
1950
+ # Metadata for the given google.longrunning.Operation.
1951
+ class OperationMetadataV1Beta
1952
+ include Google::Apis::Core::Hashable
1953
+
1954
+ # API method that initiated this operation. Example: google.appengine.v1beta.
1955
+ # Versions.CreateVersion.@OutputOnly
1956
+ # Corresponds to the JSON property `method`
1957
+ # @return [String]
1958
+ attr_accessor :method_prop
1959
+
1960
+ # Time that this operation was created.@OutputOnly
1961
+ # Corresponds to the JSON property `insertTime`
1962
+ # @return [String]
1963
+ attr_accessor :insert_time
1964
+
1965
+ # Time that this operation completed.@OutputOnly
1966
+ # Corresponds to the JSON property `endTime`
1967
+ # @return [String]
1968
+ attr_accessor :end_time
1969
+
1970
+ # User who requested this operation.@OutputOnly
1971
+ # Corresponds to the JSON property `user`
1972
+ # @return [String]
1973
+ attr_accessor :user
1974
+
1975
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
1976
+ # services/default.@OutputOnly
1977
+ # Corresponds to the JSON property `target`
1978
+ # @return [String]
1979
+ attr_accessor :target
1980
+
1981
+ # Ephemeral message that may change every time the operation is polled. @
1982
+ # OutputOnly
1983
+ # Corresponds to the JSON property `ephemeralMessage`
1984
+ # @return [String]
1985
+ attr_accessor :ephemeral_message
1986
+
1987
+ # Durable messages that persist on every operation poll. @OutputOnly
1988
+ # Corresponds to the JSON property `warning`
1989
+ # @return [Array<String>]
1990
+ attr_accessor :warning
1991
+
1992
+ def initialize(**args)
1993
+ update!(**args)
1994
+ end
1995
+
1996
+ # Update properties of this object
1997
+ def update!(**args)
1998
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1999
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
2000
+ @end_time = args[:end_time] if args.key?(:end_time)
2001
+ @user = args[:user] if args.key?(:user)
2002
+ @target = args[:target] if args.key?(:target)
2003
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
2004
+ @warning = args[:warning] if args.key?(:warning)
2005
+ end
2006
+ end
2007
+
2008
+ # Metadata for the given google.longrunning.Operation.
2009
+ class OperationMetadataV1
2010
+ include Google::Apis::Core::Hashable
2011
+
2012
+ # API method that initiated this operation. Example: google.appengine.v1.
2013
+ # Versions.CreateVersion.@OutputOnly
2014
+ # Corresponds to the JSON property `method`
2015
+ # @return [String]
2016
+ attr_accessor :method_prop
2017
+
2018
+ # Time that this operation was created.@OutputOnly
2019
+ # Corresponds to the JSON property `insertTime`
2020
+ # @return [String]
2021
+ attr_accessor :insert_time
2022
+
2023
+ # Time that this operation completed.@OutputOnly
2024
+ # Corresponds to the JSON property `endTime`
2025
+ # @return [String]
2026
+ attr_accessor :end_time
2027
+
2028
+ # User who requested this operation.@OutputOnly
2029
+ # Corresponds to the JSON property `user`
2030
+ # @return [String]
2031
+ attr_accessor :user
2032
+
2033
+ # Name of the resource that this operation is acting on. Example: apps/myapp/
2034
+ # services/default.@OutputOnly
2035
+ # Corresponds to the JSON property `target`
2036
+ # @return [String]
2037
+ attr_accessor :target
2038
+
2039
+ # Ephemeral message that may change every time the operation is polled. @
2040
+ # OutputOnly
2041
+ # Corresponds to the JSON property `ephemeralMessage`
2042
+ # @return [String]
2043
+ attr_accessor :ephemeral_message
2044
+
2045
+ # Durable messages that persist on every operation poll. @OutputOnly
2046
+ # Corresponds to the JSON property `warning`
2047
+ # @return [Array<String>]
2048
+ attr_accessor :warning
2049
+
2050
+ def initialize(**args)
2051
+ update!(**args)
2052
+ end
2053
+
2054
+ # Update properties of this object
2055
+ def update!(**args)
2056
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
2057
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
2058
+ @end_time = args[:end_time] if args.key?(:end_time)
2059
+ @user = args[:user] if args.key?(:user)
2060
+ @target = args[:target] if args.key?(:target)
2061
+ @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
2062
+ @warning = args[:warning] if args.key?(:warning)
2063
+ end
2064
+ end
2065
+
2066
+ # Metadata for the given google.cloud.location.Location.
2067
+ class LocationMetadata
2068
+ include Google::Apis::Core::Hashable
2069
+
2070
+ # App Engine Standard Environment is available in the given location.@OutputOnly
2071
+ # Corresponds to the JSON property `standardEnvironmentAvailable`
2072
+ # @return [Boolean]
2073
+ attr_accessor :standard_environment_available
2074
+ alias_method :standard_environment_available?, :standard_environment_available
2075
+
2076
+ # App Engine Flexible Environment is available in the given location.@OutputOnly
2077
+ # Corresponds to the JSON property `flexibleEnvironmentAvailable`
2078
+ # @return [Boolean]
2079
+ attr_accessor :flexible_environment_available
2080
+ alias_method :flexible_environment_available?, :flexible_environment_available
2081
+
2082
+ def initialize(**args)
2083
+ update!(**args)
2084
+ end
2085
+
2086
+ # Update properties of this object
2087
+ def update!(**args)
2088
+ @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
2089
+ @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
2090
+ end
2091
+ end
1677
2092
  end
1678
2093
  end
1679
2094
  end