google-api-client 0.50.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +3 -1
  3. data/CHANGELOG.md +127 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1beta.rb +1 -1
  10. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  11. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
  12. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  13. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
  14. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
  15. data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  18. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  19. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  20. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  21. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  22. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +7 -7
  25. data/generated/google/apis/apigee_v1/service.rb +8 -7
  26. data/generated/google/apis/appengine_v1beta.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  28. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  29. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  30. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  31. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  32. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  33. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  34. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  35. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
  36. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
  37. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  38. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  39. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
  40. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  41. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
  43. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  44. data/generated/google/apis/chat_v1.rb +1 -1
  45. data/generated/google/apis/chat_v1/service.rb +176 -0
  46. data/generated/google/apis/cloudasset_v1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
  48. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  49. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  50. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  52. data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
  53. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
  55. data/generated/google/apis/cloudiot_v1.rb +1 -1
  56. data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
  57. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  58. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  59. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  60. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  61. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
  62. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  63. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
  65. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  66. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  67. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
  68. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  69. data/generated/google/apis/composer_v1.rb +1 -1
  70. data/generated/google/apis/composer_v1/classes.rb +123 -0
  71. data/generated/google/apis/composer_v1/representations.rb +49 -0
  72. data/generated/google/apis/composer_v1/service.rb +19 -15
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  75. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  76. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +7 -2
  79. data/generated/google/apis/compute_v1/representations.rb +1 -0
  80. data/generated/google/apis/compute_v1/service.rb +691 -544
  81. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  82. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
  83. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  84. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  85. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
  86. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  87. data/generated/google/apis/content_v2.rb +1 -1
  88. data/generated/google/apis/content_v2/classes.rb +4 -4
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +175 -4
  91. data/generated/google/apis/content_v2_1/representations.rb +78 -0
  92. data/generated/google/apis/content_v2_1/service.rb +179 -0
  93. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  94. data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
  95. data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
  96. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  97. data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
  98. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  99. data/generated/google/apis/dataproc_v1.rb +1 -1
  100. data/generated/google/apis/dataproc_v1/classes.rb +78 -6
  101. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
  104. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  105. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  106. data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
  107. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
  108. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
  110. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
  111. data/generated/google/apis/dialogflow_v2.rb +1 -1
  112. data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
  113. data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
  114. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  115. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
  117. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
  118. data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
  119. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  120. data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
  121. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
  122. data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
  123. data/generated/google/apis/displayvideo_v1.rb +1 -1
  124. data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
  125. data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
  126. data/generated/google/apis/displayvideo_v1/service.rb +103 -39
  127. data/generated/google/apis/dns_v1.rb +1 -1
  128. data/generated/google/apis/dns_v1/classes.rb +6 -0
  129. data/generated/google/apis/dns_v1/representations.rb +1 -0
  130. data/generated/google/apis/dns_v1beta2.rb +1 -1
  131. data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
  132. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  134. data/generated/google/apis/drive_v2.rb +1 -1
  135. data/generated/google/apis/drive_v2/classes.rb +4 -1
  136. data/generated/google/apis/drive_v2/service.rb +24 -56
  137. data/generated/google/apis/drive_v3.rb +1 -1
  138. data/generated/google/apis/drive_v3/classes.rb +4 -1
  139. data/generated/google/apis/drive_v3/service.rb +14 -30
  140. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  141. data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
  142. data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
  143. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  144. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  145. data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
  146. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  147. data/generated/google/apis/games_v1.rb +1 -1
  148. data/generated/google/apis/games_v1/classes.rb +67 -14
  149. data/generated/google/apis/games_v1/representations.rb +31 -2
  150. data/generated/google/apis/games_v1/service.rb +33 -0
  151. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  152. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  153. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  154. data/generated/google/apis/healthcare_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  156. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  157. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
  158. data/generated/google/apis/iam_v1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +101 -0
  160. data/generated/google/apis/iam_v1/representations.rb +33 -0
  161. data/generated/google/apis/iam_v1/service.rb +62 -0
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  164. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  167. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  168. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  169. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  170. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  171. data/generated/google/apis/jobs_v4/service.rb +903 -0
  172. data/generated/google/apis/licensing_v1.rb +1 -1
  173. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  174. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  175. data/generated/google/apis/licensing_v1/service.rb +32 -29
  176. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  177. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  178. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  179. data/generated/google/apis/logging_v2.rb +1 -1
  180. data/generated/google/apis/logging_v2/classes.rb +5 -4
  181. data/generated/google/apis/managedidentities_v1.rb +1 -1
  182. data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
  183. data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
  184. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  185. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
  186. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
  187. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  188. data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
  189. data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
  190. data/generated/google/apis/ml_v1.rb +1 -1
  191. data/generated/google/apis/ml_v1/classes.rb +0 -6
  192. data/generated/google/apis/ml_v1/representations.rb +0 -1
  193. data/generated/google/apis/monitoring_v3.rb +1 -1
  194. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  195. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  196. data/generated/google/apis/notebooks_v1.rb +1 -1
  197. data/generated/google/apis/notebooks_v1/classes.rb +0 -6
  198. data/generated/google/apis/notebooks_v1/representations.rb +0 -1
  199. data/generated/google/apis/osconfig_v1.rb +1 -1
  200. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  201. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  202. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  203. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  204. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  205. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  206. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  207. data/generated/google/apis/people_v1.rb +1 -1
  208. data/generated/google/apis/people_v1/classes.rb +6 -2
  209. data/generated/google/apis/pubsub_v1.rb +1 -1
  210. data/generated/google/apis/pubsub_v1/classes.rb +0 -6
  211. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  212. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
  214. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  215. data/generated/google/apis/recommender_v1.rb +1 -1
  216. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  217. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  218. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  219. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  220. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  221. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  222. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  223. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  224. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  225. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  226. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  227. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  228. data/generated/google/apis/reseller_v1.rb +4 -4
  229. data/generated/google/apis/reseller_v1/service.rb +5 -5
  230. data/generated/google/apis/run_v1.rb +1 -1
  231. data/generated/google/apis/run_v1/classes.rb +2 -1
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  236. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  237. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  238. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  239. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  240. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  241. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  243. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  244. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  245. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
  246. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  247. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  248. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
  249. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
  250. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  251. data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
  252. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  253. data/generated/google/apis/sheets_v4.rb +1 -1
  254. data/generated/google/apis/sheets_v4/classes.rb +309 -0
  255. data/generated/google/apis/sheets_v4/representations.rb +99 -0
  256. data/generated/google/apis/slides_v1.rb +1 -1
  257. data/generated/google/apis/spanner_v1.rb +1 -1
  258. data/generated/google/apis/spanner_v1/classes.rb +9 -6
  259. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  260. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  261. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  262. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  263. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  264. data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
  265. data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
  266. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  267. data/generated/google/apis/storage_v1.rb +1 -1
  268. data/generated/google/apis/storage_v1/classes.rb +7 -0
  269. data/generated/google/apis/storage_v1/representations.rb +1 -0
  270. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  271. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
  272. data/generated/google/apis/vault_v1.rb +1 -1
  273. data/generated/google/apis/vault_v1/classes.rb +76 -0
  274. data/generated/google/apis/vault_v1/representations.rb +45 -0
  275. data/generated/google/apis/vectortile_v1.rb +1 -1
  276. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  277. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  278. data/generated/google/apis/videointelligence_v1.rb +1 -1
  279. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  280. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  281. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  282. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  283. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  284. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  286. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  287. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  288. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  289. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  290. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  291. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  292. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  293. data/generated/google/apis/youtube_v3.rb +1 -1
  294. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  295. data/lib/google/apis/version.rb +1 -1
  296. metadata +19 -11
  297. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  298. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  299. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module ComposerV1
