google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -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 = '20200519'
29
+ REVISION = '20200619'
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'
@@ -58,6 +58,11 @@ module Google
58
58
  # @return [Google::Apis::ContainerV1::CloudRunConfig]
59
59
  attr_accessor :cloud_run_config
60
60
 
61
+ # Configuration for NodeLocal DNSCache
62
+ # Corresponds to the JSON property `dnsCacheConfig`
63
+ # @return [Google::Apis::ContainerV1::DnsCacheConfig]
64
+ attr_accessor :dns_cache_config
65
+
61
66
  # Configuration options for the horizontal pod autoscaling feature, which
62
67
  # increases or decreases the number of replica pods a replication controller
63
68
  # has based on the resource usage of the existing pods.
@@ -90,6 +95,7 @@ module Google
90
95
  # Update properties of this object
91
96
  def update!(**args)
92
97
  @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
98
+ @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
93
99
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
94
100
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
95
101
  @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@@ -419,7 +425,7 @@ module Google
419
425
 
420
426
  # [Output only] Deprecated, use
421
427
  # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
422
- # rest/v1/projects.zones.clusters.nodePools)
428
+ # rest/v1/projects.locations.clusters.nodePools)
423
429
  # instead. The current version of the node software components. If they are
424
430
  # currently at multiple versions because they're in the process of being
425
431
  # upgraded, this reflects the minimum version of all nodes.
@@ -490,7 +496,7 @@ module Google
490
496
  attr_accessor :initial_cluster_version
491
497
 
492
498
  # The number of nodes to create in this cluster. You must ensure that your
493
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
499
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
494
500
  # is sufficient for this number of instances. You must also have available
495
501
  # firewall and routes quota.
496
502
  # For requests, this field should only be used in lieu of a
@@ -642,6 +648,15 @@ module Google
642
648
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
643
649
  attr_accessor :private_cluster_config
644
650
 
651
+ # ReleaseChannel indicates which release channel a cluster is
652
+ # subscribed to. Release channels are arranged in order of risk.
653
+ # When a cluster is subscribed to a release channel, Google maintains
654
+ # both the master version and the node version. Node auto-upgrade
655
+ # defaults to true and cannot be disabled.
656
+ # Corresponds to the JSON property `releaseChannel`
657
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
658
+ attr_accessor :release_channel
659
+
645
660
  # The resource labels for the cluster to use to annotate any related
646
661
  # Google Compute Engine resources.
647
662
  # Corresponds to the JSON property `resourceLabels`
@@ -761,6 +776,7 @@ module Google
761
776
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
762
777
  @node_pools = args[:node_pools] if args.key?(:node_pools)
763
778
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
779
+ @release_channel = args[:release_channel] if args.key?(:release_channel)
764
780
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
765
781
  @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
766
782
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -946,6 +962,15 @@ module Google
946
962
  # @return [String]
947
963
  attr_accessor :desired_node_version
948
964
 
965
+ # ReleaseChannel indicates which release channel a cluster is
966
+ # subscribed to. Release channels are arranged in order of risk.
967
+ # When a cluster is subscribed to a release channel, Google maintains
968
+ # both the master version and the node version. Node auto-upgrade
969
+ # defaults to true and cannot be disabled.
970
+ # Corresponds to the JSON property `desiredReleaseChannel`
971
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
972
+ attr_accessor :desired_release_channel
973
+
949
974
  # Configuration for exporting cluster resource usages.
950
975
  # Corresponds to the JSON property `desiredResourceUsageExportConfig`
951
976
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
@@ -989,6 +1014,7 @@ module Google
989
1014
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
990
1015
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
991
1016
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1017
+ @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
992
1018
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
993
1019
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
994
1020
  @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
@@ -1217,6 +1243,26 @@ module Google
1217
1243
  end
1218
1244
  end
1219
1245
 
