google-api-client 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180616'
29
+ REVISION = '20180807'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -398,6 +398,11 @@ module Google
398
398
  # @return [String]
399
399
  attr_accessor :network
400
400
 
401
+ # NetworkConfig reports the relative names of network & subnetwork.
402
+ # Corresponds to the JSON property `networkConfig`
403
+ # @return [Google::Apis::ContainerV1::NetworkConfig]
404
+ attr_accessor :network_config
405
+
401
406
  # Configuration options for the NetworkPolicy feature.
402
407
  # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
403
408
  # Corresponds to the JSON property `networkPolicy`
@@ -500,6 +505,7 @@ module Google
500
505
  @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
501
506
  @name = args[:name] if args.key?(:name)
502
507
  @network = args[:network] if args.key?(:network)
508
+ @network_config = args[:network_config] if args.key?(:network_config)
503
509
  @network_policy = args[:network_policy] if args.key?(:network_policy)
504
510
  @node_config = args[:node_config] if args.key?(:node_config)
505
511
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
@@ -1220,6 +1226,36 @@ module Google
1220
1226
  end
1221
1227
  end
1222
1228
 
1229
+ # NetworkConfig reports the relative names of network & subnetwork.
1230
+ class NetworkConfig
1231
+ include Google::Apis::Core::Hashable
1232
+
1233
+ # Output only. The relative name of the Google Compute Engine
1234
+ # network(/compute/docs/networks-and-firewalls#networks) to which
1235
+ # the cluster is connected.
1236
+ # Example: projects/my-project/global/networks/my-network
1237
+ # Corresponds to the JSON property `network`
1238
+ # @return [String]
1239
+ attr_accessor :network
1240
+
1241
+ # Output only. The relative name of the Google Compute Engine
1242
+ # [subnetwork](/compute/docs/vpc) to which the cluster is connected.
1243
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
1244
+ # Corresponds to the JSON property `subnetwork`
1245
+ # @return [String]
1246
+ attr_accessor :subnetwork
1247
+
1248
+ def initialize(**args)
1249
+ update!(**args)
1250
+ end
1251
+
1252
+ # Update properties of this object
1253
+ def update!(**args)
1254
+ @network = args[:network] if args.key?(:network)
1255
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1256
+ end
1257
+ end
1258
+
1223
1259
  # Configuration options for the NetworkPolicy feature.
1224
1260
  # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
1225
1261
  class NetworkPolicy
@@ -1287,6 +1323,12 @@ module Google
1287
1323
  # @return [Fixnum]
1288
1324
  attr_accessor :disk_size_gb
1289
1325
 
1326
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
1327
+ # If unspecified, the default disk type is 'pd-standard'
1328
+ # Corresponds to the JSON property `diskType`
1329
+ # @return [String]
1330
+ attr_accessor :disk_type
1331
+
1290
1332
  # The image type to use for this node. Note that for a given image type,
1291
1333
  # the latest version of it will be used.
1292
1334
  # Corresponds to the JSON property `imageType`
@@ -1403,6 +1445,7 @@ module Google
1403
1445
  def update!(**args)
1404
1446
  @accelerators = args[:accelerators] if args.key?(:accelerators)
1405
1447
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1448
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
1406
1449
  @image_type = args[:image_type] if args.key?(:image_type)
1407
1450
  @labels = args[:labels] if args.key?(:labels)
1408
1451
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class NetworkConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class NetworkPolicy
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -411,6 +417,8 @@ module Google
411
417
  property :monitoring_service, as: 'monitoringService'
412
418
  property :name, as: 'name'
413
419
  property :network, as: 'network'
420
+ property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NetworkConfig, decorator: Google::Apis::ContainerV1::NetworkConfig::Representation
421
+
414
422
  property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation
415
423
 
416
424
  property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
@@ -602,6 +610,14 @@ module Google
602
610
  end
603
611
  end
604
612
 
613
+ class NetworkConfig
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :network, as: 'network'
617
+ property :subnetwork, as: 'subnetwork'
618
+ end
619
+ end
620
+
605
621
  class NetworkPolicy
606
622
  # @private
607
623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +639,7 @@ module Google
623
639
  collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
624
640
 
625
641
  property :disk_size_gb, as: 'diskSizeGb'
642
+ property :disk_type, as: 'diskType'
626
643
  property :image_type, as: 'imageType'
627
644
  hash :labels, as: 'labels'
628
645
  property :local_ssd_count, as: 'localSsdCount'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20180616'