24
24
 
25
+ class AllowedIpRange
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Date
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class Empty
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -112,6 +124,29 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class WebServerNetworkAccessControl
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class AllowedIpRange
134
+ # @private
135
+ class Representation < Google::Apis::Core::JsonRepresentation
136
+ property :description, as: 'description'
137
+ property :value, as: 'value'
138
+ end
139
+ end
140
+
141
+ class Date
142
+ # @private
143
+ class Representation < Google::Apis::Core::JsonRepresentation
144
+ property :day, as: 'day'
145
+ property :month, as: 'month'
146
+ property :year, as: 'year'
147
+ end
148
+ end
149
+
115
150
  class Empty
116
151
  # @private
117
152
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -145,6 +180,8 @@ module Google
145
180
 
146
181
  property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1::SoftwareConfig, decorator: Google::Apis::ComposerV1::SoftwareConfig::Representation
147
182
 
183
+ property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1::WebServerNetworkAccessControl::Representation
184
+
148
185
  end
149
186
  end
150
187
 
@@ -162,9 +199,13 @@ module Google
162
199
  class ImageVersion
163
200
  # @private
164
201
  class Representation < Google::Apis::Core::JsonRepresentation
202
+ property :creation_disabled, as: 'creationDisabled'
165
203
  property :image_version_id, as: 'imageVersionId'
