google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200224'
29
+ REVISION = '20200405'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20200224'
29
+ REVISION = '20200405'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20200210'
28
+ REVISION = '20200324'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -207,6 +207,10 @@ module Google
207
207
  # @param [String] name
208
208
  # Required. The resource name of the queue. For example:
209
209
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
210
+ # @param [String] read_mask
211
+ # Optional. Read mask is used for a more granular control over what the API
212
+ # returns. By
213
+ # it includes all fields in Queue except for stats.
210
214
  # @param [String] fields
211
215
  # Selector specifying which fields to include in a partial response.
212
216
  # @param [String] quota_user
@@ -224,11 +228,12 @@ module Google
224
228
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
225
229
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226
230
  # @raise [Google::Apis::AuthorizationError] Authorization is required
227
- def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
231
+ def get_project_location_queue(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
228
232
  command = make_simple_command(:get, 'v2beta2/{+name}', options)
229
233
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
230
234
  command.response_class = Google::Apis::CloudtasksV2beta2::Queue
231
235
  command.params['name'] = name unless name.nil?
236
+ command.query['readMask'] = read_mask unless read_mask.nil?
232
237
  command.query['fields'] = fields unless fields.nil?
233
238
  command.query['quotaUser'] = quota_user unless quota_user.nil?
234
239
  execute_or_queue_command(command, &block)
@@ -23,13 +23,13 @@ module Google
23
23
  # Sends application trace data to Cloud Trace for viewing. Trace data is
24
24
  # collected for all App Engine applications by default. Trace data from other
25
25
  # applications can be provided using this API. This library is used to interact
26
- # with the Trace API directly. If you are looking to instrument your application
27
- # for Cloud Trace, we recommend using OpenCensus.
26
+ # with the Cloud Trace API directly. If you are looking to instrument your
27
+ # application for Cloud Trace, we recommend using OpenCensus.
28
28
  #
29
29
  # @see https://cloud.google.com/trace
30
30
  module CloudtraceV1
31
31
  VERSION = 'V1'
32
- REVISION = '20200225'
32
+ REVISION = '20200309'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,8 +25,8 @@ module Google
25
25
  # Sends application trace data to Cloud Trace for viewing. Trace data is
26
26
  # collected for all App Engine applications by default. Trace data from other
27
27
  # applications can be provided using this API. This library is used to interact
28
- # with the Trace API directly. If you are looking to instrument your application
29
- # for Cloud Trace, we recommend using OpenCensus.
28
+ # with the Cloud Trace API directly. If you are looking to instrument your
29
+ # application for Cloud Trace, we recommend using OpenCensus.
30
30
  #
31
31
  # @example
32
32
  # require 'google/apis/cloudtrace_v1'
@@ -23,13 +23,13 @@ module Google
23
23
  # Sends application trace data to Cloud Trace for viewing. Trace data is
24
24
  # collected for all App Engine applications by default. Trace data from other
25
25
  # applications can be provided using this API. This library is used to interact
26
- # with the Trace API directly. If you are looking to instrument your application
27
- # for Cloud Trace, we recommend using OpenCensus.
26
+ # with the Cloud Trace API directly. If you are looking to instrument your
27
+ # application for Cloud Trace, we recommend using OpenCensus.
28
28
  #
29
29
  # @see https://cloud.google.com/trace
30
30
  module CloudtraceV2
31
31
  VERSION = 'V2'
32
- REVISION = '20200225'
32
+ REVISION = '20200309'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,8 +25,8 @@ module Google
25
25
  # Sends application trace data to Cloud Trace for viewing. Trace data is
26
26
  # collected for all App Engine applications by default. Trace data from other
27
27
  # applications can be provided using this API. This library is used to interact
28
- # with the Trace API directly. If you are looking to instrument your application
29
- # for Cloud Trace, we recommend using OpenCensus.
28
+ # with the Cloud Trace API directly. If you are looking to instrument your
29
+ # application for Cloud Trace, we recommend using OpenCensus.
30
30
  #
31
31
  # @example
32
32
  # require 'google/apis/cloudtrace_v2'
@@ -23,13 +23,13 @@ module Google
23
23
  # Sends application trace data to Cloud Trace for viewing. Trace data is
24
24
  # collected for all App Engine applications by default. Trace data from other
25
25
  # applications can be provided using this API. This library is used to interact
26
- # with the Trace API directly. If you are looking to instrument your application
27
- # for Cloud Trace, we recommend using OpenCensus.
26
+ # with the Cloud Trace API directly. If you are looking to instrument your
27
+ # application for Cloud Trace, we recommend using OpenCensus.
28
28
  #
29
29
  # @see https://cloud.google.com/trace
30
30
  module CloudtraceV2beta1
31
31
  VERSION = 'V2beta1'
32
- REVISION = '20200225'
32
+ REVISION = '20200330'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -120,8 +120,7 @@ module Google
120
120
  # granting_access_to_a_service_account_for_a_resource).
121
121
  # To create tables and write data this account will need the dataEditor role.
122
122
  # Read more about roles in the [BigQuery
123
- # documentation](https://cloud.google.com/bigquery/docs/access-control#
124
- # permissions_and_roles).
123
+ # documentation](https://cloud.google.com/bigquery/docs/access-control).
125
124
  # E.g.:
126
125
  # "service-00000001@00000002.iam.gserviceaccount.com"
127
126
  # Corresponds to the JSON property `writerIdentity`
@@ -25,8 +25,8 @@ module Google
25
25
  # Sends application trace data to Cloud Trace for viewing. Trace data is
26
26
  # collected for all App Engine applications by default. Trace data from other
27
27
  # applications can be provided using this API. This library is used to interact
28
- # with the Trace API directly. If you are looking to instrument your application
29
- # for Cloud Trace, we recommend using OpenCensus.
28
+ # with the Cloud Trace API directly. If you are looking to instrument your
29
+ # application for Cloud Trace, we recommend using OpenCensus.
30
30
  #
31
31
  # @example
32
32
  # require 'google/apis/cloudtrace_v2beta1'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200207'
28
+ REVISION = '20200313'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -145,6 +145,12 @@ module Google
145
145
  # @return [Fixnum]
146
146
  attr_accessor :node_count
147
147
 
148
+ # The configuration information for configuring a Private IP Cloud Composer
149
+ # environment.
150
+ # Corresponds to the JSON property `privateEnvironmentConfig`
151
+ # @return [Google::Apis::ComposerV1::PrivateEnvironmentConfig]
152
+ attr_accessor :private_environment_config
153
+
148
154
  # Specifies the selection and configuration of software inside the environment.
149
155
  # Corresponds to the JSON property `softwareConfig`
150
156
  # @return [Google::Apis::ComposerV1::SoftwareConfig]
@@ -161,10 +167,81 @@ module Google
161
167
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
162
168
  @node_config = args[:node_config] if args.key?(:node_config)
163
169
  @node_count = args[:node_count] if args.key?(:node_count)
170
+ @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
164
171
  @software_config = args[:software_config] if args.key?(:software_config)
165
172
  end
166
173
  end
167
174
 
175
+ # Configuration for controlling how IPs are allocated in the
176
+ # GKE cluster running the Apache Airflow software.
177
+ class IpAllocationPolicy
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Optional. The IP address range used to allocate IP addresses to pods in
181
+ # the GKE cluster.
182
+ # This field is applicable only when `use_ip_aliases` is true.
183
+ # Set to blank to have GKE choose a range with the default size.
184
+ # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
185
+ # netmask.
186
+ # Set to a
187
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
188
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
189
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
190
+ # to use.
191
+ # Corresponds to the JSON property `clusterIpv4CidrBlock`
192
+ # @return [String]
193
+ attr_accessor :cluster_ipv4_cidr_block
194
+
195
+ # Optional. The name of the GKE cluster's secondary range used to allocate
196
+ # IP addresses to pods.
197
+ # This field is applicable only when `use_ip_aliases` is true.
198
+ # Corresponds to the JSON property `clusterSecondaryRangeName`
199
+ # @return [String]
200
+ attr_accessor :cluster_secondary_range_name
201
+
202
+ # Optional. The IP address range of the services IP addresses in this
203
+ # GKE cluster.
204
+ # This field is applicable only when `use_ip_aliases` is true.
205
+ # Set to blank to have GKE choose a range with the default size.
206
+ # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
207
+ # netmask.
208
+ # Set to a
209
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
210
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
211
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
212
+ # to use.
213
+ # Corresponds to the JSON property `servicesIpv4CidrBlock`
214
+ # @return [String]
215
+ attr_accessor :services_ipv4_cidr_block
216
+
217
+ # Optional. The name of the services' secondary range used to allocate
218
+ # IP addresses to the GKE cluster.
219
+ # This field is applicable only when `use_ip_aliases` is true.
220
+ # Corresponds to the JSON property `servicesSecondaryRangeName`
221
+ # @return [String]
222
+ attr_accessor :services_secondary_range_name
223
+
224
+ # Optional. Whether or not to enable Alias IPs in the GKE cluster.
225
+ # If `true`, a VPC-native cluster is created.
226
+ # Corresponds to the JSON property `useIpAliases`
227
+ # @return [Boolean]
228
+ attr_accessor :use_ip_aliases
229
+ alias_method :use_ip_aliases?, :use_ip_aliases
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
238
+ @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
239
+ @services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
240
+ @services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
241
+ @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
242
+ end
243
+ end
244
+
168
245
  # ImageVersion information
169
246
  class ImageVersion
170
247
  include Google::Apis::Core::Hashable
@@ -285,6 +362,12 @@ module Google
285
362
  # @return [Fixnum]
286
363
  attr_accessor :disk_size_gb
287
364
 
365
+ # Configuration for controlling how IPs are allocated in the
366
+ # GKE cluster running the Apache Airflow software.
367
+ # Corresponds to the JSON property `ipAllocationPolicy`
368
+ # @return [Google::Apis::ComposerV1::IpAllocationPolicy]
369
+ attr_accessor :ip_allocation_policy
370
+
288
371
  # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
289
372
  # to deploy the VMs used to run the Apache Airflow software, specified as a
290
373
  # [relative resource
@@ -379,6 +462,7 @@ module Google
379
462
  # Update properties of this object
380
463
  def update!(**args)
381
464
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
465
+ @ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
382
466
  @location = args[:location] if args.key?(:location)
383
467
  @machine_type = args[:machine_type] if args.key?(:machine_type)
384
468
  @network = args[:network] if args.key?(:network)
@@ -504,6 +588,100 @@ module Google
504
588
  end
505
589
  end
506
590
 
591
+ # Configuration options for the private GKE cluster in a Cloud Composer
592
+ # environment.
593
+ class PrivateClusterConfig
594
+ include Google::Apis::Core::Hashable
595
+
596
+ # Optional. If `true`, access to the public endpoint of the GKE cluster is
597
+ # denied.
598
+ # Corresponds to the JSON property `enablePrivateEndpoint`
599
+ # @return [Boolean]
600
+ attr_accessor :enable_private_endpoint
601
+ alias_method :enable_private_endpoint?, :enable_private_endpoint
602
+
603
+ # Optional. The CIDR block from which IPv4 range for GKE master will be reserved.
604
+ # If
605
+ # left blank, the default value of '172.16.0.0/23' is used.
606
+ # Corresponds to the JSON property `masterIpv4CidrBlock`
607
+ # @return [String]
608
+ attr_accessor :master_ipv4_cidr_block
609
+
610
+ # Output only. The IP range in CIDR notation to use for the hosted master
611
+ # network. This
612
+ # range is used for assigning internal IP addresses to the GKE cluster
613
+ # master or set of masters and to the internal load balancer virtual IP.
614
+ # This range must not overlap with any other ranges in use
615
+ # within the cluster's network.
616
+ # Corresponds to the JSON property `masterIpv4ReservedRange`
617
+ # @return [String]
618
+ attr_accessor :master_ipv4_reserved_range
619
+
620
+ def initialize(**args)
621
+ update!(**args)
622
+ end
623
+
624
+ # Update properties of this object
625
+ def update!(**args)
626
+ @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
627
+ @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
628
+ @master_ipv4_reserved_range = args[:master_ipv4_reserved_range] if args.key?(:master_ipv4_reserved_range)
629
+ end
630
+ end
631
+
632
+ # The configuration information for configuring a Private IP Cloud Composer
633
+ # environment.
634
+ class PrivateEnvironmentConfig
635
+ include Google::Apis::Core::Hashable
636
+
637
+ # Optional. The CIDR block from which IP range in tenant project will be
638
+ # reserved for
639
+ # Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
640
+ # Corresponds to the JSON property `cloudSqlIpv4CidrBlock`
641
+ # @return [String]
642
+ attr_accessor :cloud_sql_ipv4_cidr_block
643
+
644
+ # Optional. If `true`, a Private IP Cloud Composer environment is created.
645
+ # If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
646
+ # set to true.
647
+ # Corresponds to the JSON property `enablePrivateEnvironment`
648
+ # @return [Boolean]
649
+ attr_accessor :enable_private_environment
650
+ alias_method :enable_private_environment?, :enable_private_environment
651
+
652
+ # Configuration options for the private GKE cluster in a Cloud Composer
653
+ # environment.
654
+ # Corresponds to the JSON property `privateClusterConfig`
655
+ # @return [Google::Apis::ComposerV1::PrivateClusterConfig]
656
+ attr_accessor :private_cluster_config
657
+
658
+ # Optional. The CIDR block from which IP range for web server will be reserved.
659
+ # Needs
660
+ # to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
661
+ # `cloud_sql_ipv4_cidr_block`.
662
+ # Corresponds to the JSON property `webServerIpv4CidrBlock`
663
+ # @return [String]
664
+ attr_accessor :web_server_ipv4_cidr_block
665
+
666
+ # Output only. The IP range reserved for the tenant project's App Engine VMs.
667
+ # Corresponds to the JSON property `webServerIpv4ReservedRange`
668
+ # @return [String]
669
+ attr_accessor :web_server_ipv4_reserved_range
670
+
671
+ def initialize(**args)
672
+ update!(**args)
673
+ end
674
+
675
+ # Update properties of this object
676
+ def update!(**args)
677
+ @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
678
+ @enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
679
+ @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
680
+ @web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
681
+ @web_server_ipv4_reserved_range = args[:web_server_ipv4_reserved_range] if args.key?(:web_server_ipv4_reserved_range)
682
+ end
683
+ end
684
+
507
685
  # Specifies the selection and configuration of software inside the environment.
508
686
  class SoftwareConfig
509
687
  include Google::Apis::Core::Hashable
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class IpAllocationPolicy
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class ImageVersion
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -82,6 +88,18 @@ module Google
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
91
+ class PrivateClusterConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class PrivateEnvironmentConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class SoftwareConfig
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -123,11 +141,24 @@ module Google
123
141
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
124
142
 
125
143
  property :node_count, as: 'nodeCount'
144
+ property :private_environment_config, as: 'privateEnvironmentConfig', class: Google::Apis::ComposerV1::PrivateEnvironmentConfig, decorator: Google::Apis::ComposerV1::PrivateEnvironmentConfig::Representation
145
+
126
146
  property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1::SoftwareConfig, decorator: Google::Apis::ComposerV1::SoftwareConfig::Representation
127
147
 
128
148
  end
129
149
  end
130
150
 
151
+ class IpAllocationPolicy
152
+ # @private
153
+ class Representation < Google::Apis::Core::JsonRepresentation
154
+ property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
155
+ property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
156
+ property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
157
+ property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
158
+ property :use_ip_aliases, as: 'useIpAliases'
159
+ end
160
+ end
161
+
131
162
  class ImageVersion
132
163
  # @private
133
164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -168,6 +199,8 @@ module Google
168
199
  # @private
169
200
  class Representation < Google::Apis::Core::JsonRepresentation
170
201
  property :disk_size_gb, as: 'diskSizeGb'
202
+ property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1::IpAllocationPolicy::Representation
203
+
171
204
  property :location, as: 'location'
172
205
  property :machine_type, as: 'machineType'
173
206
  property :network, as: 'network'
@@ -202,6 +235,27 @@ module Google
202
235
  end
203
236
  end
204
237
 
238
+ class PrivateClusterConfig
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :enable_private_endpoint, as: 'enablePrivateEndpoint'
242
+ property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
243
+ property :master_ipv4_reserved_range, as: 'masterIpv4ReservedRange'
244
+ end
245
+ end
246
+
247
+ class PrivateEnvironmentConfig
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
251
+ property :enable_private_environment, as: 'enablePrivateEnvironment'
252
+ property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1::PrivateClusterConfig::Representation
253
+
254
+ property :web_server_ipv4_cidr_block, as: 'webServerIpv4CidrBlock'
255
+ property :web_server_ipv4_reserved_range, as: 'webServerIpv4ReservedRange'
256
+ end
257
+ end
258
+
205
259
  class SoftwareConfig
206
260
  # @private
207
261
  class Representation < Google::Apis::Core::JsonRepresentation