29
+ REVISION = '20180807'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -239,6 +239,14 @@ module Google
239
239
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
240
240
  attr_accessor :addons_config
241
241
 
242
+ # ClusterAutoscaling contains global, per-cluster information
243
+ # required by Cluster Autoscaler to automatically adjust
244
+ # the size of the cluster and create/delete
245
+ # node pools based on the current needs.
246
+ # Corresponds to the JSON property `autoscaling`
247
+ # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
248
+ attr_accessor :autoscaling
249
+
242
250
  # Configuration for Binary Authorization.
243
251
  # Corresponds to the JSON property `binaryAuthorization`
244
252
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
@@ -275,6 +283,11 @@ module Google
275
283
  # @return [String]
276
284
  attr_accessor :current_node_version
277
285
 
286
+ # Constraints applied to pods.
287
+ # Corresponds to the JSON property `defaultMaxPodsConstraint`
288
+ # @return [Google::Apis::ContainerV1beta1::MaxPodsConstraint]
289
+ attr_accessor :default_max_pods_constraint
290
+
278
291
  # An optional description of this cluster.
279
292
  # Corresponds to the JSON property `description`
280
293
  # @return [String]
@@ -407,6 +420,8 @@ module Google
407
420
  # The IP prefix in CIDR notation to use for the hosted master network.
408
421
  # This prefix will be used for assigning private IP addresses to the
409
422
  # master or set of masters, as well as the ILB VIP.
423
+ # This field is deprecated, use
424
+ # private_cluster_config.master_ipv4_cidr_block instead.
410
425
  # Corresponds to the JSON property `masterIpv4CidrBlock`
411
426
  # @return [String]
412
427
  attr_accessor :master_ipv4_cidr_block
@@ -476,11 +491,17 @@ module Google
476
491
  # If this is a private cluster setup. Private clusters are clusters that, by
477
492
  # default have no external IP addresses on the nodes and where nodes and the
478
493
  # master communicate over private IP addresses.
494
+ # This field is deprecated, use private_cluster_config.enabled instead.
479
495
  # Corresponds to the JSON property `privateCluster`
480
496
  # @return [Boolean]
481
497
  attr_accessor :private_cluster
482
498
  alias_method :private_cluster?, :private_cluster
483
499
 
500
+ # Configuration options for private clusters.
501
+ # Corresponds to the JSON property `privateClusterConfig`
502
+ # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
503
+ attr_accessor :private_cluster_config
504
+
484
505
  # The resource labels for the cluster to use to annotate any related
485
506
  # Google Compute Engine resources.
486
507
  # Corresponds to the JSON property `resourceLabels`
@@ -542,12 +563,14 @@ module Google
542
563
  # Update properties of this object
543
564
  def update!(**args)
544
565
  @addons_config = args[:addons_config] if args.key?(:addons_config)
566
+ @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
545
567
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
546
568
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
547
569
  @create_time = args[:create_time] if args.key?(:create_time)
548
570
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
549
571
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
550
572
  @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
573
+ @default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
551
574
  @description = args[:description] if args.key?(:description)
552
575
  @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
553
576
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
@@ -576,6 +599,7 @@ module Google
576
599
  @node_pools = args[:node_pools] if args.key?(:node_pools)
577
600
  @pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
578
601
  @private_cluster = args[:private_cluster] if args.key?(:private_cluster)
602
+ @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
579
603
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
580
604
  @self_link = args[:self_link] if args.key?(:self_link)
581
605
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@@ -587,6 +611,36 @@ module Google
587
611
  end
588
612
  end
589
613
 
614
+ # ClusterAutoscaling contains global, per-cluster information
615
+ # required by Cluster Autoscaler to automatically adjust
616
+ # the size of the cluster and create/delete
617
+ # node pools based on the current needs.
618
+ class ClusterAutoscaling
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # Enables automatic node pool creation and deletion.
622
+ # Corresponds to the JSON property `enableNodeAutoprovisioning`
623
+ # @return [Boolean]
624
+ attr_accessor :enable_node_autoprovisioning
625
+ alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
626
+
627
+ # Contains global constraints regarding minimum and maximum
628
+ # amount of resources in the cluster.
629
+ # Corresponds to the JSON property `resourceLimits`
630
+ # @return [Array<Google::Apis::ContainerV1beta1::ResourceLimit>]
631
+ attr_accessor :resource_limits
632
+
633
+ def initialize(**args)
634
+ update!(**args)
635
+ end
636
+
637
+ # Update properties of this object
638
+ def update!(**args)
639
+ @enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
640
+ @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
641
+ end
642
+ end
643
+
590
644
  # ClusterUpdate describes an update to the cluster. Exactly one update can