166
204
  property :is_default, as: 'isDefault'
205
+ property :release_date, as: 'releaseDate', class: Google::Apis::ComposerV1::Date, decorator: Google::Apis::ComposerV1::Date::Representation
206
+
167
207
  collection :supported_python_versions, as: 'supportedPythonVersions'
208
+ property :upgrade_disabled, as: 'upgradeDisabled'
168
209
  end
169
210
  end
170
211
 
@@ -275,6 +316,14 @@ module Google
275
316
  property :message, as: 'message'
276
317
  end
277
318
  end
319
+
320
+ class WebServerNetworkAccessControl
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ collection :allowed_ip_ranges, as: 'allowedIpRanges', class: Google::Apis::ComposerV1::AllowedIpRange, decorator: Google::Apis::ComposerV1::AllowedIpRange::Representation
324
+
325
+ end
326
+ end
278
327
  end
279
328
  end
280
329
  end
@@ -227,20 +227,21 @@ module Google
227
227
  # provide both a mask of this form and the "labels" mask. config.nodeCount
228
228
  # Horizontally scale the number of nodes in the environment. An integer greater
229
229
  # than or equal to 3 must be provided in the `config.nodeCount` field. config.
230
- # softwareConfig.airflowConfigOverrides Replace all Apache Airflow config
231
- # overrides. If a replacement config overrides map is not included in `
232
- # environment`, all config overrides are cleared. It is an error to provide both
233
- # this mask and a mask specifying one or more individual config overrides.
234
- # config.softwareConfig.airflowConfigOverrides.section-name Override the Apache
235
- # Airflow config property name in the section named section, preserving other
236
- # properties. To delete the property override, include it in `updateMask` and
237
- # omit its mapping in `environment.config.softwareConfig.airflowConfigOverrides`.
238
- # It is an error to provide both a mask of this form and the "config.
239
- # softwareConfig.airflowConfigOverrides" mask. config.softwareConfig.
240
- # envVariables Replace all environment variables. If a replacement environment
241
- # variable map is not included in `environment`, all custom environment
242
- # variables are cleared. It is an error to provide both this mask and a mask
243
- # specifying one or more individual environment variables.
230
+ # webServerNetworkAccessControl Replace the environment's current
231
+ # WebServerNetworkAccessControl. config.softwareConfig.airflowConfigOverrides
232
+ # Replace all Apache Airflow config overrides. If a replacement config overrides
233
+ # map is not included in `environment`, all config overrides are cleared. It is
234
+ # an error to provide both this mask and a mask specifying one or more
235
+ # individual config overrides. config.softwareConfig.airflowConfigOverrides.
236
+ # section-name Override the Apache Airflow config property name in the section
237
+ # named section, preserving other properties. To delete the property override,
238
+ # include it in `updateMask` and omit its mapping in `environment.config.
239
+ # softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask
240
+ # of this form and the "config.softwareConfig.airflowConfigOverrides" mask.
241
+ # config.softwareConfig.envVariables Replace all environment variables. If a
242
+ # replacement environment variable map is not included in `environment`, all
243
+ # custom environment variables are cleared. It is an error to provide both this
244
+ # mask and a mask specifying one or more individual environment variables.
244
245
  # @param [String] fields
245
246
  # Selector specifying which fields to include in a partial response.
246
247
  # @param [String] quota_user
@@ -275,6 +276,8 @@ module Google
275
276
  # @param [String] parent
276
277
  # List ImageVersions in the given project and location, in the form: "projects/`
277
278
  # projectId`/locations/`locationId`"
