google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -0,0 +1,1225 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module OsconfigV1
24
+
25
+ # Apt patching is completed by executing `apt-get update && apt-get
26
+ # upgrade`. Additional options can be set to control how this is executed.
27
+ class AptSettings
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # List of packages to exclude from update. These packages will be excluded
31
+ # Corresponds to the JSON property `excludes`
32
+ # @return [Array<String>]
33
+ attr_accessor :excludes
34
+
35
+ # An exclusive list of packages to be updated. These are the only packages
36
+ # that will be updated. If these packages are not installed, they will be
37
+ # ignored. This field cannot be specified with any other patch configuration
38
+ # fields.
39
+ # Corresponds to the JSON property `exclusivePackages`
40
+ # @return [Array<String>]
41
+ attr_accessor :exclusive_packages
42
+
43
+ # By changing the type to DIST, the patching is performed
44
+ # using `apt-get dist-upgrade` instead.
45
+ # Corresponds to the JSON property `type`
46
+ # @return [String]
47
+ attr_accessor :type
48
+
49
+ def initialize(**args)
50
+ update!(**args)
51
+ end
52
+
53
+ # Update properties of this object
54
+ def update!(**args)
55
+ @excludes = args[:excludes] if args.key?(:excludes)
56
+ @exclusive_packages = args[:exclusive_packages] if args.key?(:exclusive_packages)
57
+ @type = args[:type] if args.key?(:type)
58
+ end
59
+ end
60
+
61
+ # Message for canceling a patch job.
62
+ class CancelPatchJobRequest
63
+ include Google::Apis::Core::Hashable
64
+
65
+ def initialize(**args)
66
+ update!(**args)
67
+ end
68
+
69
+ # Update properties of this object
70
+ def update!(**args)
71
+ end
72
+ end
73
+
74
+ # A generic empty message that you can re-use to avoid defining duplicated
75
+ # empty messages in your APIs. A typical example is to use it as the request
76
+ # or the response type of an API method. For instance:
77
+ # service Foo `
78
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
79
+ # `
80
+ # The JSON representation for `Empty` is empty JSON object ````.
81
+ class Empty
82
+ include Google::Apis::Core::Hashable
83
+
84
+ def initialize(**args)
85
+ update!(**args)
86
+ end
87
+
88
+ # Update properties of this object
89
+ def update!(**args)
90
+ end
91
+ end
92
+
93
+ # A step that runs an executable for a PatchJob.
94
+ class ExecStep
95
+ include Google::Apis::Core::Hashable
96
+
97
+ # Common configurations for an ExecStep.
98
+ # Corresponds to the JSON property `linuxExecStepConfig`
99
+ # @return [Google::Apis::OsconfigV1::ExecStepConfig]
100
+ attr_accessor :linux_exec_step_config
101
+
102
+ # Common configurations for an ExecStep.
103
+ # Corresponds to the JSON property `windowsExecStepConfig`
104
+ # @return [Google::Apis::OsconfigV1::ExecStepConfig]
105
+ attr_accessor :windows_exec_step_config
106
+
107
+ def initialize(**args)
108
+ update!(**args)
109
+ end
110
+
111
+ # Update properties of this object
112
+ def update!(**args)
113
+ @linux_exec_step_config = args[:linux_exec_step_config] if args.key?(:linux_exec_step_config)
114
+ @windows_exec_step_config = args[:windows_exec_step_config] if args.key?(:windows_exec_step_config)
115
+ end
116
+ end
117
+
118
+ # Common configurations for an ExecStep.
119
+ class ExecStepConfig
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # Defaults to [0]. A list of possible return values that the
123
+ # execution can return to indicate a success.
124
+ # Corresponds to the JSON property `allowedSuccessCodes`
125
+ # @return [Array<Fixnum>]
126
+ attr_accessor :allowed_success_codes
127
+
128
+ # Cloud Storage object representation.
129
+ # Corresponds to the JSON property `gcsObject`
130
+ # @return [Google::Apis::OsconfigV1::GcsObject]
131
+ attr_accessor :gcs_object
132
+
133
+ # The script interpreter to use to run the script. If no interpreter is
134
+ # specified the script will be executed directly, which will likely
135
+ # only succeed for scripts with [shebang lines]
136
+ # (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
137
+ # Corresponds to the JSON property `interpreter`
138
+ # @return [String]
139
+ attr_accessor :interpreter
140
+
141
+ # An absolute path to the executable on the VM.
142
+ # Corresponds to the JSON property `localPath`
143
+ # @return [String]
144
+ attr_accessor :local_path
145
+
146
+ def initialize(**args)
147
+ update!(**args)
148
+ end
149
+
150
+ # Update properties of this object
151
+ def update!(**args)
152
+ @allowed_success_codes = args[:allowed_success_codes] if args.key?(:allowed_success_codes)
153
+ @gcs_object = args[:gcs_object] if args.key?(:gcs_object)
154
+ @interpreter = args[:interpreter] if args.key?(:interpreter)
155
+ @local_path = args[:local_path] if args.key?(:local_path)
156
+ end
157
+ end
158
+
159
+ # A request message to initiate patching across Compute Engine
160
+ # instances.
161
+ class ExecutePatchJobRequest
162
+ include Google::Apis::Core::Hashable
163
+
164
+ # Description of the patch job. Length of the description is limited
165
+ # to 1024 characters.
166
+ # Corresponds to the JSON property `description`
167
+ # @return [String]
168
+ attr_accessor :description
169
+
170
+ # Display name for this patch job. This does not have to be unique.
171
+ # Corresponds to the JSON property `displayName`
172
+ # @return [String]
173
+ attr_accessor :display_name
174
+
175
+ # If this patch is a dry-run only, instances are contacted but
176
+ # will do nothing.
177
+ # Corresponds to the JSON property `dryRun`
178
+ # @return [Boolean]
179
+ attr_accessor :dry_run
180
+ alias_method :dry_run?, :dry_run
181
+
182
+ # Duration of the patch job. After the duration ends, the patch job
183
+ # times out.
184
+ # Corresponds to the JSON property `duration`
185
+ # @return [String]
186
+ attr_accessor :duration
187
+
188
+ # A filter to target VM instances for patching. The targeted
189
+ # VMs must meet all criteria specified. So if both labels and zones are
190
+ # specified, the patch job targets only VMs with those labels and in those
191
+ # zones.
192
+ # Corresponds to the JSON property `instanceFilter`
193
+ # @return [Google::Apis::OsconfigV1::PatchInstanceFilter]
194
+ attr_accessor :instance_filter
195
+
196
+ # Patch configuration specifications. Contains details on how to apply the
197
+ # patch(es) to a VM instance.
198
+ # Corresponds to the JSON property `patchConfig`
199
+ # @return [Google::Apis::OsconfigV1::PatchConfig]
200
+ attr_accessor :patch_config
201
+
202
+ def initialize(**args)
203
+ update!(**args)
204
+ end
205
+
206
+ # Update properties of this object
207
+ def update!(**args)
208
+ @description = args[:description] if args.key?(:description)
209
+ @display_name = args[:display_name] if args.key?(:display_name)
210
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
211
+ @duration = args[:duration] if args.key?(:duration)
212
+ @instance_filter = args[:instance_filter] if args.key?(:instance_filter)
213
+ @patch_config = args[:patch_config] if args.key?(:patch_config)
214
+ end
215
+ end
216
+
217
+ # Cloud Storage object representation.
218
+ class GcsObject
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # Required. Bucket of the Cloud Storage object.
222
+ # Corresponds to the JSON property `bucket`
223
+ # @return [String]
224
+ attr_accessor :bucket
225
+
226
+ # Required. Generation number of the Cloud Storage object. This is used to
227
+ # ensure that the ExecStep specified by this PatchJob does not change.
228
+ # Corresponds to the JSON property `generationNumber`
229
+ # @return [Fixnum]
230
+ attr_accessor :generation_number
231
+
232
+ # Required. Name of the Cloud Storage object.
233
+ # Corresponds to the JSON property `object`
234
+ # @return [String]
235
+ attr_accessor :object
236
+
237
+ def initialize(**args)
238
+ update!(**args)
239
+ end
240
+
241
+ # Update properties of this object
242
+ def update!(**args)
243
+ @bucket = args[:bucket] if args.key?(:bucket)
244
+ @generation_number = args[:generation_number] if args.key?(:generation_number)
245
+ @object = args[:object] if args.key?(:object)
246
+ end
247
+ end
248
+
249
+ # Googet patching is performed by running `googet update`.
250
+ class GooSettings
251
+ include Google::Apis::Core::Hashable
252
+
253
+ def initialize(**args)
254
+ update!(**args)
255
+ end
256
+
257
+ # Update properties of this object
258
+ def update!(**args)
259
+ end
260
+ end
261
+
262
+ # A response message for listing patch deployments.
263
+ class ListPatchDeploymentsResponse
264
+ include Google::Apis::Core::Hashable
265
+
266
+ # A pagination token that can be used to get the next page of patch
267
+ # deployments.
268
+ # Corresponds to the JSON property `nextPageToken`
269
+ # @return [String]
270
+ attr_accessor :next_page_token
271
+
272
+ # The list of patch deployments.
273
+ # Corresponds to the JSON property `patchDeployments`
274
+ # @return [Array<Google::Apis::OsconfigV1::PatchDeployment>]
275
+ attr_accessor :patch_deployments
276
+
277
+ def initialize(**args)
278
+ update!(**args)
279
+ end
280
+
281
+ # Update properties of this object
282
+ def update!(**args)
283
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
284
+ @patch_deployments = args[:patch_deployments] if args.key?(:patch_deployments)
285
+ end
286
+ end
287
+
288
+ # A response message for listing the instances details for a patch job.
289
+ class ListPatchJobInstanceDetailsResponse
290
+ include Google::Apis::Core::Hashable
291
+
292
+ # A pagination token that can be used to get the next page of results.
293
+ # Corresponds to the JSON property `nextPageToken`
294
+ # @return [String]
295
+ attr_accessor :next_page_token
296
+
297
+ # A list of instance status.
298
+ # Corresponds to the JSON property `patchJobInstanceDetails`
299
+ # @return [Array<Google::Apis::OsconfigV1::PatchJobInstanceDetails>]
300
+ attr_accessor :patch_job_instance_details
301
+
302
+ def initialize(**args)
303
+ update!(**args)
304
+ end
305
+
306
+ # Update properties of this object
307
+ def update!(**args)
308
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
309
+ @patch_job_instance_details = args[:patch_job_instance_details] if args.key?(:patch_job_instance_details)
310
+ end
311
+ end
312
+
313
+ # A response message for listing patch jobs.
314
+ class ListPatchJobsResponse
315
+ include Google::Apis::Core::Hashable
316
+
317
+ # A pagination token that can be used to get the next page of results.
318
+ # Corresponds to the JSON property `nextPageToken`
319
+ # @return [String]
320
+ attr_accessor :next_page_token
321
+
322
+ # The list of patch jobs.
323
+ # Corresponds to the JSON property `patchJobs`
324
+ # @return [Array<Google::Apis::OsconfigV1::PatchJob>]
325
+ attr_accessor :patch_jobs
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
334
+ @patch_jobs = args[:patch_jobs] if args.key?(:patch_jobs)
335
+ end
336
+ end
337
+
338
+ # Represents a monthly schedule. An example of a valid monthly schedule is
339
+ # "on the third Tuesday of the month" or "on the 15th of the month".
340
+ class MonthlySchedule
341
+ include Google::Apis::Core::Hashable
342
+
343
+ # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
344
+ # indicates the last day of the month.
345
+ # Months without the target day will be skipped. For example, a schedule to
346
+ # run "every month on the 31st" will not run in February, April, June, etc.
347
+ # Corresponds to the JSON property `monthDay`
348
+ # @return [Fixnum]
349
+ attr_accessor :month_day
350
+
351
+ # Represents one week day in a month. An example is "the 4th Sunday".
352
+ # Corresponds to the JSON property `weekDayOfMonth`
353
+ # @return [Google::Apis::OsconfigV1::WeekDayOfMonth]
354
+ attr_accessor :week_day_of_month
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @month_day = args[:month_day] if args.key?(:month_day)
363
+ @week_day_of_month = args[:week_day_of_month] if args.key?(:week_day_of_month)
364
+ end
365
+ end
366
+
367
+ # Sets the time for a one time patch deployment. Timestamp is in
368
+ # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
369
+ class OneTimeSchedule
370
+ include Google::Apis::Core::Hashable
371
+
372
+ # Required. The desired patch job execution time.
373
+ # Corresponds to the JSON property `executeTime`
374
+ # @return [String]
375
+ attr_accessor :execute_time
376
+
377
+ def initialize(**args)
378
+ update!(**args)
379
+ end
380
+
381
+ # Update properties of this object
382
+ def update!(**args)
383
+ @execute_time = args[:execute_time] if args.key?(:execute_time)
384
+ end
385
+ end
386
+
387
+ # Patch configuration specifications. Contains details on how to apply the
388
+ # patch(es) to a VM instance.
389
+ class PatchConfig
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # Apt patching is completed by executing `apt-get update && apt-get
393
+ # upgrade`. Additional options can be set to control how this is executed.
394
+ # Corresponds to the JSON property `apt`
395
+ # @return [Google::Apis::OsconfigV1::AptSettings]
396
+ attr_accessor :apt
397
+
398
+ # Googet patching is performed by running `googet update`.
399
+ # Corresponds to the JSON property `goo`
400
+ # @return [Google::Apis::OsconfigV1::GooSettings]
401
+ attr_accessor :goo
402
+
403
+ # A step that runs an executable for a PatchJob.
404
+ # Corresponds to the JSON property `postStep`
405
+ # @return [Google::Apis::OsconfigV1::ExecStep]
406
+ attr_accessor :post_step
407
+
408
+ # A step that runs an executable for a PatchJob.
409
+ # Corresponds to the JSON property `preStep`
410
+ # @return [Google::Apis::OsconfigV1::ExecStep]
411
+ attr_accessor :pre_step
412
+
413
+ # Post-patch reboot settings.
414
+ # Corresponds to the JSON property `rebootConfig`
415
+ # @return [String]
416
+ attr_accessor :reboot_config
417
+
418
+ # Windows patching is performed using the Windows Update Agent.
419
+ # Corresponds to the JSON property `windowsUpdate`
420
+ # @return [Google::Apis::OsconfigV1::WindowsUpdateSettings]
421
+ attr_accessor :windows_update
422
+
423
+ # Yum patching is performed by executing `yum update`. Additional options
424
+ # can be set to control how this is executed.
425
+ # Note that not all settings are supported on all platforms.
426
+ # Corresponds to the JSON property `yum`
427
+ # @return [Google::Apis::OsconfigV1::YumSettings]
428
+ attr_accessor :yum
429
+
430
+ # Zypper patching is performed by running `zypper patch`.
431
+ # See also https://en.opensuse.org/SDB:Zypper_manual.
432
+ # Corresponds to the JSON property `zypper`
433
+ # @return [Google::Apis::OsconfigV1::ZypperSettings]
434
+ attr_accessor :zypper
435
+
436
+ def initialize(**args)
437
+ update!(**args)
438
+ end
439
+
440
+ # Update properties of this object
441
+ def update!(**args)
442
+ @apt = args[:apt] if args.key?(:apt)
443
+ @goo = args[:goo] if args.key?(:goo)
444
+ @post_step = args[:post_step] if args.key?(:post_step)
445
+ @pre_step = args[:pre_step] if args.key?(:pre_step)
446
+ @reboot_config = args[:reboot_config] if args.key?(:reboot_config)
447
+ @windows_update = args[:windows_update] if args.key?(:windows_update)
448
+ @yum = args[:yum] if args.key?(:yum)
449
+ @zypper = args[:zypper] if args.key?(:zypper)
450
+ end
451
+ end
452
+
453
+ # Patch deployments are configurations that individual patch jobs use to
454
+ # complete a patch. These configurations include instance filter, package
455
+ # repository settings, and a schedule. For more information about creating and
456
+ # managing patch deployments, see [Scheduling patch
457
+ # jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-
458
+ # jobs).
459
+ class PatchDeployment
460
+ include Google::Apis::Core::Hashable
461
+
462
+ # Output only. Time the patch deployment was created. Timestamp is in
463
+ # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
464
+ # Corresponds to the JSON property `createTime`
465
+ # @return [String]
466
+ attr_accessor :create_time
467
+
468
+ # Optional. Description of the patch deployment. Length of the description is
469
+ # limited
470
+ # to 1024 characters.
471
+ # Corresponds to the JSON property `description`
472
+ # @return [String]
473
+ attr_accessor :description
474
+
475
+ # Optional. Duration of the patch. After the duration ends, the patch times out.
476
+ # Corresponds to the JSON property `duration`
477
+ # @return [String]
478
+ attr_accessor :duration
479
+
480
+ # A filter to target VM instances for patching. The targeted
481
+ # VMs must meet all criteria specified. So if both labels and zones are
482
+ # specified, the patch job targets only VMs with those labels and in those
483
+ # zones.
484
+ # Corresponds to the JSON property `instanceFilter`
485
+ # @return [Google::Apis::OsconfigV1::PatchInstanceFilter]
486
+ attr_accessor :instance_filter
487
+
488
+ # Output only. The last time a patch job was started by this deployment.
489
+ # Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
490
+ # format.
491
+ # Corresponds to the JSON property `lastExecuteTime`
492
+ # @return [String]
493
+ attr_accessor :last_execute_time
494
+
495
+ # Unique name for the patch deployment resource in a project. The patch
496
+ # deployment name is in the form:
497
+ # `projects/`project_id`/patchDeployments/`patch_deployment_id``.
498
+ # This field is ignored when you create a new patch deployment.
499
+ # Corresponds to the JSON property `name`
500
+ # @return [String]
501
+ attr_accessor :name
502
+
503
+ # Sets the time for a one time patch deployment. Timestamp is in
504
+ # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
505
+ # Corresponds to the JSON property `oneTimeSchedule`
506
+ # @return [Google::Apis::OsconfigV1::OneTimeSchedule]
507
+ attr_accessor :one_time_schedule
508
+
509
+ # Patch configuration specifications. Contains details on how to apply the
510
+ # patch(es) to a VM instance.
511
+ # Corresponds to the JSON property `patchConfig`
512
+ # @return [Google::Apis::OsconfigV1::PatchConfig]
513
+ attr_accessor :patch_config
514
+
515
+ # Sets the time for recurring patch deployments.
516
+ # Corresponds to the JSON property `recurringSchedule`
517
+ # @return [Google::Apis::OsconfigV1::RecurringSchedule]
518
+ attr_accessor :recurring_schedule
519
+
520
+ # Output only. Time the patch deployment was last updated. Timestamp is in
521
+ # [RFC3339]("https://www.ietf.org/rfc/rfc3339.txt) text format.
522
+ # Corresponds to the JSON property `updateTime`
523
+ # @return [String]
524
+ attr_accessor :update_time
525
+
526
+ def initialize(**args)
527
+ update!(**args)
528
+ end
529
+
530
+ # Update properties of this object
531
+ def update!(**args)
532
+ @create_time = args[:create_time] if args.key?(:create_time)
533
+ @description = args[:description] if args.key?(:description)
534
+ @duration = args[:duration] if args.key?(:duration)
535
+ @instance_filter = args[:instance_filter] if args.key?(:instance_filter)
536
+ @last_execute_time = args[:last_execute_time] if args.key?(:last_execute_time)
537
+ @name = args[:name] if args.key?(:name)
538
+ @one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
539
+ @patch_config = args[:patch_config] if args.key?(:patch_config)
540
+ @recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
541
+ @update_time = args[:update_time] if args.key?(:update_time)
542
+ end
543
+ end
544
+
545
+ # A filter to target VM instances for patching. The targeted
546
+ # VMs must meet all criteria specified. So if both labels and zones are
547
+ # specified, the patch job targets only VMs with those labels and in those
548
+ # zones.
549
+ class PatchInstanceFilter
550
+ include Google::Apis::Core::Hashable
551
+
552
+ # Target all VM instances in the project. If true, no other criteria is
553
+ # permitted.
554
+ # Corresponds to the JSON property `all`
555
+ # @return [Boolean]
556
+ attr_accessor :all
557
+ alias_method :all?, :all
558
+
559
+ # Targets VM instances matching ANY of these GroupLabels. This allows
560
+ # targeting of disparate groups of VM instances.
561
+ # Corresponds to the JSON property `groupLabels`
562
+ # @return [Array<Google::Apis::OsconfigV1::PatchInstanceFilterGroupLabel>]
563
+ attr_accessor :group_labels
564
+
565
+ # Targets VMs whose name starts with one of these prefixes. Similar to
566
+ # labels, this is another way to group VMs when targeting configs, for
567
+ # example prefix="prod-".
568
+ # Corresponds to the JSON property `instanceNamePrefixes`
569
+ # @return [Array<String>]
570
+ attr_accessor :instance_name_prefixes
571
+
572
+ # Targets any of the VM instances specified. Instances are specified by their
573
+ # URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME],
574
+ # `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or
575
+ # `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/
576
+ # instances/[INSTANCE_NAME]`
577
+ # Corresponds to the JSON property `instances`
578
+ # @return [Array<String>]
579
+ attr_accessor :instances
580
+
581
+ # Targets VM instances in ANY of these zones. Leave empty to target VM
582
+ # instances in any zone.
583
+ # Corresponds to the JSON property `zones`
584
+ # @return [Array<String>]
585
+ attr_accessor :zones
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @all = args[:all] if args.key?(:all)
594
+ @group_labels = args[:group_labels] if args.key?(:group_labels)
595
+ @instance_name_prefixes = args[:instance_name_prefixes] if args.key?(:instance_name_prefixes)
596
+ @instances = args[:instances] if args.key?(:instances)
597
+ @zones = args[:zones] if args.key?(:zones)
598
+ end
599
+ end
600
+
601
+ # Targets a group of VM instances by using their [assigned
602
+ # labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
603
+ # are key-value pairs. A `GroupLabel` is a combination of labels
604
+ # that is used to target VMs for a patch job.
605
+ # For example, a patch job can target VMs that have the following
606
+ # `GroupLabel`: ``"env":"test", "app":"web"``. This means that the patch job
607
+ # is applied to VMs that have both the labels `env=test` and `app=web`.
608
+ class PatchInstanceFilterGroupLabel
609
+ include Google::Apis::Core::Hashable
610
+
611
+ # Compute Engine instance labels that must be present for a VM
612
+ # instance to be targeted by this filter.
613
+ # Corresponds to the JSON property `labels`
614
+ # @return [Hash<String,String>]
615
+ attr_accessor :labels
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ @labels = args[:labels] if args.key?(:labels)
624
+ end
625
+ end
626
+
627
+ # A high level representation of a patch job that is either in progress
628
+ # or has completed.
629
+ # Instances details are not included in the job. To paginate through instance
630
+ # details, use ListPatchJobInstanceDetails.
631
+ # For more information about patch jobs, see
632
+ # [Creating patch
633
+ # jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-
634
+ # job).
635
+ class PatchJob
636
+ include Google::Apis::Core::Hashable
637
+
638
+ # Time this patch job was created.
639
+ # Corresponds to the JSON property `createTime`
640
+ # @return [String]
641
+ attr_accessor :create_time
642
+
643
+ # Description of the patch job. Length of the description is limited
644
+ # to 1024 characters.
645
+ # Corresponds to the JSON property `description`
646
+ # @return [String]
647
+ attr_accessor :description
648
+
649
+ # Display name for this patch job. This is not a unique identifier.
650
+ # Corresponds to the JSON property `displayName`
651
+ # @return [String]
652
+ attr_accessor :display_name
653
+
654
+ # If this patch job is a dry run, the agent reports that it has
655
+ # finished without running any updates on the VM instance.
656
+ # Corresponds to the JSON property `dryRun`
657
+ # @return [Boolean]
658
+ attr_accessor :dry_run
659
+ alias_method :dry_run?, :dry_run
660
+
661
+ # Duration of the patch job. After the duration ends, the
662
+ # patch job times out.
663
+ # Corresponds to the JSON property `duration`
664
+ # @return [String]
665
+ attr_accessor :duration
666
+
667
+ # If this patch job failed, this message provides information about the
668
+ # failure.
669
+ # Corresponds to the JSON property `errorMessage`
670
+ # @return [String]
671
+ attr_accessor :error_message
672
+
673
+ # A summary of the current patch state across all instances that this patch
674
+ # job affects. Contains counts of instances in different states. These states
675
+ # map to `InstancePatchState`. List patch job instance details to see the
676
+ # specific states of each instance.
677
+ # Corresponds to the JSON property `instanceDetailsSummary`
678
+ # @return [Google::Apis::OsconfigV1::PatchJobInstanceDetailsSummary]
679
+ attr_accessor :instance_details_summary
680
+
681
+ # A filter to target VM instances for patching. The targeted
682
+ # VMs must meet all criteria specified. So if both labels and zones are
683
+ # specified, the patch job targets only VMs with those labels and in those
684
+ # zones.
685
+ # Corresponds to the JSON property `instanceFilter`
686
+ # @return [Google::Apis::OsconfigV1::PatchInstanceFilter]
687
+ attr_accessor :instance_filter
688
+
689
+ # Unique identifier for this patch job in the form
690
+ # `projects/*/patchJobs/*`
691
+ # Corresponds to the JSON property `name`
692
+ # @return [String]
693
+ attr_accessor :name
694
+
695
+ # Patch configuration specifications. Contains details on how to apply the
696
+ # patch(es) to a VM instance.
697
+ # Corresponds to the JSON property `patchConfig`
698
+ # @return [Google::Apis::OsconfigV1::PatchConfig]
699
+ attr_accessor :patch_config
700
+
701
+ # Output only. Name of the patch deployment that created this patch job.
702
+ # Corresponds to the JSON property `patchDeployment`
703
+ # @return [String]
704
+ attr_accessor :patch_deployment
705
+
706
+ # Reflects the overall progress of the patch job in the range of
707
+ # 0.0 being no progress to 100.0 being complete.
708
+ # Corresponds to the JSON property `percentComplete`
709
+ # @return [Float]
710
+ attr_accessor :percent_complete
711
+
712
+ # The current state of the PatchJob .
713
+ # Corresponds to the JSON property `state`
714
+ # @return [String]
715
+ attr_accessor :state
716
+
717
+ # Last time this patch job was updated.
718
+ # Corresponds to the JSON property `updateTime`
719
+ # @return [String]
720
+ attr_accessor :update_time
721
+
722
+ def initialize(**args)
723
+ update!(**args)
724
+ end
725
+
726
+ # Update properties of this object
727
+ def update!(**args)
728
+ @create_time = args[:create_time] if args.key?(:create_time)
729
+ @description = args[:description] if args.key?(:description)
730
+ @display_name = args[:display_name] if args.key?(:display_name)
731
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
732
+ @duration = args[:duration] if args.key?(:duration)
733
+ @error_message = args[:error_message] if args.key?(:error_message)
734
+ @instance_details_summary = args[:instance_details_summary] if args.key?(:instance_details_summary)
735
+ @instance_filter = args[:instance_filter] if args.key?(:instance_filter)
736
+ @name = args[:name] if args.key?(:name)
737
+ @patch_config = args[:patch_config] if args.key?(:patch_config)
738
+ @patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
739
+ @percent_complete = args[:percent_complete] if args.key?(:percent_complete)
740
+ @state = args[:state] if args.key?(:state)
741
+ @update_time = args[:update_time] if args.key?(:update_time)
742
+ end
743
+ end
744
+
745
+ # Patch details for a VM instance. For more information about reviewing VM
746
+ # instance details, see
747
+ # [Listing all VM instance details for a specific patch
748
+ # job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-
749
+ # jobs#list-instance-details).
750
+ class PatchJobInstanceDetails
751
+ include Google::Apis::Core::Hashable
752
+
753
+ # The number of times the agent that the agent attempts to apply the patch.
754
+ # Corresponds to the JSON property `attemptCount`
755
+ # @return [Fixnum]
756
+ attr_accessor :attempt_count
757
+
758
+ # If the patch fails, this field provides the reason.
759
+ # Corresponds to the JSON property `failureReason`
760
+ # @return [String]
761
+ attr_accessor :failure_reason
762
+
763
+ # The unique identifier for the instance. This identifier is
764
+ # defined by the server.
765
+ # Corresponds to the JSON property `instanceSystemId`
766
+ # @return [String]
767
+ attr_accessor :instance_system_id
768
+
769
+ # The instance name in the form `projects/*/zones/*/instances/*`
770
+ # Corresponds to the JSON property `name`
771
+ # @return [String]
772
+ attr_accessor :name
773
+
774
+ # Current state of instance patch.
775
+ # Corresponds to the JSON property `state`
776
+ # @return [String]
777
+ attr_accessor :state
778
+
779
+ def initialize(**args)
780
+ update!(**args)
781
+ end
782
+
783
+ # Update properties of this object
784
+ def update!(**args)
785
+ @attempt_count = args[:attempt_count] if args.key?(:attempt_count)
786
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
787
+ @instance_system_id = args[:instance_system_id] if args.key?(:instance_system_id)
788
+ @name = args[:name] if args.key?(:name)
789
+ @state = args[:state] if args.key?(:state)
790
+ end
791
+ end
792
+
793
+ # A summary of the current patch state across all instances that this patch
794
+ # job affects. Contains counts of instances in different states. These states
795
+ # map to `InstancePatchState`. List patch job instance details to see the
796
+ # specific states of each instance.
797
+ class PatchJobInstanceDetailsSummary
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Number of instances that have acked and will start shortly.
801
+ # Corresponds to the JSON property `ackedInstanceCount`
802
+ # @return [Fixnum]
803
+ attr_accessor :acked_instance_count
804
+
805
+ # Number of instances that are applying patches.
806
+ # Corresponds to the JSON property `applyingPatchesInstanceCount`
807
+ # @return [Fixnum]
808
+ attr_accessor :applying_patches_instance_count
809
+
810
+ # Number of instances that are downloading patches.
811
+ # Corresponds to the JSON property `downloadingPatchesInstanceCount`
812
+ # @return [Fixnum]
813
+ attr_accessor :downloading_patches_instance_count
814
+
815
+ # Number of instances that failed.
816
+ # Corresponds to the JSON property `failedInstanceCount`
817
+ # @return [Fixnum]
818
+ attr_accessor :failed_instance_count
819
+
820
+ # Number of instances that are inactive.
821
+ # Corresponds to the JSON property `inactiveInstanceCount`
822
+ # @return [Fixnum]
823
+ attr_accessor :inactive_instance_count
824
+
825
+ # Number of instances that do not appear to be running the agent. Check to
826
+ # ensure that the agent is installed, running, and able to communicate with
827
+ # the service.
828
+ # Corresponds to the JSON property `noAgentDetectedInstanceCount`
829
+ # @return [Fixnum]
830
+ attr_accessor :no_agent_detected_instance_count
831
+
832
+ # Number of instances notified about patch job.
833
+ # Corresponds to the JSON property `notifiedInstanceCount`
834
+ # @return [Fixnum]
835
+ attr_accessor :notified_instance_count
836
+
837
+ # Number of instances pending patch job.
838
+ # Corresponds to the JSON property `pendingInstanceCount`
839
+ # @return [Fixnum]
840
+ attr_accessor :pending_instance_count
841
+
842
+ # Number of instances that are running the post-patch step.
843
+ # Corresponds to the JSON property `postPatchStepInstanceCount`
844
+ # @return [Fixnum]
845
+ attr_accessor :post_patch_step_instance_count
846
+
847
+ # Number of instances that are running the pre-patch step.
848
+ # Corresponds to the JSON property `prePatchStepInstanceCount`
849
+ # @return [Fixnum]
850
+ attr_accessor :pre_patch_step_instance_count
851
+
852
+ # Number of instances rebooting.
853
+ # Corresponds to the JSON property `rebootingInstanceCount`
854
+ # @return [Fixnum]
855
+ attr_accessor :rebooting_instance_count
856
+
857
+ # Number of instances that have started.
858
+ # Corresponds to the JSON property `startedInstanceCount`
859
+ # @return [Fixnum]
860
+ attr_accessor :started_instance_count
861
+
862
+ # Number of instances that have completed successfully.
863
+ # Corresponds to the JSON property `succeededInstanceCount`
864
+ # @return [Fixnum]
865
+ attr_accessor :succeeded_instance_count
866
+
867
+ # Number of instances that require reboot.
868
+ # Corresponds to the JSON property `succeededRebootRequiredInstanceCount`
869
+ # @return [Fixnum]
870
+ attr_accessor :succeeded_reboot_required_instance_count
871
+
872
+ # Number of instances that exceeded the time out while applying the patch.
873
+ # Corresponds to the JSON property `timedOutInstanceCount`
874
+ # @return [Fixnum]
875
+ attr_accessor :timed_out_instance_count
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ @acked_instance_count = args[:acked_instance_count] if args.key?(:acked_instance_count)
884
+ @applying_patches_instance_count = args[:applying_patches_instance_count] if args.key?(:applying_patches_instance_count)
885
+ @downloading_patches_instance_count = args[:downloading_patches_instance_count] if args.key?(:downloading_patches_instance_count)
886
+ @failed_instance_count = args[:failed_instance_count] if args.key?(:failed_instance_count)
887
+ @inactive_instance_count = args[:inactive_instance_count] if args.key?(:inactive_instance_count)
888
+ @no_agent_detected_instance_count = args[:no_agent_detected_instance_count] if args.key?(:no_agent_detected_instance_count)
889
+ @notified_instance_count = args[:notified_instance_count] if args.key?(:notified_instance_count)
890
+ @pending_instance_count = args[:pending_instance_count] if args.key?(:pending_instance_count)
891
+ @post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count)
892
+ @pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count)
893
+ @rebooting_instance_count = args[:rebooting_instance_count] if args.key?(:rebooting_instance_count)
894
+ @started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count)
895
+ @succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count)
896
+ @succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count)
897
+ @timed_out_instance_count = args[:timed_out_instance_count] if args.key?(:timed_out_instance_count)
898
+ end
899
+ end
900
+
901
+ # Sets the time for recurring patch deployments.
902
+ class RecurringSchedule
903
+ include Google::Apis::Core::Hashable
904
+
905
+ # Optional. The end time at which a recurring patch deployment schedule is no
906
+ # longer
907
+ # active.
908
+ # Corresponds to the JSON property `endTime`
909
+ # @return [String]
910
+ attr_accessor :end_time
911
+
912
+ # Required. The frequency unit of this recurring schedule.
913
+ # Corresponds to the JSON property `frequency`
914
+ # @return [String]
915
+ attr_accessor :frequency
916
+
917
+ # Output only. The time the last patch job ran successfully.
918
+ # Corresponds to the JSON property `lastExecuteTime`
919
+ # @return [String]
920
+ attr_accessor :last_execute_time
921
+
922
+ # Represents a monthly schedule. An example of a valid monthly schedule is
923
+ # "on the third Tuesday of the month" or "on the 15th of the month".
924
+ # Corresponds to the JSON property `monthly`
925
+ # @return [Google::Apis::OsconfigV1::MonthlySchedule]
926
+ attr_accessor :monthly
927
+
928
+ # Output only. The time the next patch job is scheduled to run.
929
+ # Corresponds to the JSON property `nextExecuteTime`
930
+ # @return [String]
931
+ attr_accessor :next_execute_time
932
+
933
+ # Optional. The time that the recurring schedule becomes effective.
934
+ # Defaults to `create_time` of the patch deployment.
935
+ # Corresponds to the JSON property `startTime`
936
+ # @return [String]
937
+ attr_accessor :start_time
938
+
939
+ # Represents a time of day. The date and time zone are either not significant
940
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
941
+ # types are google.type.Date and `google.protobuf.Timestamp`.
942
+ # Corresponds to the JSON property `timeOfDay`
943
+ # @return [Google::Apis::OsconfigV1::TimeOfDay]
944
+ attr_accessor :time_of_day
945
+
946
+ # Represents a time zone from the
947
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
948
+ # Corresponds to the JSON property `timeZone`
949
+ # @return [Google::Apis::OsconfigV1::TimeZone]
950
+ attr_accessor :time_zone
951
+
952
+ # Represents a weekly schedule.
953
+ # Corresponds to the JSON property `weekly`
954
+ # @return [Google::Apis::OsconfigV1::WeeklySchedule]
955
+ attr_accessor :weekly
956
+
957
+ def initialize(**args)
958
+ update!(**args)
959
+ end
960
+
961
+ # Update properties of this object
962
+ def update!(**args)
963
+ @end_time = args[:end_time] if args.key?(:end_time)
964
+ @frequency = args[:frequency] if args.key?(:frequency)
965
+ @last_execute_time = args[:last_execute_time] if args.key?(:last_execute_time)
966
+ @monthly = args[:monthly] if args.key?(:monthly)
967
+ @next_execute_time = args[:next_execute_time] if args.key?(:next_execute_time)
968
+ @start_time = args[:start_time] if args.key?(:start_time)
969
+ @time_of_day = args[:time_of_day] if args.key?(:time_of_day)
970
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
971
+ @weekly = args[:weekly] if args.key?(:weekly)
972
+ end
973
+ end
974
+
975
+ # Represents a time of day. The date and time zone are either not significant
976
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
977
+ # types are google.type.Date and `google.protobuf.Timestamp`.
978
+ class TimeOfDay
979
+ include Google::Apis::Core::Hashable
980
+
981
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
982
+ # to allow the value "24:00:00" for scenarios like business closing time.
983
+ # Corresponds to the JSON property `hours`
984
+ # @return [Fixnum]
985
+ attr_accessor :hours
986
+
987
+ # Minutes of hour of day. Must be from 0 to 59.
988
+ # Corresponds to the JSON property `minutes`
989
+ # @return [Fixnum]
990
+ attr_accessor :minutes
991
+
992
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
993
+ # Corresponds to the JSON property `nanos`
994
+ # @return [Fixnum]
995
+ attr_accessor :nanos
996
+
997
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
998
+ # allow the value 60 if it allows leap-seconds.
999
+ # Corresponds to the JSON property `seconds`
1000
+ # @return [Fixnum]
1001
+ attr_accessor :seconds
1002
+
1003
+ def initialize(**args)
1004
+ update!(**args)
1005
+ end
1006
+
1007
+ # Update properties of this object
1008
+ def update!(**args)
1009
+ @hours = args[:hours] if args.key?(:hours)
1010
+ @minutes = args[:minutes] if args.key?(:minutes)
1011
+ @nanos = args[:nanos] if args.key?(:nanos)
1012
+ @seconds = args[:seconds] if args.key?(:seconds)
1013
+ end
1014
+ end
1015
+
1016
+ # Represents a time zone from the
1017
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
1018
+ class TimeZone
1019
+ include Google::Apis::Core::Hashable
1020
+
1021
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
1022
+ # Corresponds to the JSON property `id`
1023
+ # @return [String]
1024
+ attr_accessor :id
1025
+
1026
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
1027
+ # Corresponds to the JSON property `version`
1028
+ # @return [String]
1029
+ attr_accessor :version
1030
+
1031
+ def initialize(**args)
1032
+ update!(**args)
1033
+ end
1034
+
1035
+ # Update properties of this object
1036
+ def update!(**args)
1037
+ @id = args[:id] if args.key?(:id)
1038
+ @version = args[:version] if args.key?(:version)
1039
+ end
1040
+ end
1041
+
1042
+ # Represents one week day in a month. An example is "the 4th Sunday".
1043
+ class WeekDayOfMonth
1044
+ include Google::Apis::Core::Hashable
1045
+
1046
+ # Required. A day of the week.
1047
+ # Corresponds to the JSON property `dayOfWeek`
1048
+ # @return [String]
1049
+ attr_accessor :day_of_week
1050
+
1051
+ # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
1052
+ # month. -1
1053
+ # indicates the last week of the month.
1054
+ # Corresponds to the JSON property `weekOrdinal`
1055
+ # @return [Fixnum]
1056
+ attr_accessor :week_ordinal
1057
+
1058
+ def initialize(**args)
1059
+ update!(**args)
1060
+ end
1061
+
1062
+ # Update properties of this object
1063
+ def update!(**args)
1064
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
1065
+ @week_ordinal = args[:week_ordinal] if args.key?(:week_ordinal)
1066
+ end
1067
+ end
1068
+
1069
+ # Represents a weekly schedule.
1070
+ class WeeklySchedule
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ # Required. Day of the week.
1074
+ # Corresponds to the JSON property `dayOfWeek`
1075
+ # @return [String]
1076
+ attr_accessor :day_of_week
1077
+
1078
+ def initialize(**args)
1079
+ update!(**args)
1080
+ end
1081
+
1082
+ # Update properties of this object
1083
+ def update!(**args)
1084
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
1085
+ end
1086
+ end
1087
+
1088
+ # Windows patching is performed using the Windows Update Agent.
1089
+ class WindowsUpdateSettings
1090
+ include Google::Apis::Core::Hashable
1091
+
1092
+ # Only apply updates of these windows update classifications. If empty, all
1093
+ # updates are applied.
1094
+ # Corresponds to the JSON property `classifications`
1095
+ # @return [Array<String>]
1096
+ attr_accessor :classifications
1097
+
1098
+ # List of KBs to exclude from update.
1099
+ # Corresponds to the JSON property `excludes`
1100
+ # @return [Array<String>]
1101
+ attr_accessor :excludes
1102
+
1103
+ # An exclusive list of kbs to be updated. These are the only patches
1104
+ # that will be updated. This field must not be used with other
1105
+ # patch configurations.
1106
+ # Corresponds to the JSON property `exclusivePatches`
1107
+ # @return [Array<String>]
1108
+ attr_accessor :exclusive_patches
1109
+
1110
+ def initialize(**args)
1111
+ update!(**args)
1112
+ end
1113
+
1114
+ # Update properties of this object
1115
+ def update!(**args)
1116
+ @classifications = args[:classifications] if args.key?(:classifications)
1117
+ @excludes = args[:excludes] if args.key?(:excludes)
1118
+ @exclusive_patches = args[:exclusive_patches] if args.key?(:exclusive_patches)
1119
+ end
1120
+ end
1121
+
1122
+ # Yum patching is performed by executing `yum update`. Additional options
1123
+ # can be set to control how this is executed.
1124
+ # Note that not all settings are supported on all platforms.
1125
+ class YumSettings
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # List of packages to exclude from update. These packages are excluded by
1129
+ # using the yum `--exclude` flag.
1130
+ # Corresponds to the JSON property `excludes`
1131
+ # @return [Array<String>]
1132
+ attr_accessor :excludes
1133
+
1134
+ # An exclusive list of packages to be updated. These are the only packages
1135
+ # that will be updated. If these packages are not installed, they will be
1136
+ # ignored. This field must not be specified with any other patch
1137
+ # configuration fields.
1138
+ # Corresponds to the JSON property `exclusivePackages`
1139
+ # @return [Array<String>]
1140
+ attr_accessor :exclusive_packages
1141
+
1142
+ # Will cause patch to run `yum update-minimal` instead.
1143
+ # Corresponds to the JSON property `minimal`
1144
+ # @return [Boolean]
1145
+ attr_accessor :minimal
1146
+ alias_method :minimal?, :minimal
1147
+
1148
+ # Adds the `--security` flag to `yum update`. Not supported on
1149
+ # all platforms.
1150
+ # Corresponds to the JSON property `security`
1151
+ # @return [Boolean]
1152
+ attr_accessor :security
1153
+ alias_method :security?, :security
1154
+
1155
+ def initialize(**args)
1156
+ update!(**args)
1157
+ end
1158
+
1159
+ # Update properties of this object
1160
+ def update!(**args)
1161
+ @excludes = args[:excludes] if args.key?(:excludes)
1162
+ @exclusive_packages = args[:exclusive_packages] if args.key?(:exclusive_packages)
1163
+ @minimal = args[:minimal] if args.key?(:minimal)
1164
+ @security = args[:security] if args.key?(:security)
1165
+ end
1166
+ end
1167
+
1168
+ # Zypper patching is performed by running `zypper patch`.
1169
+ # See also https://en.opensuse.org/SDB:Zypper_manual.
1170
+ class ZypperSettings
1171
+ include Google::Apis::Core::Hashable
1172
+
1173
+ # Install only patches with these categories.
1174
+ # Common categories include security, recommended, and feature.
1175
+ # Corresponds to the JSON property `categories`
1176
+ # @return [Array<String>]
1177
+ attr_accessor :categories
1178
+
1179
+ # List of patches to exclude from update.
1180
+ # Corresponds to the JSON property `excludes`
1181
+ # @return [Array<String>]
1182
+ attr_accessor :excludes
1183
+
1184
+ # An exclusive list of patches to be updated. These are the only patches
1185
+ # that will be installed using 'zypper patch patch:<patch_name>' command.
1186
+ # This field must not be used with any other patch configuration fields.
1187
+ # Corresponds to the JSON property `exclusivePatches`
1188
+ # @return [Array<String>]
1189
+ attr_accessor :exclusive_patches
1190
+
1191
+ # Install only patches with these severities.
1192
+ # Common severities include critical, important, moderate, and low.
1193
+ # Corresponds to the JSON property `severities`
1194
+ # @return [Array<String>]
1195
+ attr_accessor :severities
1196
+
1197
+ # Adds the `--with-optional` flag to `zypper patch`.
1198
+ # Corresponds to the JSON property `withOptional`
1199
+ # @return [Boolean]
1200
+ attr_accessor :with_optional
1201
+ alias_method :with_optional?, :with_optional
1202
+
1203
+ # Adds the `--with-update` flag, to `zypper patch`.
1204
+ # Corresponds to the JSON property `withUpdate`
1205
+ # @return [Boolean]
1206
+ attr_accessor :with_update
1207
+ alias_method :with_update?, :with_update
1208
+
1209
+ def initialize(**args)
1210
+ update!(**args)
1211
+ end
1212
+
1213
+ # Update properties of this object
1214
+ def update!(**args)
1215
+ @categories = args[:categories] if args.key?(:categories)
1216
+ @excludes = args[:excludes] if args.key?(:excludes)
1217
+ @exclusive_patches = args[:exclusive_patches] if args.key?(:exclusive_patches)
1218
+ @severities = args[:severities] if args.key?(:severities)
1219
+ @with_optional = args[:with_optional] if args.key?(:with_optional)
1220
+ @with_update = args[:with_update] if args.key?(:with_update)
1221
+ end
1222
+ end
1223
+ end
1224
+ end
1225
+ end