591
645
  # be applied to a cluster with each request, so at most one field can be
592
646
  # provided.
@@ -604,6 +658,14 @@ module Google
604
658
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
605
659
  attr_accessor :desired_binary_authorization
606
660
 
661
+ # ClusterAutoscaling contains global, per-cluster information
662
+ # required by Cluster Autoscaler to automatically adjust
663
+ # the size of the cluster and create/delete
664
+ # node pools based on the current needs.
665
+ # Corresponds to the JSON property `desiredClusterAutoscaling`
666
+ # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
667
+ attr_accessor :desired_cluster_autoscaling
668
+
607
669
  # The desired image type for the node pool.
608
670
  # NOTE: Set the "desired_node_pool" field as well.
609
671
  # Corresponds to the JSON property `desiredImageType`
@@ -620,6 +682,16 @@ module Google
620
682
  # @return [Array<String>]
621
683
  attr_accessor :desired_locations
622
684
 
685
+ # The logging service the cluster should use to write metrics.
686
+ # Currently available options:
687
+ # * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
688
+ # service with Kubernetes-native resource model in Stackdriver
689
+ # * "logging.googleapis.com" - the Google Cloud Logging service
690
+ # * "none" - no logs will be exported from the cluster
691
+ # Corresponds to the JSON property `desiredLoggingService`
692
+ # @return [String]
693
+ attr_accessor :desired_logging_service
694
+
623
695
  # Configuration options for the master authorized networks feature. Enabled
624
696
  # master authorized networks will disallow all external traffic to access
625
697
  # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -643,6 +715,8 @@ module Google
643
715
 
644
716
  # The monitoring service the cluster should use to write metrics.
645
717
  # Currently available options:
718
+ # * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
719
+ # service with Kubernetes-native resource model in Stackdriver
646
720
  # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
647
721
  # * "none" - no metrics will be exported from the cluster
648
722
  # Corresponds to the JSON property `desiredMonitoringService`
@@ -689,8 +763,10 @@ module Google
689
763
  def update!(**args)
690
764
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
691
765
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
766
+ @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
692
767
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
693
768
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
769
+ @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
694
770
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
695
771
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
696
772
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
@@ -890,233 +966,6 @@ module Google
890
966
  end
891
967
  end
892
968
 