279
+ # @param [Boolean] include_past_releases
280
+ # Whether or not image versions from old releases should be included.
278
281
  # @param [Fixnum] page_size
279
282
  # The maximum number of image_versions to return.
280
283
  # @param [String] page_token
@@ -296,11 +299,12 @@ module Google
296
299
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
297
300
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
298
301
  # @raise [Google::Apis::AuthorizationError] Authorization is required
299
- def list_project_location_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
302
+ def list_project_location_image_versions(parent, include_past_releases: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
300
303
  command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
301
304
  command.response_representation = Google::Apis::ComposerV1::ListImageVersionsResponse::Representation
302
305
  command.response_class = Google::Apis::ComposerV1::ListImageVersionsResponse
303
306
  command.params['parent'] = parent unless parent.nil?
307
+ command.query['includePastReleases'] = include_past_releases unless include_past_releases.nil?
304
308
  command.query['pageSize'] = page_size unless page_size.nil?
305
309
  command.query['pageToken'] = page_token unless page_token.nil?
306
310
  command.query['fields'] = fields unless fields.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201002'
28
+ REVISION = '20201202'
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'
@@ -73,6 +73,47 @@ module Google
73
73
  end
74
74
  end
75
75
 
76
+ # Represents a whole or partial calendar date, such as a birthday. The time of
77
+ # day and time zone are either specified elsewhere or are insignificant. The
78
+ # date is relative to the Gregorian Calendar. This can represent one of the
79
+ # following: * A full date, with non-zero year, month, and day values * A month
80
+ # and day value, with a zero year, such as an anniversary * A year on its own,
81
+ # with zero month and day values * A year and month value, with a zero day, such
82
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
83
+ # google.protobuf.Timestamp`.
84
+ class Date
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
88
+ # specify a year by itself or a year and month where the day isn't significant.
89
+ # Corresponds to the JSON property `day`
90
+ # @return [Fixnum]
91
+ attr_accessor :day
92
+
93
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
94
+ # and day.
95
+ # Corresponds to the JSON property `month`
96
+ # @return [Fixnum]
97
+ attr_accessor :month
98
+
99
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
100
+ # year.
101
+ # Corresponds to the JSON property `year`
102
+ # @return [Fixnum]
103
+ attr_accessor :year
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @day = args[:day] if args.key?(:day)
112
+ @month = args[:month] if args.key?(:month)
113
+ @year = args[:year] if args.key?(:year)
114
+ end
115
+ end
116
+
76
117
  # A generic empty message that you can re-use to avoid defining duplicated empty
77
118
  # messages in your APIs. A typical example is to use it as the request or the
78
119
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -90,6 +131,27 @@ module Google
90
131
  end
91
132
  end
92
133
 
134
+ # The encryption options for the Composer environment and its dependencies.
135
+ class EncryptionConfig
136
+ include Google::Apis::Core::Hashable
137
+
138
+ # Optional. Customer-managed Encryption Key available through Google's Key
139
+ # Management Service. Cannot be updated. If not specified, Google-managed key
140
+ # will be used.
141
+ # Corresponds to the JSON property `kmsKeyName`
142
+ # @return [String]
143
+ attr_accessor :kms_key_name
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
152
+ end
153
+ end
154
+
93
155
  # An environment for running orchestration tasks.
94
156
  class Environment
95
157
  include Google::Apis::Core::Hashable
@@ -178,6 +240,11 @@ module Google
178
240
  # @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
179
241
  attr_accessor :database_config
180
242
 
243
+ # The encryption options for the Composer environment and its dependencies.
244
+ # Corresponds to the JSON property `encryptionConfig`
245
+ # @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
246
+ attr_accessor :encryption_config
247
+
181
248
  # Output only. The Kubernetes Engine cluster used to run this environment.
182
249
  # Corresponds to the JSON property `gkeCluster`
183
250
  # @return [String]
@@ -225,6 +292,7 @@ module Google
225
292
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
226
293
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
227
294
  @database_config = args[:database_config] if args.key?(:database_config)
295
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
228
296
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
229
297
  @node_config = args[:node_config] if args.key?(:node_config)
230
298
  @node_count = args[:node_count] if args.key?(:node_count)
@@ -304,6 +372,12 @@ module Google
304
372
  class ImageVersion
305
373
  include Google::Apis::Core::Hashable
306
374
 
375
+ # Whether it is impossible to create an environment with the image version.
376
+ # Corresponds to the JSON property `creationDisabled`
377
+ # @return [Boolean]
378
+ attr_accessor :creation_disabled
379
+ alias_method :creation_disabled?, :creation_disabled
380
+
307
381
  # The string identifier of the ImageVersion, in the form: "composer-x.y.z-
308
382
  # airflow-a.b(.c)"
309
383
  # Corresponds to the JSON property `imageVersionId`
@@ -317,20 +391,42 @@ module Google
317
391
  attr_accessor :is_default
318
392
  alias_method :is_default?, :is_default
319
393
 
394
+ # Represents a whole or partial calendar date, such as a birthday. The time of
395
+ # day and time zone are either specified elsewhere or are insignificant. The
396
+ # date is relative to the Gregorian Calendar. This can represent one of the
397
+ # following: * A full date, with non-zero year, month, and day values * A month
398
+ # and day value, with a zero year, such as an anniversary * A year on its own,
399
+ # with zero month and day values * A year and month value, with a zero day, such
400
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
401
+ # google.protobuf.Timestamp`.
402
+ # Corresponds to the JSON property `releaseDate`
403
+ # @return [Google::Apis::ComposerV1beta1::Date]
404
+ attr_accessor :release_date
405
+
320
406
  # supported python versions
321
407
  # Corresponds to the JSON property `supportedPythonVersions`
322
408
  # @return [Array<String>]
323
409
  attr_accessor :supported_python_versions
324
410
 
411
+ # Whether it is impossible to upgrade an environment running with the image
412
+ # version.
413
+ # Corresponds to the JSON property `upgradeDisabled`
414
+ # @return [Boolean]
415
+ attr_accessor :upgrade_disabled
416
+ alias_method :upgrade_disabled?, :upgrade_disabled
417
+
325
418
  def initialize(**args)
326
419
  update!(**args)
327
420
  end
328
421
 
329
422
  # Update properties of this object
330
423
  def update!(**args)
424
+ @creation_disabled = args[:creation_disabled] if args.key?(:creation_disabled)
331
425
  @image_version_id = args[:image_version_id] if args.key?(:image_version_id)
332
426
  @is_default = args[:is_default] if args.key?(:is_default)
427
+ @release_date = args[:release_date] if args.key?(:release_date)
333
428
  @supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
429
+ @upgrade_disabled = args[:upgrade_disabled] if args.key?(:upgrade_disabled)
334
430
  end
335
431
  end
336
432
 
@@ -721,6 +817,19 @@ module Google
721
817
  end
722
818
  end
723
819
 
820
+ # Restart Airflow web server.
821
+ class RestartWebServerRequest
822
+ include Google::Apis::Core::Hashable
823
+
824
+ def initialize(**args)
825
+ update!(**args)
826
+ end
827
+
828
+ # Update properties of this object
829
+ def update!(**args)
830
+ end
831
+ end
832
+
724
833
  # Specifies the selection and configuration of software inside the environment.
725
834
  class SoftwareConfig
726
835
  include Google::Apis::Core::Hashable
@@ -34,12 +34,24 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class Date
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Empty
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class EncryptionConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class Environment
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -112,6 +124,12 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class RestartWebServerRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class SoftwareConfig
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -151,12 +169,28 @@ module Google
151
169
  end
152
170
  end
153
171
 
172
+ class Date
173
+ # @private
174
+ class Representation < Google::Apis::Core::JsonRepresentation
175
+ property :day, as: 'day'
176
+ property :month, as: 'month'
177
+ property :year, as: 'year'
178
+ end
179
+ end
180
+
154
181
  class Empty
155
182
  # @private
156
183
  class Representation < Google::Apis::Core::JsonRepresentation
157
184
  end
158
185
  end
159
186
 
187
+ class EncryptionConfig
188
+ # @private
189
+ class Representation < Google::Apis::Core::JsonRepresentation
190
+ property :kms_key_name, as: 'kmsKeyName'
191
+ end
192
+ end
193
+
160
194
  class Environment
161
195
  # @private
162
196
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -178,6 +212,8 @@ module Google
178
212
  property :dag_gcs_prefix, as: 'dagGcsPrefix'
179
213
  property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation
180
214
 
215
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1beta1::EncryptionConfig, decorator: Google::Apis::ComposerV1beta1::EncryptionConfig::Representation
216
+
181
217
  property :gke_cluster, as: 'gkeCluster'
182
218
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
183
219
 
@@ -207,9 +243,13 @@ module Google
207
243
  class ImageVersion
208
244
  # @private
209
245
  class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :creation_disabled, as: 'creationDisabled'
210
247
  property :image_version_id, as: 'imageVersionId'
211
248
  property :is_default, as: 'isDefault'
249
+ property :release_date, as: 'releaseDate', class: Google::Apis::ComposerV1beta1::Date, decorator: Google::Apis::ComposerV1beta1::Date::Representation
250
+
212
251
  collection :supported_python_versions, as: 'supportedPythonVersions'
252
+ property :upgrade_disabled, as: 'upgradeDisabled'
213
253
  end
214
254
  end
215
255
 
@@ -301,6 +341,12 @@ module Google
301
341
  end
302
342
  end
303
343
 
344
+ class RestartWebServerRequest
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ end
348
+ end
349
+
304
350
  class SoftwareConfig
305
351
  # @private
306
352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -285,10 +285,47 @@ module Google
285
285
  execute_or_queue_command(command, &block)
286
286
  end
287
287
 
288
+ # Restart Airflow web server.
289
+ # @param [String] name
290
+ # The resource name of the environment to restart the web server for, in the
291
+ # form: "projects/`projectId`/locations/`locationId`/environments/`environmentId`
292
+ # "
293
+ # @param [Google::Apis::ComposerV1beta1::RestartWebServerRequest] restart_web_server_request_object
294
+ # @param [String] fields
295
+ # Selector specifying which fields to include in a partial response.
296
+ # @param [String] quota_user
297
+ # Available to use for quota purposes for server-side applications. Can be any
298
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
299
+ # @param [Google::Apis::RequestOptions] options
300
+ # Request-specific options
301
+ #
302
+ # @yield [result, err] Result & error if block supplied
303
+ # @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
304
+ # @yieldparam err [StandardError] error object if request failed
305
+ #
306
+ # @return [Google::Apis::ComposerV1beta1::Operation]
307
+ #
308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
311
+ def restart_environment_web_server(name, restart_web_server_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
312
+ command = make_simple_command(:post, 'v1beta1/{+name}:restartWebServer', options)
313
+ command.request_representation = Google::Apis::ComposerV1beta1::RestartWebServerRequest::Representation
314
+ command.request_object = restart_web_server_request_object
315
+ command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
316
+ command.response_class = Google::Apis::ComposerV1beta1::Operation
317
+ command.params['name'] = name unless name.nil?
318
+ command.query['fields'] = fields unless fields.nil?
319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
320
+ execute_or_queue_command(command, &block)
321
+ end
322
+
288
323
  # List ImageVersions for provided location.
289
324
  # @param [String] parent
290
325
  # List ImageVersions in the given project and location, in the form: "projects/`
291
326
  # projectId`/locations/`locationId`"
327
+ # @param [Boolean] include_past_releases
328
+ # Whether or not image versions from old releases should be included.
292
329
  # @param [Fixnum] page_size
293
330
  # The maximum number of image_versions to return.
294
331
  # @param [String] page_token
@@ -310,11 +347,12 @@ module Google
310
347
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
311
348
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
312
349
  # @raise [Google::Apis::AuthorizationError] Authorization is required
313
- def list_project_location_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
350
+ def list_project_location_image_versions(parent, include_past_releases: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
314
351
  command = make_simple_command(:get, 'v1beta1/{+parent}/imageVersions', options)
315
352
  command.response_representation = Google::Apis::ComposerV1beta1::ListImageVersionsResponse::Representation
316
353
  command.response_class = Google::Apis::ComposerV1beta1::ListImageVersionsResponse
317
354
  command.params['parent'] = parent unless parent.nil?
355
+ command.query['includePastReleases'] = include_past_releases unless include_past_releases.nil?
318
356
  command.query['pageSize'] = page_size unless page_size.nil?
319
357
  command.query['pageToken'] = page_token unless page_token.nil?
320
358
  command.query['fields'] = fields unless fields.nil?