1246
+ # Configuration for NodeLocal DNSCache
1247
+ class DnsCacheConfig
1248
+ include Google::Apis::Core::Hashable
1249
+
1250
+ # Whether NodeLocal DNSCache is enabled for this cluster.
1251
+ # Corresponds to the JSON property `enabled`
1252
+ # @return [Boolean]
1253
+ attr_accessor :enabled
1254
+ alias_method :enabled?, :enabled
1255
+
1256
+ def initialize(**args)
1257
+ update!(**args)
1258
+ end
1259
+
1260
+ # Update properties of this object
1261
+ def update!(**args)
1262
+ @enabled = args[:enabled] if args.key?(:enabled)
1263
+ end
1264
+ end
1265
+
1220
1266
  # A generic empty message that you can re-use to avoid defining duplicated
1221
1267
  # empty messages in your APIs. A typical example is to use it as the request
1222
1268
  # or the response type of an API method. For instance:
@@ -2079,6 +2125,17 @@ module Google
2079
2125
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2080
2126
  attr_accessor :accelerators
2081
2127
 
2128
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached
2129
+ # to each node in the node pool. This should be of the form
2130
+ # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2131
+ # [KEY_NAME].
2132
+ # For more information about protecting resources with Cloud KMS Keys please
2133
+ # see:
2134
+ # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2135
+ # Corresponds to the JSON property `bootDiskKmsKey`
2136
+ # @return [String]
2137
+ attr_accessor :boot_disk_kms_key
2138
+
2082
2139
  # Size of the disk attached to each node, specified in GB.
2083
2140
  # The smallest allowed disk size is 10GB.
2084
2141
  # If unspecified, the default disk size is 100GB.
@@ -2250,6 +2307,7 @@ module Google
2250
2307
  # Update properties of this object
2251
2308
  def update!(**args)
2252
2309
  @accelerators = args[:accelerators] if args.key?(:accelerators)
2310
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
2253
2311
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2254
2312
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2255
2313
  @image_type = args[:image_type] if args.key?(:image_type)
@@ -2336,7 +2394,7 @@ module Google
2336
2394
  attr_accessor :config
2337
2395
 
2338
2396
  # The initial node count for the pool. You must ensure that your
2339
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
2397
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2340
2398
  # is sufficient for this number of instances. You must also have available
2341
2399
  # firewall and routes quota.
2342
2400
  # Corresponds to the JSON property `initialNodeCount`
@@ -2781,6 +2839,60 @@ module Google
2781
2839
  end
2782
2840
  end
2783
2841
 
2842
+ # ReleaseChannel indicates which release channel a cluster is
2843
+ # subscribed to. Release channels are arranged in order of risk.
2844
+ # When a cluster is subscribed to a release channel, Google maintains
2845
+ # both the master version and the node version. Node auto-upgrade
2846
+ # defaults to true and cannot be disabled.
2847
+ class ReleaseChannel
2848
+ include Google::Apis::Core::Hashable
2849
+
2850
+ # channel specifies which release channel the cluster is subscribed to.
2851
+ # Corresponds to the JSON property `channel`
2852
+ # @return [String]
2853
+ attr_accessor :channel
2854
+
2855
+ def initialize(**args)
2856
+ update!(**args)
2857
+ end
2858
+
2859
+ # Update properties of this object
2860
+ def update!(**args)
2861
+ @channel = args[:channel] if args.key?(:channel)
2862
+ end
2863
+ end
2864
+
2865
+ # ReleaseChannelConfig exposes configuration for a release channel.
2866
+ class ReleaseChannelConfig
2867
+ include Google::Apis::Core::Hashable
2868
+
2869
+ # The release channel this configuration applies to.
2870
+ # Corresponds to the JSON property `channel`
2871
+ # @return [String]
2872
+ attr_accessor :channel
2873
+
2874
+ # The default version for newly created clusters on the channel.
2875
+ # Corresponds to the JSON property `defaultVersion`
2876
+ # @return [String]
2877
+ attr_accessor :default_version
2878
+
2879
+ # List of valid versions for the channel.
2880
+ # Corresponds to the JSON property `validVersions`
2881
+ # @return [Array<String>]
2882
+ attr_accessor :valid_versions
2883
+
2884
+ def initialize(**args)
2885
+ update!(**args)
2886
+ end
2887
+
2888
+ # Update properties of this object
2889
+ def update!(**args)
2890
+ @channel = args[:channel] if args.key?(:channel)
2891
+ @default_version = args[:default_version] if args.key?(:default_version)
2892
+ @valid_versions = args[:valid_versions] if args.key?(:valid_versions)
2893
+ end
2894
+ end
2895
+
2784
2896
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2785
2897
  # reserving-zonal-resources)