893
- # Associates `members` with a `role`.
894
- class GoogleIamV1Binding
895
- include Google::Apis::Core::Hashable
896
-
897
- # Specifies the identities requesting access for a Cloud Platform resource.
898
- # `members` can have the following values:
899
- # * `allUsers`: A special identifier that represents anyone who is
900
- # on the internet; with or without a Google account.
901
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
902
- # who is authenticated with a Google account or a service account.
903
- # * `user:`emailid``: An email address that represents a specific Google
904
- # account. For example, `alice@gmail.com` .
905
- # * `serviceAccount:`emailid``: An email address that represents a service
906
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
907
- # * `group:`emailid``: An email address that represents a Google group.
908
- # For example, `admins@example.com`.
909
- # * `domain:`domain``: A Google Apps domain name that represents all the
910
- # users of that domain. For example, `google.com` or `example.com`.
911
- # Corresponds to the JSON property `members`
912
- # @return [Array<String>]
913
- attr_accessor :members
914
-
915
- # Role that is assigned to `members`.
916
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
917
- # Required
918
- # Corresponds to the JSON property `role`
919
- # @return [String]
920
- attr_accessor :role
921
-
922
- def initialize(**args)
923
- update!(**args)
924
- end
925
-
926
- # Update properties of this object
927
- def update!(**args)
928
- @members = args[:members] if args.key?(:members)
929
- @role = args[:role] if args.key?(:role)
930
- end
931
- end
932
-
933
- # Request message for `GetIamPolicy` method.
934
- class GoogleIamV1GetIamPolicyRequest
935
- include Google::Apis::Core::Hashable
936
-
937
- def initialize(**args)
938
- update!(**args)
939
- end
940
-
941
- # Update properties of this object
942
- def update!(**args)
943
- end
944
- end
945
-
946
- # Defines an Identity and Access Management (IAM) policy. It is used to
947
- # specify access control policies for Cloud Platform resources.
948
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
949
- # `members` to a `role`, where the members can be user accounts, Google groups,
950
- # Google domains, and service accounts. A `role` is a named list of permissions
951
- # defined by IAM.
952
- # **JSON Example**
953
- # `
954
- # "bindings": [
955
- # `
956
- # "role": "roles/owner",
957
- # "members": [
958
- # "user:mike@example.com",
959
- # "group:admins@example.com",
960
- # "domain:google.com",
961
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
962
- # ]
963
- # `,
964
- # `
965
- # "role": "roles/viewer",
966
- # "members": ["user:sean@example.com"]
967
- # `
968
- # ]
969
- # `
970
- # **YAML Example**
971
- # bindings:
972
- # - members:
973
- # - user:mike@example.com
974
- # - group:admins@example.com
975
- # - domain:google.com
976
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
977
- # role: roles/owner
978
- # - members:
979
- # - user:sean@example.com
980
- # role: roles/viewer
981
- # For a description of IAM and its features, see the
982
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
983
- class GoogleIamV1Policy
984
- include Google::Apis::Core::Hashable
985
-
986
- # Associates a list of `members` to a `role`.
987
- # `bindings` with no members will result in an error.
988
- # Corresponds to the JSON property `bindings`
989
- # @return [Array<Google::Apis::ContainerV1beta1::GoogleIamV1Binding>]
990
- attr_accessor :bindings
991
-
992
- # `etag` is used for optimistic concurrency control as a way to help
993
- # prevent simultaneous updates of a policy from overwriting each other.
994
- # It is strongly suggested that systems make use of the `etag` in the
995
- # read-modify-write cycle to perform policy updates in order to avoid race
996
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
997
- # systems are expected to put that etag in the request to `setIamPolicy` to
998
- # ensure that their change will be applied to the same version of the policy.
999
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1000
- # policy is overwritten blindly.
1001
- # Corresponds to the JSON property `etag`
1002
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1003
- # @return [String]
1004
- attr_accessor :etag
1005
-
1006
- # Deprecated.
1007
- # Corresponds to the JSON property `version`
1008
- # @return [Fixnum]
1009
- attr_accessor :version
1010
-
1011
- def initialize(**args)
1012
- update!(**args)
1013
- end
1014
-
1015
- # Update properties of this object
1016
- def update!(**args)
1017
- @bindings = args[:bindings] if args.key?(:bindings)
1018
- @etag = args[:etag] if args.key?(:etag)
1019
- @version = args[:version] if args.key?(:version)
1020
- end
1021
- end
1022
-
1023
- # Request message for `SetIamPolicy` method.
1024
- class GoogleIamV1SetIamPolicyRequest
1025
- include Google::Apis::Core::Hashable
1026
-
1027
- # Defines an Identity and Access Management (IAM) policy. It is used to
1028
- # specify access control policies for Cloud Platform resources.
1029
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1030
- # `members` to a `role`, where the members can be user accounts, Google groups,
1031
- # Google domains, and service accounts. A `role` is a named list of permissions
1032
- # defined by IAM.
1033
- # **JSON Example**
1034
- # `
1035
- # "bindings": [
1036
- # `
1037
- # "role": "roles/owner",
1038
- # "members": [
1039
- # "user:mike@example.com",
1040
- # "group:admins@example.com",
1041
- # "domain:google.com",
1042
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1043
- # ]
1044
- # `,
1045
- # `
1046
- # "role": "roles/viewer",
1047
- # "members": ["user:sean@example.com"]
1048
- # `
1049
- # ]
1050
- # `
1051
- # **YAML Example**
1052
- # bindings:
1053
- # - members:
1054
- # - user:mike@example.com
1055
- # - group:admins@example.com
1056
- # - domain:google.com
1057
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1058
- # role: roles/owner
1059
- # - members:
1060
- # - user:sean@example.com
1061
- # role: roles/viewer
1062
- # For a description of IAM and its features, see the
1063
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1064
- # Corresponds to the JSON property `policy`
1065
- # @return [Google::Apis::ContainerV1beta1::GoogleIamV1Policy]
1066
- attr_accessor :policy
1067
-
1068
- def initialize(**args)
1069
- update!(**args)
1070
- end
1071
-
1072
- # Update properties of this object
1073
- def update!(**args)
1074
- @policy = args[:policy] if args.key?(:policy)
1075
- end
1076
- end
1077
-
1078
- # Request message for `TestIamPermissions` method.
1079
- class GoogleIamV1TestIamPermissionsRequest
1080
- include Google::Apis::Core::Hashable
1081
-
1082
- # The set of permissions to check for the `resource`. Permissions with
1083
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
1084
- # information see
1085
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1086
- # Corresponds to the JSON property `permissions`
1087
- # @return [Array<String>]
1088
- attr_accessor :permissions
1089
-
1090
- def initialize(**args)
1091
- update!(**args)
1092
- end
1093
-
1094
- # Update properties of this object
1095
- def update!(**args)
1096
- @permissions = args[:permissions] if args.key?(:permissions)
1097
- end
1098
- end
1099
-
1100
- # Response message for `TestIamPermissions` method.
1101
- class GoogleIamV1TestIamPermissionsResponse
1102
- include Google::Apis::Core::Hashable
1103
-
1104
- # A subset of `TestPermissionsRequest.permissions` that the caller is
1105
- # allowed.
1106
- # Corresponds to the JSON property `permissions`
1107
- # @return [Array<String>]
1108
- attr_accessor :permissions
1109
-
1110
- def initialize(**args)
1111
- update!(**args)
1112
- end
1113
-
1114
- # Update properties of this object
1115
- def update!(**args)
1116
- @permissions = args[:permissions] if args.key?(:permissions)
1117
- end
1118
- end
1119
-
1120
969
  # Configuration options for the horizontal pod autoscaling feature, which