2786
2898
  # is the configuration of desired reservation which instances could take
@@ -2959,6 +3071,11 @@ module Google
2959
3071
  class ServerConfig
2960
3072
  include Google::Apis::Core::Hashable
2961
3073
 
3074
+ # List of release channel configurations.
3075
+ # Corresponds to the JSON property `channels`
3076
+ # @return [Array<Google::Apis::ContainerV1::ReleaseChannelConfig>]
3077
+ attr_accessor :channels
3078
+
2962
3079
  # Version of Kubernetes the service deploys by default.
2963
3080
  # Corresponds to the JSON property `defaultClusterVersion`
2964
3081
  # @return [String]
@@ -2974,12 +3091,12 @@ module Google
2974
3091
  # @return [Array<String>]
2975
3092
  attr_accessor :valid_image_types
2976
3093
 
2977
- # List of valid master versions.
3094
+ # List of valid master versions, in descending order.
2978
3095
  # Corresponds to the JSON property `validMasterVersions`
2979
3096
  # @return [Array<String>]
2980
3097
  attr_accessor :valid_master_versions
2981
3098
 
2982
- # List of valid node upgrade target versions.
3099
+ # List of valid node upgrade target versions, in descending order.
2983
3100
  # Corresponds to the JSON property `validNodeVersions`
2984
3101
  # @return [Array<String>]
2985
3102
  attr_accessor :valid_node_versions
@@ -2990,6 +3107,7 @@ module Google
2990
3107
 
2991
3108
  # Update properties of this object
2992
3109
  def update!(**args)
3110
+ @channels = args[:channels] if args.key?(:channels)
2993
3111
  @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
2994
3112
  @default_image_type = args[:default_image_type] if args.key?(:default_image_type)
2995
3113
  @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class DnsCacheConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class Empty
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -340,6 +346,18 @@ module Google
340
346
  include Google::Apis::Core::JsonObjectSupport
341
347
  end
342
348
 
349
+ class ReleaseChannel
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ReleaseChannelConfig
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class ReservationAffinity
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -545,6 +563,8 @@ module Google
545
563
  class Representation < Google::Apis::Core::JsonRepresentation
546
564
  property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1::CloudRunConfig, decorator: Google::Apis::ContainerV1::CloudRunConfig::Representation
547
565
 
566
+ property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1::DnsCacheConfig, decorator: Google::Apis::ContainerV1::DnsCacheConfig::Representation
567
+
548
568
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
549
569
 
550
570
  property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
@@ -688,6 +708,8 @@ module Google
688
708
 
689
709
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
690
710
 
711
+ property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
712
+
691
713
  hash :resource_labels, as: 'resourceLabels'
692
714
  property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
693
715
 
@@ -743,6 +765,8 @@ module Google
743
765
 
744
766
  property :desired_node_pool_id, as: 'desiredNodePoolId'
745
767
  property :desired_node_version, as: 'desiredNodeVersion'
768
+ property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
769
+
746
770
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
747
771
 
748
772
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
@@ -810,6 +834,13 @@ module Google
810
834
  end
811
835
  end
812
836
 
837
+ class DnsCacheConfig
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :enabled, as: 'enabled'
841
+ end
842
+ end
843
+
813
844
  class Empty
814
845
  # @private
815
846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1042,6 +1073,7 @@ module Google
1042
1073
  class Representation < Google::Apis::Core::JsonRepresentation
1043
1074
  collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