1121
970
  # increases or decreases the number of replica pods a replication controller
1122
971
  # has based on the resource usage of the existing pods.
@@ -1658,6 +1507,25 @@ module Google
1658
1507
  end
1659
1508
  end
1660
1509
 
1510
+ # Constraints applied to pods.
1511
+ class MaxPodsConstraint
1512
+ include Google::Apis::Core::Hashable
1513
+
1514
+ # Constraint enforced on the max num of pods per node.
1515
+ # Corresponds to the JSON property `maxPodsPerNode`
1516
+ # @return [Fixnum]
1517
+ attr_accessor :max_pods_per_node
1518
+
1519
+ def initialize(**args)
1520
+ update!(**args)
1521
+ end
1522
+
1523
+ # Update properties of this object
1524
+ def update!(**args)
1525
+ @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
1526
+ end
1527
+ end
1528
+
1661
1529
  # Progress metric is (string, int|float|string) pair.
1662
1530
  class Metric
1663
1531
  include Google::Apis::Core::Hashable
@@ -1700,15 +1568,16 @@ module Google
1700
1568
  class NetworkConfig
1701
1569
  include Google::Apis::Core::Hashable
1702
1570
 
1703
- # Output only. The name of the Google Compute Engine
1704
- # network(/compute/docs/networks-and-firewalls#networks).
1571
+ # Output only. The relative name of the Google Compute Engine
1572
+ # network(/compute/docs/networks-and-firewalls#networks) to which
1573
+ # the cluster is connected.
1705
1574
  # Example: projects/my-project/global/networks/my-network
1706
1575
  # Corresponds to the JSON property `network`
1707
1576
  # @return [String]
1708
1577
  attr_accessor :network
1709
1578
 
1710
- # Output only. The name of the Google Compute Engine
1711
- # [subnetwork](/compute/docs/vpc).
1579
+ # Output only. The relative name of the Google Compute Engine
1580
+ # [subnetwork](/compute/docs/vpc) to which the cluster is connected.
1712
1581
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
1713
1582
  # Corresponds to the JSON property `subnetwork`
1714
1583
  # @return [String]
@@ -2019,6 +1888,11 @@ module Google
2019
1888
  # @return [Google::Apis::ContainerV1beta1::NodeManagement]
2020
1889
  attr_accessor :management
2021
1890
 
1891
+ # Constraints applied to pods.
1892
+ # Corresponds to the JSON property `maxPodsConstraint`
1893
+ # @return [Google::Apis::ContainerV1beta1::MaxPodsConstraint]
1894
+ attr_accessor :max_pods_constraint
1895
+
2022
1896
  # The name of the node pool.
2023
1897
  # Corresponds to the JSON property `name`
2024
1898
  # @return [String]
@@ -2056,6 +1930,7 @@ module Google
2056
1930
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
2057
1931
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
2058
1932
  @management = args[:management] if args.key?(:management)
1933
+ @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
2059
1934
  @name = args[:name] if args.key?(:name)
2060
1935
  @self_link = args[:self_link] if args.key?(:self_link)
2061
1936
  @status = args[:status] if args.key?(:status)