1044
1075
 
1076
+ property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1045
1077
  property :disk_size_gb, as: 'diskSizeGb'
1046
1078
  property :disk_type, as: 'diskType'
1047
1079
  property :image_type, as: 'imageType'
@@ -1179,6 +1211,22 @@ module Google
1179
1211
  end
1180
1212
  end
1181
1213
 
1214
+ class ReleaseChannel
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :channel, as: 'channel'
1218
+ end
1219
+ end
1220
+
1221
+ class ReleaseChannelConfig
1222
+ # @private
1223
+ class Representation < Google::Apis::Core::JsonRepresentation
1224
+ property :channel, as: 'channel'
1225
+ property :default_version, as: 'defaultVersion'
1226
+ collection :valid_versions, as: 'validVersions'
1227
+ end
1228
+ end
1229
+
1182
1230
  class ReservationAffinity
1183
1231
  # @private
1184
1232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1229,6 +1277,8 @@ module Google
1229
1277
  class ServerConfig
1230
1278
  # @private
1231
1279
  class Representation < Google::Apis::Core::JsonRepresentation
1280
+ collection :channels, as: 'channels', class: Google::Apis::ContainerV1::ReleaseChannelConfig, decorator: Google::Apis::ContainerV1::ReleaseChannelConfig::Representation
1281
+
1232
1282
  property :default_cluster_version, as: 'defaultClusterVersion'
1233
1283
  property :default_image_type, as: 'defaultImageType'
1234
1284
  collection :valid_image_types, as: 'validImageTypes'
@@ -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 = '20200519'
29
+ REVISION = '20200619'
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'
@@ -196,25 +196,39 @@ module Google
196
196
  # @return [Google::Apis::ContainerV1beta1::NodeManagement]
197
197
  attr_accessor :management
198
198
 
199
- # Minimum CPU platform to be used for NAP created node pools.
200
- # The instance may be scheduled on the specified or newer CPU platform.
201
- # Applicable values are the friendly names of CPU platforms, such as
199
+ # Minimum CPU platform to be used by this instance. The instance may be
200
+ # scheduled on the specified or newer CPU platform. Applicable values are the
201
+ # friendly names of CPU platforms, such as
202
202
  # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
203
203
  # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
204
204
  # information, read [how to specify min CPU
205
205
  # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
206
206
  # platform)
207
- # To unset the min cpu platform field pass "automatic" as field value.
207
+ # To unset the min cpu platform field pass "automatic"
208
+ # as field value.
208
209
  # Corresponds to the JSON property `minCpuPlatform`
209
210
  # @return [String]
210
211
  attr_accessor :min_cpu_platform
211
212
 
212
- # Scopes that are used by NAP when creating node pools.
213
+ # The set of Google API scopes to be made available on all of the
214
+ # node VMs under the "default" service account.
215
+ # The following scopes are recommended, but not required, and by default are
216
+ # not included:
217
+ # * `https://www.googleapis.com/auth/compute` is required for mounting
218
+ # persistent storage on your nodes.
219
+ # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
220
+ # communicating with **gcr.io**
221
+ # (the [Google Container
222
+ # Registry](https://cloud.google.com/container-registry/)).
223
+ # If unspecified, no scopes are added, unless Cloud Logging or Cloud
224
+ # Monitoring are enabled, in which case their required scopes will be added.
213
225
  # Corresponds to the JSON property `oauthScopes`
214
226
  # @return [Array<String>]
215
227
  attr_accessor :oauth_scopes
216
228
 
217
229
  # The Google Cloud Platform Service Account to be used by the node VMs.
230
+ # Specify the email address of the Service Account; otherwise, if no Service
231
+ # Account is specified, the "default" service account is used.
218
232
  # Corresponds to the JSON property `serviceAccount`
219
233
  # @return [String]
220
234
  attr_accessor :service_account
@@ -255,8 +269,7 @@ module Google
255
269
  end
256
270
  end
257
271
 
258
- # AvailableVersion is an additional Kubernetes versions offered
259
- # to users who subscribed to the release channel.
272
+ # Deprecated.
260
273
  class AvailableVersion
261
274
  include Google::Apis::Core::Hashable
262
275
 
@@ -567,7 +580,7 @@ module Google
567
580
  attr_accessor :initial_cluster_version
568
581
 
569
582
  # The number of nodes to create in this cluster. You must ensure that your
570
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
583
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
571
584
  # is sufficient for this number of instances. You must also have available
572
585
  # firewall and routes quota.
573
586
  # For requests, this field should only be used in lieu of a
@@ -750,12 +763,10 @@ module Google
750
763
  attr_accessor :private_cluster_config
751
764
 
752
765
  # ReleaseChannel indicates which release channel a cluster is
753
- # subscribed to. Release channels are arranged in order of risk and
754
- # frequency of updates.
766
+ # subscribed to. Release channels are arranged in order of risk.
755
767
  # When a cluster is subscribed to a release channel, Google maintains
756
768
  # both the master version and the node version. Node auto-upgrade
757
- # defaults to true and cannot be disabled. Updates to version related
758
- # fields (e.g. current_master_version) return an error.
769
+ # defaults to true and cannot be disabled.
759
770
  # Corresponds to the JSON property `releaseChannel`
760
771
  # @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
761
772
  attr_accessor :release_channel
@@ -1130,12 +1141,10 @@ module Google
1130
1141
  attr_accessor :desired_private_cluster_config
1131
1142
 
1132
1143
  # ReleaseChannel indicates which release channel a cluster is
1133
- # subscribed to. Release channels are arranged in order of risk and
1134
- # frequency of updates.
1144
+ # subscribed to. Release channels are arranged in order of risk.
1135
1145
  # When a cluster is subscribed to a release channel, Google maintains
1136
1146
  # both the master version and the node version. Node auto-upgrade
1137
- # defaults to true and cannot be disabled. Updates to version related
1138
- # fields (e.g. current_master_version) return an error.
1147
+ # defaults to true and cannot be disabled.
1139
1148
  # Corresponds to the JSON property `desiredReleaseChannel`
1140
1149
  # @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
1141
1150
  attr_accessor :desired_release_channel
@@ -2035,6 +2044,36 @@ module Google
2035
2044
  end
2036
2045
  end
2037
2046
 
2047
+ # Parameters that can be configured on Linux nodes.
2048
+ class LinuxNodeConfig
2049
+ include Google::Apis::Core::Hashable
2050
+
2051
+ # The Linux kernel parameters to be applied to the nodes and all pods running
2052
+ # on the nodes.
2053
+ # The following parameters are supported.
2054
+ # net.core.netdev_max_backlog
2055
+ # net.core.rmem_max
2056
+ # net.core.wmem_default
2057
+ # net.core.wmem_max
2058
+ # net.core.optmem_max
2059
+ # net.core.somaxconn
2060
+ # net.ipv4.tcp_rmem
2061
+ # net.ipv4.tcp_wmem
2062
+ # net.ipv4.tcp_tw_reuse
2063
+ # Corresponds to the JSON property `sysctls`
2064
+ # @return [Hash<String,String>]
2065
+ attr_accessor :sysctls
2066
+
2067
+ def initialize(**args)
2068
+ update!(**args)
2069
+ end
2070
+
2071
+ # Update properties of this object
2072
+ def update!(**args)
2073
+ @sysctls = args[:sysctls] if args.key?(:sysctls)
2074
+ end
2075
+ end
2076
+
2038
2077
  # ListClustersResponse is the result of ListClustersRequest.
2039
2078
  class ListClustersResponse
2040
2079
  include Google::Apis::Core::Hashable
@@ -2554,6 +2593,11 @@ module Google
2554
2593
  # @return [String]
2555
2594
  attr_accessor :image_type
2556
2595
 