@@ -2069,6 +1944,12 @@ module Google
2069
1944
  class NodePoolAutoscaling
2070
1945
  include Google::Apis::Core::Hashable
2071
1946
 
1947
+ # Can this node pool be deleted automatically.
1948
+ # Corresponds to the JSON property `autoprovisioned`
1949
+ # @return [Boolean]
1950
+ attr_accessor :autoprovisioned
1951
+ alias_method :autoprovisioned?, :autoprovisioned
1952
+
2072
1953
  # Is autoscaling enabled for this node pool.
2073
1954
  # Corresponds to the JSON property `enabled`
2074
1955
  # @return [Boolean]
@@ -2093,6 +1974,7 @@ module Google
2093
1974
 
2094
1975
  # Update properties of this object
2095
1976
  def update!(**args)
1977
+ @autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
2096
1978
  @enabled = args[:enabled] if args.key?(:enabled)
2097
1979
  @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2098
1980
  @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
@@ -2292,6 +2174,86 @@ module Google
2292
2174
  end
2293
2175
  end
2294
2176
 
2177
+ # Configuration options for private clusters.
2178
+ class PrivateClusterConfig
2179
+ include Google::Apis::Core::Hashable
2180
+
2181
+ # Whether the master's internal IP address is used as the cluster endpoint.
2182
+ # Corresponds to the JSON property `enablePrivateEndpoint`
2183
+ # @return [Boolean]
2184
+ attr_accessor :enable_private_endpoint
2185
+ alias_method :enable_private_endpoint?, :enable_private_endpoint
2186
+
2187
+ # Whether nodes have only private IP addresses, and communicate with the
2188
+ # master via private networking.
2189
+ # Corresponds to the JSON property `enablePrivateNodes`
2190
+ # @return [Boolean]
2191
+ attr_accessor :enable_private_nodes
2192
+ alias_method :enable_private_nodes?, :enable_private_nodes
2193
+
2194
+ # The IP prefix in CIDR notation to use for the hosted master network. This
2195
+ # prefix will be used for assigning private IP addresses to the master or
2196
+ # set of masters, as well as the ILB VIP.
2197
+ # Corresponds to the JSON property `masterIpv4CidrBlock`
2198
+ # @return [String]
2199
+ attr_accessor :master_ipv4_cidr_block
2200
+
2201
+ # Output only. The internal IP address of this cluster's master endpoint.
2202
+ # Corresponds to the JSON property `privateEndpoint`
2203
+ # @return [String]
2204
+ attr_accessor :private_endpoint
2205
+
2206
+ # Output only. The external IP address of this cluster's master endpoint.
2207
+ # Corresponds to the JSON property `publicEndpoint`
2208
+ # @return [String]
2209
+ attr_accessor :public_endpoint
2210
+
2211
+ def initialize(**args)
2212
+ update!(**args)
2213
+ end
2214
+
2215
+ # Update properties of this object
2216
+ def update!(**args)
2217
+ @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
2218
+ @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
2219
+ @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
2220
+ @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
2221
+ @public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
2222
+ end
2223
+ end
2224
+
2225
+ # Contains information about amount of some resource in the cluster.
2226
+ # For memory, value should be in GB.
2227
+ class ResourceLimit
2228
+ include Google::Apis::Core::Hashable
2229
+
2230
+ # Maximum amount of the resource in the cluster.
2231
+ # Corresponds to the JSON property `maximum`
2232
+ # @return [Fixnum]
2233
+ attr_accessor :maximum
2234
+
2235
+ # Minimum amount of the resource in the cluster.
2236
+ # Corresponds to the JSON property `minimum`
2237
+ # @return [Fixnum]
2238
+ attr_accessor :minimum
2239
+
2240
+ # Resource name "cpu", "memory" or gpu-specific string.
2241
+ # Corresponds to the JSON property `resourceType`
2242
+ # @return [String]
2243
+ attr_accessor :resource_type
2244
+
2245
+ def initialize(**args)
2246
+ update!(**args)
2247
+ end
2248
+
2249
+ # Update properties of this object
2250
+ def update!(**args)
2251
+ @maximum = args[:maximum] if args.key?(:maximum)
2252
+ @minimum = args[:minimum] if args.key?(:minimum)
2253
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
2254
+ end
2255
+ end
2256
+
2295
2257
  # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
2296
2258
  # NodePool upgrade. This will be an no-op if the last upgrade successfully
2297
2259
  # completed.