2596
+ # Node kubelet configs.
2597
+ # Corresponds to the JSON property `kubeletConfig`
2598
+ # @return [Google::Apis::ContainerV1beta1::NodeKubeletConfig]
2599
+ attr_accessor :kubelet_config
2600
+
2557
2601
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2558
2602
  # These will added in addition to any default label(s) that
2559
2603
  # Kubernetes may apply to the node.
@@ -2566,6 +2610,11 @@ module Google
2566
2610
  # @return [Hash<String,String>]
2567
2611
  attr_accessor :labels
2568
2612
 
2613
+ # Parameters that can be configured on Linux nodes.
2614
+ # Corresponds to the JSON property `linuxNodeConfig`
2615
+ # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
2616
+ attr_accessor :linux_node_config
2617
+
2569
2618
  # The number of local SSD disks to be attached to the node.
2570
2619
  # The limit for this value is dependent upon the maximum number of
2571
2620
  # disks available on a machine per zone. See:
@@ -2710,7 +2759,9 @@ module Google
2710
2759
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2711
2760
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2712
2761
  @image_type = args[:image_type] if args.key?(:image_type)
2762
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
2713
2763
  @labels = args[:labels] if args.key?(:labels)
2764
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
2714
2765
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
2715
2766
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2716
2767
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -2727,6 +2778,55 @@ module Google
2727
2778
  end
2728
2779
  end
2729
2780
 
2781
+ # Node kubelet configs.
2782
+ class NodeKubeletConfig
2783
+ include Google::Apis::Core::Hashable
2784
+
2785
+ # Enable CPU CFS quota enforcement for containers that specify CPU limits.
2786
+ # If this option is enabled, kubelet uses CFS quota
2787
+ # (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
2788
+ # enforce container CPU limits. Otherwise, CPU limits will not be enforced at
2789
+ # all.
2790
+ # Disable this option to mitigate CPU throttling problems while still having
2791
+ # your pods to be in Guaranteed QoS class by specifying the CPU limits.
2792
+ # The default value is 'true' if unspecified.
2793
+ # Corresponds to the JSON property `cpuCfsQuota`
2794
+ # @return [Boolean]
2795
+ attr_accessor :cpu_cfs_quota
2796
+ alias_method :cpu_cfs_quota?, :cpu_cfs_quota
2797
+
2798
+ # Set the CPU CFS quota period value 'cpu.cfs_period_us'.
2799
+ # The string must be a sequence of decimal numbers, each with optional
2800
+ # fraction and a unit suffix, such as "300ms".
2801
+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
2802
+ # The value must be a positive duration.
2803
+ # Corresponds to the JSON property `cpuCfsQuotaPeriod`
2804
+ # @return [String]
2805
+ attr_accessor :cpu_cfs_quota_period
2806
+
2807
+ # Control the CPU management policy on the node.
2808
+ # See
2809
+ # https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
2810
+ # The following values are allowed.
2811
+ # - "none": the default, which represents the existing scheduling behavior.
2812
+ # - "static": allows pods with certain resource characteristics to be
2813
+ # granted increased CPU affinity and exclusivity on the node.
2814
+ # Corresponds to the JSON property `cpuManagerPolicy`
2815
+ # @return [String]
2816
+ attr_accessor :cpu_manager_policy
2817
+
2818
+ def initialize(**args)
2819
+ update!(**args)
2820
+ end
2821
+
2822
+ # Update properties of this object
2823
+ def update!(**args)
2824
+ @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
2825
+ @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
2826
+ @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
2827
+ end
2828
+ end
2829
+
2730
2830
  # NodeManagement defines the set of node management services turned on for the
2731
2831
  # node pool.
2732
2832
  class NodeManagement
@@ -2788,7 +2888,7 @@ module Google
2788
2888
  attr_accessor :config
2789
2889
 
2790
2890
  # The initial node count for the pool. You must ensure that your
2791
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
2891
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2792
2892
  # is sufficient for this number of instances. You must also have available
2793
2893
  # firewall and routes quota.
2794
2894
  # Corresponds to the JSON property `initialNodeCount`
@@ -3281,12 +3381,10 @@ module Google
3281
3381
  end
3282
3382
 
3283
3383
  # ReleaseChannel indicates which release channel a cluster is
3284
- # subscribed to. Release channels are arranged in order of risk and
3285
- # frequency of updates.
3384
+ # subscribed to. Release channels are arranged in order of risk.
3286
3385
  # When a cluster is subscribed to a release channel, Google maintains
3287
3386
  # both the master version and the node version. Node auto-upgrade
3288
- # defaults to true and cannot be disabled. Updates to version related
3289
- # fields (e.g. current_master_version) return an error.
3387
+ # defaults to true and cannot be disabled.
3290
3388
  class ReleaseChannel
3291
3389
  include Google::Apis::Core::Hashable
3292
3390
 
@@ -3309,7 +3407,9 @@ module Google
3309
3407
  class ReleaseChannelConfig
3310
3408
  include Google::Apis::Core::Hashable
3311
3409
 
3312
- # List of available versions for the release channel.
3410
+ # Deprecated.
3411
+ # This field has been deprecated and replaced with the valid_versions
3412
+ # field.
3313
3413
  # Corresponds to the JSON property `availableVersions`
3314
3414
  # @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
3315
3415
  attr_accessor :available_versions
@@ -3324,6 +3424,11 @@ module Google
3324
3424
  # @return [String]
3325
3425
  attr_accessor :default_version
3326
3426
 
3427
+ # List of valid versions for the channel.
3428
+ # Corresponds to the JSON property `validVersions`
3429
+ # @return [Array<String>]
3430
+ attr_accessor :valid_versions
3431
+
3327
3432
  def initialize(**args)
3328
3433
  update!(**args)
3329
3434
  end
@@ -3333,6 +3438,7 @@ module Google
3333
3438
  @available_versions = args[:available_versions] if args.key?(:available_versions)
3334
3439
  @channel = args[:channel] if args.key?(:channel)
3335
3440
  @default_version = args[:default_version] if args.key?(:default_version)
3441
+ @valid_versions = args[:valid_versions] if args.key?(:valid_versions)
3336
3442
  end
3337
3443
  end
3338
3444
 
@@ -3540,12 +3646,12 @@ module Google
3540
3646
  # @return [Array<String>]
3541
3647
  attr_accessor :valid_image_types
3542
3648
 
3543
- # List of valid master versions.
3649
+ # List of valid master versions, in descending order.
3544
3650
  # Corresponds to the JSON property `validMasterVersions`
3545
3651
  # @return [Array<String>]
3546
3652
  attr_accessor :valid_master_versions
3547
3653
 
3548
- # List of valid node upgrade target versions.
3654
+ # List of valid node upgrade target versions, in descending order.
3549
3655
  # Corresponds to the JSON property `validNodeVersions`
3550
3656
  # @return [Array<String>]
3551
3657
  attr_accessor :valid_node_versions
@@ -4552,6 +4658,16 @@ module Google
4552
4658
  # @return [String]
4553
4659
  attr_accessor :image_type
4554
4660
 
4661
+ # Node kubelet configs.
4662
+ # Corresponds to the JSON property `kubeletConfig`
4663
+ # @return [Google::Apis::ContainerV1beta1::NodeKubeletConfig]
4664
+ attr_accessor :kubelet_config
4665
+
4666
+ # Parameters that can be configured on Linux nodes.
4667
+ # Corresponds to the JSON property `linuxNodeConfig`
4668
+ # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
4669
+ attr_accessor :linux_node_config
4670
+
4555
4671
  # The desired list of Google Compute Engine
4556
4672
  # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4557
4673
  # node pool's nodes should be located. Changing the locations for a node pool
@@ -4638,6 +4754,8 @@ module Google
4638
4754
  def update!(**args)
4639
4755
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
4640
4756
  @image_type = args[:image_type] if args.key?(:image_type)
4757
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4758
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
4641
4759
  @locations = args[:locations] if args.key?(:locations)
4642
4760
  @name = args[:name] if args.key?(:name)
4643
4761
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)