google-api-client 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -55,12 +55,9 @@ module Google
55
55
  # @param [Google::Apis::OsconfigV1::PatchDeployment] patch_deployment_object
56
56
  # @param [String] patch_deployment_id
57
57
  # Required. A name for the patch deployment in the project. When creating a name
58
- # the following rules apply:
59
- # * Must contain only lowercase letters, numbers, and hyphens.
60
- # * Must start with a letter.
61
- # * Must be between 1-63 characters.
62
- # * Must end with a number or a letter.
63
- # * Must be unique within the project.
58
+ # the following rules apply: * Must contain only lowercase letters, numbers, and
59
+ # hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
60
+ # end with a number or a letter. * Must be unique within the project.
64
61
  # @param [String] fields
65
62
  # Selector specifying which fields to include in a partial response.
66
63
  # @param [String] quota_user
@@ -93,8 +90,8 @@ module Google
93
90
 
94
91
  # Delete an OS Config patch deployment.
95
92
  # @param [String] name
96
- # Required. The resource name of the patch deployment in the form
97
- # `projects/*/patchDeployments/*`.
93
+ # Required. The resource name of the patch deployment in the form `projects/*/
94
+ # patchDeployments/*`.
98
95
  # @param [String] fields
99
96
  # Selector specifying which fields to include in a partial response.
100
97
  # @param [String] quota_user
@@ -124,8 +121,8 @@ module Google
124
121
 
125
122
  # Get an OS Config patch deployment.
126
123
  # @param [String] name
127
- # Required. The resource name of the patch deployment in the form
128
- # `projects/*/patchDeployments/*`.
124
+ # Required. The resource name of the patch deployment in the form `projects/*/
125
+ # patchDeployments/*`.
129
126
  # @param [String] fields
130
127
  # Selector specifying which fields to include in a partial response.
131
128
  # @param [String] quota_user
@@ -160,8 +157,7 @@ module Google
160
157
  # Optional. The maximum number of patch deployments to return. Default is 100.
161
158
  # @param [String] page_token
162
159
  # Optional. A pagination token returned from a previous call to
163
- # ListPatchDeployments
164
- # that indicates where this listing should continue from.
160
+ # ListPatchDeployments that indicates where this listing should continue from.
165
161
  # @param [String] fields
166
162
  # Selector specifying which fields to include in a partial response.
167
163
  # @param [String] quota_user
@@ -191,8 +187,8 @@ module Google
191
187
  execute_or_queue_command(command, &block)
192
188
  end
193
189
 
194
- # Cancel a patch job. The patch job must be active. Canceled patch jobs
195
- # cannot be restarted.
190
+ # Cancel a patch job. The patch job must be active. Canceled patch jobs cannot
191
+ # be restarted.
196
192
  # @param [String] name
197
193
  # Required. Name of the patch in the form `projects/*/patchJobs/*`
198
194
  # @param [Google::Apis::OsconfigV1::CancelPatchJobRequest] cancel_patch_job_request_object
@@ -258,8 +254,8 @@ module Google
258
254
  execute_or_queue_command(command, &block)
259
255
  end
260
256
 
261
- # Get the patch job. This can be used to track the progress of an
262
- # ongoing patch job or review the details of completed jobs.
257
+ # Get the patch job. This can be used to track the progress of an ongoing patch
258
+ # job or review the details of completed jobs.
263
259
  # @param [String] name
264
260
  # Required. Name of the patch in the form `projects/*/patchJobs/*`
265
261
  # @param [String] fields
@@ -293,14 +289,14 @@ module Google
293
289
  # @param [String] parent
294
290
  # Required. In the form of `projects/*`
295
291
  # @param [String] filter
296
- # If provided, this field specifies the criteria that must be met by patch
297
- # jobs to be included in the response.
298
- # Currently, filtering is only available on the patch_deployment field.
292
+ # If provided, this field specifies the criteria that must be met by patch jobs
293
+ # to be included in the response. Currently, filtering is only available on the
294
+ # patch_deployment field.
299
295
  # @param [Fixnum] page_size
300
296
  # The maximum number of instance status to return.
301
297
  # @param [String] page_token
302
- # A pagination token returned from a previous call
303
- # that indicates where this listing should continue from.
298
+ # A pagination token returned from a previous call that indicates where this
299
+ # listing should continue from.
304
300
  # @param [String] fields
305
301
  # Selector specifying which fields to include in a partial response.
306
302
  # @param [String] quota_user
@@ -336,14 +332,13 @@ module Google
336
332
  # Required. The parent for the instances are in the form of `projects/*/
337
333
  # patchJobs/*`.
338
334
  # @param [String] filter
339
- # A filter expression that filters results listed in the response. This
340
- # field supports filtering results by instance zone, name, state, or
341
- # `failure_reason`.
335
+ # A filter expression that filters results listed in the response. This field
336
+ # supports filtering results by instance zone, name, state, or `failure_reason`.
342
337
  # @param [Fixnum] page_size
343
- # The maximum number of instance details records to return. Default is 100.
338
+ # The maximum number of instance details records to return. Default is 100.
344
339
  # @param [String] page_token
345
- # A pagination token returned from a previous call
346
- # that indicates where this listing should continue from.
340
+ # A pagination token returned from a previous call that indicates where this
341
+ # listing should continue from.
347
342
  # @param [String] fields
348
343
  # Selector specifying which fields to include in a partial response.
349
344
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/
27
27
  module OsconfigV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200714'
29
+ REVISION = '20200824'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,9 +22,8 @@ module Google
22
22
  module Apis
23
23
  module OsconfigV1beta
24
24
 
25
- # Represents a single Apt package repository. This repository is added to
26
- # a repo file that is stored at
27
- # `/etc/apt/sources.list.d/google_osconfig.list`.
25
+ # Represents a single Apt package repository. This repository is added to a repo
26
+ # file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`.
28
27
  class AptRepository
29
28
  include Google::Apis::Core::Hashable
30
29
 
@@ -44,9 +43,9 @@ module Google
44
43
  # @return [String]
45
44
  attr_accessor :distribution
46
45
 
47
- # URI of the key file for this repository. The agent maintains
48
- # a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
49
- # all the keys in any applied guest policy.
46
+ # URI of the key file for this repository. The agent maintains a keyring at `/
47
+ # etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing all the keys in
48
+ # any applied guest policy.
50
49
  # Corresponds to the JSON property `gpgKey`
51
50
  # @return [String]
52
51
  attr_accessor :gpg_key
@@ -70,8 +69,8 @@ module Google
70
69
  end
71
70
  end
72
71
 
73
- # Apt patching is completed by executing `apt-get update && apt-get
74
- # upgrade`. Additional options can be set to control how this is executed.
72
+ # Apt patching is completed by executing `apt-get update && apt-get upgrade`.
73
+ # Additional options can be set to control how this is executed.
75
74
  class AptSettings
76
75
  include Google::Apis::Core::Hashable
77
76
 
@@ -80,16 +79,15 @@ module Google
80
79
  # @return [Array<String>]
81
80
  attr_accessor :excludes
82
81
 
83
- # An exclusive list of packages to be updated. These are the only packages
84
- # that will be updated. If these packages are not installed, they will be
85
- # ignored. This field cannot be specified with any other patch configuration
86
- # fields.
82
+ # An exclusive list of packages to be updated. These are the only packages that
83
+ # will be updated. If these packages are not installed, they will be ignored.
84
+ # This field cannot be specified with any other patch configuration fields.
87
85
  # Corresponds to the JSON property `exclusivePackages`
88
86
  # @return [Array<String>]
89
87
  attr_accessor :exclusive_packages
90
88
 
91
- # By changing the type to DIST, the patching is performed
92
- # using `apt-get dist-upgrade` instead.
89
+ # By changing the type to DIST, the patching is performed using `apt-get dist-
90
+ # upgrade` instead.
93
91
  # Corresponds to the JSON property `type`
94
92
  # @return [String]
95
93
  attr_accessor :type
@@ -107,51 +105,45 @@ module Google
107
105
  end
108
106
 
109
107
  # An assignment represents the group or groups of VM instances that the policy
110
- # applies to.
111
- # If an assignment is empty, it applies to all VM instances. Otherwise, the
112
- # targeted VM instances must meet all the criteria specified. So if both
113
- # labels and zones are specified, the policy applies to VM instances with those
114
- # labels and in those zones.
108
+ # applies to. If an assignment is empty, it applies to all VM instances.
109
+ # Otherwise, the targeted VM instances must meet all the criteria specified. So
110
+ # if both labels and zones are specified, the policy applies to VM instances
111
+ # with those labels and in those zones.
115
112
  class Assignment
116
113
  include Google::Apis::Core::Hashable
117
114
 
118
- # Targets instances matching at least one of these label sets. This allows
119
- # an assignment to target disparate groups, for example "env=prod or
120
- # env=staging".
115
+ # Targets instances matching at least one of these label sets. This allows an
116
+ # assignment to target disparate groups, for example "env=prod or env=staging".
121
117
  # Corresponds to the JSON property `groupLabels`
122
118
  # @return [Array<Google::Apis::OsconfigV1beta::AssignmentGroupLabel>]
123
119
  attr_accessor :group_labels
124
120
 
125
- # Targets VM instances whose name starts with one of these prefixes.
126
- # Like labels, this is another way to group VM instances when targeting
127
- # configs, for example prefix="prod-".
128
- # Only supported for project-level policies.
121
+ # Targets VM instances whose name starts with one of these prefixes. Like labels,
122
+ # this is another way to group VM instances when targeting configs, for example
123
+ # prefix="prod-". Only supported for project-level policies.
129
124
  # Corresponds to the JSON property `instanceNamePrefixes`
130
125
  # @return [Array<String>]
131
126
  attr_accessor :instance_name_prefixes
132
127
 
133
- # Targets any of the instances specified. Instances are specified by their
134
- # URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
135
- # Instance targeting is uncommon and is supported to facilitate the
136
- # management of changes by the instance or to target specific VM instances
137
- # for development and testing.
138
- # Only supported for project-level policies and must reference instances
139
- # within this project.
128
+ # Targets any of the instances specified. Instances are specified by their URI
129
+ # in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`. Instance targeting is
130
+ # uncommon and is supported to facilitate the management of changes by the
131
+ # instance or to target specific VM instances for development and testing. Only
132
+ # supported for project-level policies and must reference instances within this
133
+ # project.
140
134
  # Corresponds to the JSON property `instances`
141
135
  # @return [Array<String>]
142
136
  attr_accessor :instances
143
137
 
144
- # Targets VM instances matching at least one of the following OS types.
145
- # VM instances must match all supplied criteria for a given OsType to be
146
- # included.
138
+ # Targets VM instances matching at least one of the following OS types. VM
139
+ # instances must match all supplied criteria for a given OsType to be included.
147
140
  # Corresponds to the JSON property `osTypes`
148
141
  # @return [Array<Google::Apis::OsconfigV1beta::AssignmentOsType>]
149
142
  attr_accessor :os_types
150
143
 
151
- # Targets instances in any of these zones. Leave empty to target instances
152
- # in any zone.
153
- # Zonal targeting is uncommon and is supported to facilitate the management
154
- # of changes by zone.
144
+ # Targets instances in any of these zones. Leave empty to target instances in
145
+ # any zone. Zonal targeting is uncommon and is supported to facilitate the
146
+ # management of changes by zone.
155
147
  # Corresponds to the JSON property `zones`
156
148
  # @return [Array<String>]
157
149
  attr_accessor :zones
@@ -170,13 +162,13 @@ module Google
170
162
  end
171
163
  end
172
164
 
173
- # Represents a group of VM intances that can be identified as having all
174
- # these labels, for example "env=prod and app=web".
165
+ # Represents a group of VM intances that can be identified as having all these
166
+ # labels, for example "env=prod and app=web".
175
167
  class AssignmentGroupLabel
176
168
  include Google::Apis::Core::Hashable
177
169
 
178
- # Google Compute Engine instance labels that must be present for an
179
- # instance to be included in this assignment group.
170
+ # Google Compute Engine instance labels that must be present for an instance to
171
+ # be included in this assignment group.
180
172
  # Corresponds to the JSON property `labels`
181
173
  # @return [Hash<String,String>]
182
174
  attr_accessor :labels
@@ -195,14 +187,14 @@ module Google
195
187
  class AssignmentOsType
196
188
  include Google::Apis::Core::Hashable
197
189
 
198
- # Targets VM instances with OS Inventory enabled and having the following
199
- # OS architecture.
190
+ # Targets VM instances with OS Inventory enabled and having the following OS
191
+ # architecture.
200
192
  # Corresponds to the JSON property `osArchitecture`
201
193
  # @return [String]
202
194
  attr_accessor :os_architecture
203
195
 
204
- # Targets VM instances with OS Inventory enabled and having the following
205
- # OS short name, for example "debian" or "windows".
196
+ # Targets VM instances with OS Inventory enabled and having the following OS
197
+ # short name, for example "debian" or "windows".
206
198
  # Corresponds to the JSON property `osShortName`
207
199
  # @return [String]
208
200
  attr_accessor :os_short_name
@@ -273,23 +265,16 @@ module Google
273
265
  class EffectiveGuestPolicySourcedPackage
274
266
  include Google::Apis::Core::Hashable
275
267
 
276
- # Package is a reference to the software package to be installed or removed.
277
- # The agent on the VM instance uses the system package manager to apply the
278
- # config.
279
- # These are the commands that the agent uses to install or remove
280
- # packages.
281
- # Apt
268
+ # Package is a reference to the software package to be installed or removed. The
269
+ # agent on the VM instance uses the system package manager to apply the config.
270
+ # These are the commands that the agent uses to install or remove packages. Apt
282
271
  # install: `apt-get update && apt-get -y install package1 package2 package3`
283
- # remove: `apt-get -y remove package1 package2 package3`
284
- # Yum
285
- # install: `yum -y install package1 package2 package3`
286
- # remove: `yum -y remove package1 package2 package3`
287
- # Zypper
288
- # install: `zypper install package1 package2 package3`
289
- # remove: `zypper rm package1 package2`
290
- # Googet
291
- # install: `googet -noconfirm install package1 package2 package3`
292
- # remove: `googet -noconfirm remove package1 package2 package3`
272
+ # remove: `apt-get -y remove package1 package2 package3` Yum install: `yum -y
273
+ # install package1 package2 package3` remove: `yum -y remove package1 package2
274
+ # package3` Zypper install: `zypper install package1 package2 package3` remove: `
275
+ # zypper rm package1 package2` Googet install: `googet -noconfirm install
276
+ # package1 package2 package3` remove: `googet -noconfirm remove package1
277
+ # package2 package3`
293
278
  # Corresponds to the JSON property `package`
294
279
  # @return [Google::Apis::OsconfigV1beta::Package]
295
280
  attr_accessor :package
@@ -340,22 +325,17 @@ module Google
340
325
  include Google::Apis::Core::Hashable
341
326
 
342
327
  # A software recipe is a set of instructions for installing and configuring a
343
- # piece of software. It consists of a set of artifacts that are
344
- # downloaded, and a set of steps that install, configure, and/or update the
345
- # software.
346
- # Recipes support installing and updating software from artifacts in the
347
- # following formats:
348
- # Zip archive, Tar archive, Windows MSI, Debian package, and RPM package.
349
- # Additionally, recipes support executing a script (either defined in a file or
350
- # directly in this api) in bash, sh, cmd, and powershell.
351
- # Updating a software recipe
352
- # If a recipe is assigned to an instance and there is a recipe with the same
353
- # name but a lower version already installed and the assigned state
354
- # of the recipe is `UPDATED`, then the recipe is updated to
355
- # the new version.
356
- # Script Working Directories
357
- # Each script or execution step is run in its own temporary directory which
358
- # is deleted after completing the step.
328
+ # piece of software. It consists of a set of artifacts that are downloaded, and
329
+ # a set of steps that install, configure, and/or update the software. Recipes
330
+ # support installing and updating software from artifacts in the following
331
+ # formats: Zip archive, Tar archive, Windows MSI, Debian package, and RPM
332
+ # package. Additionally, recipes support executing a script (either defined in a
333
+ # file or directly in this api) in bash, sh, cmd, and powershell. Updating a
334
+ # software recipe If a recipe is assigned to an instance and there is a recipe
335
+ # with the same name but a lower version already installed and the assigned
336
+ # state of the recipe is `UPDATED`, then the recipe is updated to the new
337
+ # version. Script Working Directories Each script or execution step is run in
338
+ # its own temporary directory which is deleted after completing the step.
359
339
  # Corresponds to the JSON property `softwareRecipe`
360
340
  # @return [Google::Apis::OsconfigV1beta::SoftwareRecipe]
361
341
  attr_accessor :software_recipe
@@ -376,13 +356,11 @@ module Google
376
356
  end
377
357
  end
378
358
 
379
- # A generic empty message that you can re-use to avoid defining duplicated
380
- # empty messages in your APIs. A typical example is to use it as the request
381
- # or the response type of an API method. For instance:
382
- # service Foo `
383
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
384
- # `
385
- # The JSON representation for `Empty` is empty JSON object ````.
359
+ # A generic empty message that you can re-use to avoid defining duplicated empty
360
+ # messages in your APIs. A typical example is to use it as the request or the
361
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
362
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
363
+ # `Empty` is empty JSON object ````.
386
364
  class Empty
387
365
  include Google::Apis::Core::Hashable
388
366
 
@@ -395,6 +373,74 @@ module Google
395
373
  end
396
374
  end
397
375
 
376
+ # A resource that contains custom validation and enforcement steps.
377
+ class ExecResource
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # A file or script to execute.
381
+ # Corresponds to the JSON property `enforce`
382
+ # @return [Google::Apis::OsconfigV1beta::ExecResourceExec]
383
+ attr_accessor :enforce
384
+
385
+ # A file or script to execute.
386
+ # Corresponds to the JSON property `validate`
387
+ # @return [Google::Apis::OsconfigV1beta::ExecResourceExec]
388
+ attr_accessor :validate
389
+
390
+ def initialize(**args)
391
+ update!(**args)
392
+ end
393
+
394
+ # Update properties of this object
395
+ def update!(**args)
396
+ @enforce = args[:enforce] if args.key?(:enforce)
397
+ @validate = args[:validate] if args.key?(:validate)
398
+ end
399
+ end
400
+
401
+ # A file or script to execute.
402
+ class ExecResourceExec
403
+ include Google::Apis::Core::Hashable
404
+
405
+ # Exit codes that indicate success.
406
+ # Corresponds to the JSON property `allowedSuccessCodes`
407
+ # @return [Array<Fixnum>]
408
+ attr_accessor :allowed_success_codes
409
+
410
+ # Arguments to use.
411
+ # Corresponds to the JSON property `args`
412
+ # @return [Array<String>]
413
+ attr_accessor :args
414
+
415
+ # A remote or local file.
416
+ # Corresponds to the JSON property `file`
417
+ # @return [Google::Apis::OsconfigV1beta::File]
418
+ attr_accessor :file
419
+
420
+ # The script interpreter to use.
421
+ # Corresponds to the JSON property `interpreter`
422
+ # @return [String]
423
+ attr_accessor :interpreter
424
+
425
+ # An inline script.
426
+ # Corresponds to the JSON property `script`
427
+ # @return [String]
428
+ attr_accessor :script
429
+
430
+ def initialize(**args)
431
+ update!(**args)
432
+ end
433
+
434
+ # Update properties of this object
435
+ def update!(**args)
436
+ @allowed_success_codes = args[:allowed_success_codes] if args.key?(:allowed_success_codes)
437
+ @args = args[:args] if args.key?(:args)
438
+ @file = args[:file] if args.key?(:file)
439
+ @interpreter = args[:interpreter] if args.key?(:interpreter)
440
+ @script = args[:script] if args.key?(:script)
441
+ end
442
+ end
443
+
398
444
  # A step that runs an executable for a PatchJob.
399
445
  class ExecStep
400
446
  include Google::Apis::Core::Hashable
@@ -424,8 +470,8 @@ module Google
424
470
  class ExecStepConfig
425
471
  include Google::Apis::Core::Hashable
426
472
 
427
- # Defaults to [0]. A list of possible return values that the
428
- # execution can return to indicate a success.
473
+ # Defaults to [0]. A list of possible return values that the execution can
474
+ # return to indicate a success.
429
475
  # Corresponds to the JSON property `allowedSuccessCodes`
430
476
  # @return [Array<Fixnum>]
431
477
  attr_accessor :allowed_success_codes
@@ -436,9 +482,9 @@ module Google
436
482
  attr_accessor :gcs_object
437
483
 
438
484
  # The script interpreter to use to run the script. If no interpreter is
439
- # specified the script will be executed directly, which will likely
440
- # only succeed for scripts with [shebang lines]
441
- # (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
485
+ # specified the script will be executed directly, which will likely only succeed
486
+ # for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\
487
+ # )).
442
488
  # Corresponds to the JSON property `interpreter`
443
489
  # @return [String]
444
490
  attr_accessor :interpreter
@@ -465,8 +511,8 @@ module Google
465
511
  class ExecutePatchJobRequest
466
512
  include Google::Apis::Core::Hashable
467
513
 
468
- # Description of the patch job. Length of the description is limited
469
- # to 1024 characters.
514
+ # Description of the patch job. Length of the description is limited to 1024
515
+ # characters.
470
516
  # Corresponds to the JSON property `description`
471
517
  # @return [String]
472
518
  attr_accessor :description
@@ -476,29 +522,26 @@ module Google
476
522
  # @return [String]
477
523
  attr_accessor :display_name
478
524
 
479
- # If this patch is a dry-run only, instances are contacted but
480
- # will do nothing.
525
+ # If this patch is a dry-run only, instances are contacted but will do nothing.
481
526
  # Corresponds to the JSON property `dryRun`
482
527
  # @return [Boolean]
483
528
  attr_accessor :dry_run
484
529
  alias_method :dry_run?, :dry_run
485
530
 
486
- # Duration of the patch job. After the duration ends, the patch job
487
- # times out.
531
+ # Duration of the patch job. After the duration ends, the patch job times out.
488
532
  # Corresponds to the JSON property `duration`
489
533
  # @return [String]
490
534
  attr_accessor :duration
491
535
 
492
- # A filter to target VM instances for patching. The targeted
493
- # VMs must meet all criteria specified. So if both labels and zones are
494
- # specified, the patch job targets only VMs with those labels and in those
495
- # zones.
536
+ # A filter to target VM instances for patching. The targeted VMs must meet all
537
+ # criteria specified. So if both labels and zones are specified, the patch job
538
+ # targets only VMs with those labels and in those zones.
496
539
  # Corresponds to the JSON property `instanceFilter`
497
540
  # @return [Google::Apis::OsconfigV1beta::PatchInstanceFilter]
498
541
  attr_accessor :instance_filter
499
542
 
500
- # Patch configuration specifications. Contains details on how to apply the
501
- # patch(es) to a VM instance.
543
+ # Patch configuration specifications. Contains details on how to apply the patch(
544
+ # es) to a VM instance.
502
545
  # Corresponds to the JSON property `patchConfig`
503
546
  # @return [Google::Apis::OsconfigV1beta::PatchConfig]
504
547
  attr_accessor :patch_config
@@ -525,6 +568,200 @@ module Google
525
568
  end
526
569
  end
527
570
 
571
+ # A resource that extracts an archive
572
+ class ExtractArchiveResource
573
+ include Google::Apis::Core::Hashable
574
+
575
+ # Local file path that signals this resource is in the desired state. The
576
+ # absence of this file will indicate whether the archive needs to be extracted.
577
+ # Corresponds to the JSON property `creates`
578
+ # @return [String]
579
+ attr_accessor :creates
580
+
581
+ # Directory to extract archive to.
582
+ # Corresponds to the JSON property `destination`
583
+ # @return [String]
584
+ attr_accessor :destination
585
+
586
+ # Whether to overwrite existing files during extraction. If this is set to true,
587
+ # any existing files in the destination location will be overwritten by the
588
+ # extraction.
589
+ # Corresponds to the JSON property `overwrite`
590
+ # @return [Boolean]
591
+ attr_accessor :overwrite
592
+ alias_method :overwrite?, :overwrite
593
+
594
+ # A remote or local file.
595
+ # Corresponds to the JSON property `source`
596
+ # @return [Google::Apis::OsconfigV1beta::File]
597
+ attr_accessor :source
598
+
599
+ # The type of the archive to extract.
600
+ # Corresponds to the JSON property `type`
601
+ # @return [String]
602
+ attr_accessor :type
603
+
604
+ def initialize(**args)
605
+ update!(**args)
606
+ end
607
+
608
+ # Update properties of this object
609
+ def update!(**args)
610
+ @creates = args[:creates] if args.key?(:creates)
611
+ @destination = args[:destination] if args.key?(:destination)
612
+ @overwrite = args[:overwrite] if args.key?(:overwrite)
613
+ @source = args[:source] if args.key?(:source)
614
+ @type = args[:type] if args.key?(:type)
615
+ end
616
+ end
617
+
618
+ # A remote or local file.
619
+ class File
620
+ include Google::Apis::Core::Hashable
621
+
622
+ # Defaults to false. When false, files will be subject to validations based on
623
+ # the file type: Remote: A checksum must be specified. GCS: An object generation
624
+ # number must be specified.
625
+ # Corresponds to the JSON property `allowInsecure`
626
+ # @return [Boolean]
627
+ attr_accessor :allow_insecure
628
+ alias_method :allow_insecure?, :allow_insecure
629
+
630
+ # Specifies a file available as a GCS Object.
631
+ # Corresponds to the JSON property `gcs`
632
+ # @return [Google::Apis::OsconfigV1beta::FileGcs]
633
+ attr_accessor :gcs
634
+
635
+ # A local path to use.
636
+ # Corresponds to the JSON property `localPath`
637
+ # @return [String]
638
+ attr_accessor :local_path
639
+
640
+ # Specifies a file available via some URI.
641
+ # Corresponds to the JSON property `remote`
642
+ # @return [Google::Apis::OsconfigV1beta::FileRemote]
643
+ attr_accessor :remote
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @allow_insecure = args[:allow_insecure] if args.key?(:allow_insecure)
652
+ @gcs = args[:gcs] if args.key?(:gcs)
653
+ @local_path = args[:local_path] if args.key?(:local_path)
654
+ @remote = args[:remote] if args.key?(:remote)
655
+ end
656
+ end
657
+
658
+ # Specifies a file available as a GCS Object.
659
+ class FileGcs
660
+ include Google::Apis::Core::Hashable
661
+
662
+ # Bucket of the GCS object.
663
+ # Corresponds to the JSON property `bucket`
664
+ # @return [String]
665
+ attr_accessor :bucket
666
+
667
+ # Generation number of the GCS object.
668
+ # Corresponds to the JSON property `generation`
669
+ # @return [Fixnum]
670
+ attr_accessor :generation
671
+
672
+ # Name of the GCS object.
673
+ # Corresponds to the JSON property `object`
674
+ # @return [String]
675
+ attr_accessor :object
676
+
677
+ def initialize(**args)
678
+ update!(**args)
679
+ end
680
+
681
+ # Update properties of this object
682
+ def update!(**args)
683
+ @bucket = args[:bucket] if args.key?(:bucket)
684
+ @generation = args[:generation] if args.key?(:generation)
685
+ @object = args[:object] if args.key?(:object)
686
+ end
687
+ end
688
+
689
+ # Specifies a file available via some URI.
690
+ class FileRemote
691
+ include Google::Apis::Core::Hashable
692
+
693
+ # SHA256 checksum of the remote file.
694
+ # Corresponds to the JSON property `sha256Checksum`
695
+ # @return [String]
696
+ attr_accessor :sha256_checksum
697
+
698
+ # URI from which to fetch the object. It should contain both the protocol and
699
+ # path following the format `protocol`://`location`.
700
+ # Corresponds to the JSON property `uri`
701
+ # @return [String]
702
+ attr_accessor :uri
703
+
704
+ def initialize(**args)
705
+ update!(**args)
706
+ end
707
+
708
+ # Update properties of this object
709
+ def update!(**args)
710
+ @sha256_checksum = args[:sha256_checksum] if args.key?(:sha256_checksum)
711
+ @uri = args[:uri] if args.key?(:uri)
712
+ end
713
+ end
714
+
715
+ # A resource that manages the state of a file.
716
+ class FileResource
717
+ include Google::Apis::Core::Hashable
718
+
719
+ # A a file with this content.
720
+ # Corresponds to the JSON property `content`
721
+ # @return [String]
722
+ attr_accessor :content
723
+
724
+ # A remote or local file.
725
+ # Corresponds to the JSON property `file`
726
+ # @return [Google::Apis::OsconfigV1beta::File]
727
+ attr_accessor :file
728
+
729
+ # The absolute path of the file.
730
+ # Corresponds to the JSON property `path`
731
+ # @return [String]
732
+ attr_accessor :path
733
+
734
+ # Consists of three octal digits which represent, in order, the permissions of
735
+ # the owner, group, and other users for the file (similarly to the numeric mode
736
+ # used in the linux chmod utility). Each digit represents a three bit number
737
+ # with the 4 bit corresponding to the read permissions, the 2 bit corresponds to
738
+ # the write bit, and the one bit corresponds to the execute permission. Default
739
+ # behavior is 755. Below are some examples of permissions and their associated
740
+ # values: read, write, and execute: 7 read and execute: 5 read and write: 6 read
741
+ # only: 4
742
+ # Corresponds to the JSON property `permissions`
743
+ # @return [String]
744
+ attr_accessor :permissions
745
+
746
+ # Desired state of the file.
747
+ # Corresponds to the JSON property `state`
748
+ # @return [String]
749
+ attr_accessor :state
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @content = args[:content] if args.key?(:content)
758
+ @file = args[:file] if args.key?(:file)
759
+ @path = args[:path] if args.key?(:path)
760
+ @permissions = args[:permissions] if args.key?(:permissions)
761
+ @state = args[:state] if args.key?(:state)
762
+ end
763
+ end
764
+
528
765
  # Message encapsulating a value that can be either absolute ("fixed") or
529
766
  # relative ("percent") to a value.
530
767
  class FixedOrPercent
@@ -535,8 +772,8 @@ module Google
535
772
  # @return [Fixnum]
536
773
  attr_accessor :fixed
537
774
 
538
- # Specifies the relative value defined as a percentage, which will be
539
- # multiplied by a reference value.
775
+ # Specifies the relative value defined as a percentage, which will be multiplied
776
+ # by a reference value.
540
777
  # Corresponds to the JSON property `percent`
541
778
  # @return [Fixnum]
542
779
  attr_accessor :percent
@@ -562,8 +799,7 @@ module Google
562
799
  attr_accessor :bucket
563
800
 
564
801
  # Required. Generation number of the Google Cloud Storage object. This is used
565
- # to
566
- # ensure that the ExecStep specified by this PatchJob does not change.
802
+ # to ensure that the ExecStep specified by this PatchJob does not change.
567
803
  # Corresponds to the JSON property `generationNumber`
568
804
  # @return [Fixnum]
569
805
  attr_accessor :generation_number
@@ -585,8 +821,8 @@ module Google
585
821
  end
586
822
  end
587
823
 
588
- # Represents a Goo package repository. These is added to a repo file
589
- # that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
824
+ # Represents a Goo package repository. These is added to a repo file that is
825
+ # stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
590
826
  class GooRepository
591
827
  include Google::Apis::Core::Hashable
592
828
 
@@ -632,11 +868,10 @@ module Google
632
868
  include Google::Apis::Core::Hashable
633
869
 
634
870
  # An assignment represents the group or groups of VM instances that the policy
635
- # applies to.
636
- # If an assignment is empty, it applies to all VM instances. Otherwise, the
637
- # targeted VM instances must meet all the criteria specified. So if both
638
- # labels and zones are specified, the policy applies to VM instances with those
639
- # labels and in those zones.
871
+ # applies to. If an assignment is empty, it applies to all VM instances.
872
+ # Otherwise, the targeted VM instances must meet all the criteria specified. So
873
+ # if both labels and zones are specified, the policy applies to VM instances
874
+ # with those labels and in those zones.
640
875
  # Corresponds to the JSON property `assignment`
641
876
  # @return [Google::Apis::OsconfigV1beta::Assignment]
642
877
  attr_accessor :assignment
@@ -646,30 +881,28 @@ module Google
646
881
  # @return [String]
647
882
  attr_accessor :create_time
648
883
 
649
- # Description of the guest policy. Length of the description is limited
650
- # to 1024 characters.
884
+ # Description of the guest policy. Length of the description is limited to 1024
885
+ # characters.
651
886
  # Corresponds to the JSON property `description`
652
887
  # @return [String]
653
888
  attr_accessor :description
654
889
 
655
- # The etag for this guest policy.
656
- # If this is provided on update, it must match the server's etag.
890
+ # The etag for this guest policy. If this is provided on update, it must match
891
+ # the server's etag.
657
892
  # Corresponds to the JSON property `etag`
658
893
  # @return [String]
659
894
  attr_accessor :etag
660
895
 
661
896
  # Required. Unique name of the resource in this project using one of the
662
- # following
663
- # forms:
664
- # `projects/`project_number`/guestPolicies/`guest_policy_id``.
897
+ # following forms: `projects/`project_number`/guestPolicies/`guest_policy_id``.
665
898
  # Corresponds to the JSON property `name`
666
899
  # @return [String]
667
900
  attr_accessor :name
668
901
 
669
- # A list of package repositories to configure on the VM instance. This is
670
- # done before any other configs are applied so they can use these repos.
671
- # Package repositories are only configured if the corresponding package
672
- # manager(s) are available.
902
+ # A list of package repositories to configure on the VM instance. This is done
903
+ # before any other configs are applied so they can use these repos. Package
904
+ # repositories are only configured if the corresponding package manager(s) are
905
+ # available.
673
906
  # Corresponds to the JSON property `packageRepositories`
674
907
  # @return [Array<Google::Apis::OsconfigV1beta::PackageRepository>]
675
908
  attr_accessor :package_repositories
@@ -716,8 +949,7 @@ module Google
716
949
  # @return [Array<Google::Apis::OsconfigV1beta::GuestPolicy>]
717
950
  attr_accessor :guest_policies
718
951
 
719
- # A pagination token that can be used to get the next page
720
- # of guest policies.
952
+ # A pagination token that can be used to get the next page of guest policies.
721
953
  # Corresponds to the JSON property `nextPageToken`
722
954
  # @return [String]
723
955
  attr_accessor :next_page_token
@@ -737,8 +969,7 @@ module Google
737
969
  class ListPatchDeploymentsResponse
738
970
  include Google::Apis::Core::Hashable
739
971
 
740
- # A pagination token that can be used to get the next page of patch
741
- # deployments.
972
+ # A pagination token that can be used to get the next page of patch deployments.
742
973
  # Corresponds to the JSON property `nextPageToken`
743
974
  # @return [String]
744
975
  attr_accessor :next_page_token
@@ -814,23 +1045,20 @@ module Google
814
1045
  class LookupEffectiveGuestPolicyRequest
815
1046
  include Google::Apis::Core::Hashable
816
1047
 
817
- # Architecture of OS running on the instance. The OS Config agent only
818
- # provides this field for targeting if OS Inventory is enabled for that
819
- # instance.
1048
+ # Architecture of OS running on the instance. The OS Config agent only provides
1049
+ # this field for targeting if OS Inventory is enabled for that instance.
820
1050
  # Corresponds to the JSON property `osArchitecture`
821
1051
  # @return [String]
822
1052
  attr_accessor :os_architecture
823
1053
 
824
1054
  # Short name of the OS running on the instance. The OS Config agent only
825
- # provides this field for targeting if OS Inventory is enabled for that
826
- # instance.
1055
+ # provides this field for targeting if OS Inventory is enabled for that instance.
827
1056
  # Corresponds to the JSON property `osShortName`
828
1057
  # @return [String]
829
1058
  attr_accessor :os_short_name
830
1059
 
831
- # Version of the OS running on the instance. The OS Config agent only
832
- # provides this field for targeting if OS Inventory is enabled for that
833
- # VM instance.
1060
+ # Version of the OS running on the instance. The OS Config agent only provides
1061
+ # this field for targeting if OS Inventory is enabled for that VM instance.
834
1062
  # Corresponds to the JSON property `osVersion`
835
1063
  # @return [String]
836
1064
  attr_accessor :os_version
@@ -847,15 +1075,15 @@ module Google
847
1075
  end
848
1076
  end
849
1077
 
850
- # Represents a monthly schedule. An example of a valid monthly schedule is
851
- # "on the third Tuesday of the month" or "on the 15th of the month".
1078
+ # Represents a monthly schedule. An example of a valid monthly schedule is "on
1079
+ # the third Tuesday of the month" or "on the 15th of the month".
852
1080
  class MonthlySchedule
853
1081
  include Google::Apis::Core::Hashable
854
1082
 
855
1083
  # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
856
- # indicates the last day of the month.
857
- # Months without the target day will be skipped. For example, a schedule to
858
- # run "every month on the 31st" will not run in February, April, June, etc.
1084
+ # indicates the last day of the month. Months without the target day will be
1085
+ # skipped. For example, a schedule to run "every month on the 31st" will not run
1086
+ # in February, April, June, etc.
859
1087
  # Corresponds to the JSON property `monthDay`
860
1088
  # @return [Fixnum]
861
1089
  attr_accessor :month_day
@@ -876,8 +1104,8 @@ module Google
876
1104
  end
877
1105
  end
878
1106
 
879
- # Sets the time for a one time patch deployment. Timestamp is in
880
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1107
+ # Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
1108
+ # //www.ietf.org/rfc/rfc3339.txt) text format.
881
1109
  class OneTimeSchedule
882
1110
  include Google::Apis::Core::Hashable
883
1111
 
@@ -896,47 +1124,37 @@ module Google
896
1124
  end
897
1125
  end
898
1126
 
899
- # Package is a reference to the software package to be installed or removed.
900
- # The agent on the VM instance uses the system package manager to apply the
901
- # config.
902
- # These are the commands that the agent uses to install or remove
903
- # packages.
904
- # Apt
1127
+ # Package is a reference to the software package to be installed or removed. The
1128
+ # agent on the VM instance uses the system package manager to apply the config.
1129
+ # These are the commands that the agent uses to install or remove packages. Apt
905
1130
  # install: `apt-get update && apt-get -y install package1 package2 package3`
906
- # remove: `apt-get -y remove package1 package2 package3`
907
- # Yum
908
- # install: `yum -y install package1 package2 package3`
909
- # remove: `yum -y remove package1 package2 package3`
910
- # Zypper
911
- # install: `zypper install package1 package2 package3`
912
- # remove: `zypper rm package1 package2`
913
- # Googet
914
- # install: `googet -noconfirm install package1 package2 package3`
915
- # remove: `googet -noconfirm remove package1 package2 package3`
1131
+ # remove: `apt-get -y remove package1 package2 package3` Yum install: `yum -y
1132
+ # install package1 package2 package3` remove: `yum -y remove package1 package2
1133
+ # package3` Zypper install: `zypper install package1 package2 package3` remove: `
1134
+ # zypper rm package1 package2` Googet install: `googet -noconfirm install
1135
+ # package1 package2 package3` remove: `googet -noconfirm remove package1
1136
+ # package2 package3`
916
1137
  class Package
917
1138
  include Google::Apis::Core::Hashable
918
1139
 
919
- # The desired_state the agent should maintain for this package. The
920
- # default is to ensure the package is installed.
1140
+ # The desired_state the agent should maintain for this package. The default is
1141
+ # to ensure the package is installed.
921
1142
  # Corresponds to the JSON property `desiredState`
922
1143
  # @return [String]
923
1144
  attr_accessor :desired_state
924
1145
 
925
- # Type of package manager that can be used to install this package.
926
- # If a system does not have the package manager, the package is not
927
- # installed or removed no error message is returned. By default,
928
- # or if you specify `ANY`,
929
- # the agent attempts to install and remove this package using the default
930
- # package manager. This is useful when creating a policy that applies to
931
- # different types of systems.
932
- # The default behavior is ANY.
1146
+ # Type of package manager that can be used to install this package. If a system
1147
+ # does not have the package manager, the package is not installed or removed no
1148
+ # error message is returned. By default, or if you specify `ANY`, the agent
1149
+ # attempts to install and remove this package using the default package manager.
1150
+ # This is useful when creating a policy that applies to different types of
1151
+ # systems. The default behavior is ANY.
933
1152
  # Corresponds to the JSON property `manager`
934
1153
  # @return [String]
935
1154
  attr_accessor :manager
936
1155
 
937
1156
  # Required. The name of the package. A package is uniquely identified for
938
- # conflict
939
- # validation by checking the package name and the manager(s) that the
1157
+ # conflict validation by checking the package name and the manager(s) that the
940
1158
  # package targets.
941
1159
  # Corresponds to the JSON property `name`
942
1160
  # @return [String]
@@ -958,21 +1176,20 @@ module Google
958
1176
  class PackageRepository
959
1177
  include Google::Apis::Core::Hashable
960
1178
 
961
- # Represents a single Apt package repository. This repository is added to
962
- # a repo file that is stored at
963
- # `/etc/apt/sources.list.d/google_osconfig.list`.
1179
+ # Represents a single Apt package repository. This repository is added to a repo
1180
+ # file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`.
964
1181
  # Corresponds to the JSON property `apt`
965
1182
  # @return [Google::Apis::OsconfigV1beta::AptRepository]
966
1183
  attr_accessor :apt
967
1184
 
968
- # Represents a Goo package repository. These is added to a repo file
969
- # that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
1185
+ # Represents a Goo package repository. These is added to a repo file that is
1186
+ # stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
970
1187
  # Corresponds to the JSON property `goo`
971
1188
  # @return [Google::Apis::OsconfigV1beta::GooRepository]
972
1189
  attr_accessor :goo
973
1190
 
974
- # Represents a single Yum package repository. This repository is added to a
975
- # repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
1191
+ # Represents a single Yum package repository. This repository is added to a repo
1192
+ # file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
976
1193
  # Corresponds to the JSON property `yum`
977
1194
  # @return [Google::Apis::OsconfigV1beta::YumRepository]
978
1195
  attr_accessor :yum
@@ -996,13 +1213,249 @@ module Google
996
1213
  end
997
1214
  end
998
1215
 
999
- # Patch configuration specifications. Contains details on how to apply the
1000
- # patch(es) to a VM instance.
1216
+ # A resource that manages a system package.
1217
+ class PackageResource
1218
+ include Google::Apis::Core::Hashable
1219
+
1220
+ # A package managed by APT. install: `apt-get update && apt-get -y install [name]
1221
+ # ` remove: `apt-get -y remove [name]`
1222
+ # Corresponds to the JSON property `apt`
1223
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceApt]
1224
+ attr_accessor :apt
1225
+
1226
+ # A deb package file. dpkg packages only support INSTALLED state.
1227
+ # Corresponds to the JSON property `deb`
1228
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceDeb]
1229
+ attr_accessor :deb
1230
+
1231
+ # The desired_state the agent should maintain for this package. The default is
1232
+ # to ensure the package is installed.
1233
+ # Corresponds to the JSON property `desiredState`
1234
+ # @return [String]
1235
+ attr_accessor :desired_state
1236
+
1237
+ # A package managed by GooGet. install: `googet -noconfirm install package`
1238
+ # remove: `googet -noconfirm remove package`
1239
+ # Corresponds to the JSON property `googet`
1240
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceGooGet]
1241
+ attr_accessor :googet
1242
+
1243
+ # An MSI package. MSI packages only support INSTALLED state. Install msiexec /i /
1244
+ # qn /norestart
1245
+ # Corresponds to the JSON property `msi`
1246
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceMsi]
1247
+ attr_accessor :msi
1248
+
1249
+ # An RPM package file. RPM packages only support INSTALLED state.
1250
+ # Corresponds to the JSON property `rpm`
1251
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceRpm]
1252
+ attr_accessor :rpm
1253
+
1254
+ # A package managed by YUM. install: `yum -y install package` remove: `yum -y
1255
+ # remove package`
1256
+ # Corresponds to the JSON property `yum`
1257
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceYum]
1258
+ attr_accessor :yum
1259
+
1260
+ # A package managed by Zypper. install: `zypper -y install package` remove: `
1261
+ # zypper -y rm package`
1262
+ # Corresponds to the JSON property `zypper`
1263
+ # @return [Google::Apis::OsconfigV1beta::PackageResourceZypper]
1264
+ attr_accessor :zypper
1265
+
1266
+ def initialize(**args)
1267
+ update!(**args)
1268
+ end
1269
+
1270
+ # Update properties of this object
1271
+ def update!(**args)
1272
+ @apt = args[:apt] if args.key?(:apt)
1273
+ @deb = args[:deb] if args.key?(:deb)
1274
+ @desired_state = args[:desired_state] if args.key?(:desired_state)
1275
+ @googet = args[:googet] if args.key?(:googet)
1276
+ @msi = args[:msi] if args.key?(:msi)
1277
+ @rpm = args[:rpm] if args.key?(:rpm)
1278
+ @yum = args[:yum] if args.key?(:yum)
1279
+ @zypper = args[:zypper] if args.key?(:zypper)
1280
+ end
1281
+ end
1282
+
1283
+ # A package managed by APT. install: `apt-get update && apt-get -y install [name]
1284
+ # ` remove: `apt-get -y remove [name]`
1285
+ class PackageResourceApt
1286
+ include Google::Apis::Core::Hashable
1287
+
1288
+ # Package name.
1289
+ # Corresponds to the JSON property `name`
1290
+ # @return [String]
1291
+ attr_accessor :name
1292
+
1293
+ def initialize(**args)
1294
+ update!(**args)
1295
+ end
1296
+
1297
+ # Update properties of this object
1298
+ def update!(**args)
1299
+ @name = args[:name] if args.key?(:name)
1300
+ end
1301
+ end
1302
+
1303
+ # A deb package file. dpkg packages only support INSTALLED state.
1304
+ class PackageResourceDeb
1305
+ include Google::Apis::Core::Hashable
1306
+
1307
+ # Whether dependencies should also be installed. install when false: `dpkg -i
1308
+ # package` install when true: `apt-get update && apt-get -y install package.deb`
1309
+ # Corresponds to the JSON property `pullDeps`
1310
+ # @return [Boolean]
1311
+ attr_accessor :pull_deps
1312
+ alias_method :pull_deps?, :pull_deps
1313
+
1314
+ # A remote or local file.
1315
+ # Corresponds to the JSON property `source`
1316
+ # @return [Google::Apis::OsconfigV1beta::File]
1317
+ attr_accessor :source
1318
+
1319
+ def initialize(**args)
1320
+ update!(**args)
1321
+ end
1322
+
1323
+ # Update properties of this object
1324
+ def update!(**args)
1325
+ @pull_deps = args[:pull_deps] if args.key?(:pull_deps)
1326
+ @source = args[:source] if args.key?(:source)
1327
+ end
1328
+ end
1329
+
1330
+ # A package managed by GooGet. install: `googet -noconfirm install package`
1331
+ # remove: `googet -noconfirm remove package`
1332
+ class PackageResourceGooGet
1333
+ include Google::Apis::Core::Hashable
1334
+
1335
+ # Package name.
1336
+ # Corresponds to the JSON property `name`
1337
+ # @return [String]
1338
+ attr_accessor :name
1339
+
1340
+ def initialize(**args)
1341
+ update!(**args)
1342
+ end
1343
+
1344
+ # Update properties of this object
1345
+ def update!(**args)
1346
+ @name = args[:name] if args.key?(:name)
1347
+ end
1348
+ end
1349
+
1350
+ # An MSI package. MSI packages only support INSTALLED state. Install msiexec /i /
1351
+ # qn /norestart
1352
+ class PackageResourceMsi
1353
+ include Google::Apis::Core::Hashable
1354
+
1355
+ # Return codes that indicate that the software installed or updated successfully.
1356
+ # Behaviour defaults to [0]
1357
+ # Corresponds to the JSON property `allowedSuccessCodes`
1358
+ # @return [Array<Fixnum>]
1359
+ attr_accessor :allowed_success_codes
1360
+
1361
+ # Flags to use during package install. Appended to the defalts of "/i /qn /
1362
+ # norestart"
1363
+ # Corresponds to the JSON property `flags`
1364
+ # @return [Array<String>]
1365
+ attr_accessor :flags
1366
+
1367
+ # A remote or local file.
1368
+ # Corresponds to the JSON property `source`
1369
+ # @return [Google::Apis::OsconfigV1beta::File]
1370
+ attr_accessor :source
1371
+
1372
+ def initialize(**args)
1373
+ update!(**args)
1374
+ end
1375
+
1376
+ # Update properties of this object
1377
+ def update!(**args)
1378
+ @allowed_success_codes = args[:allowed_success_codes] if args.key?(:allowed_success_codes)
1379
+ @flags = args[:flags] if args.key?(:flags)
1380
+ @source = args[:source] if args.key?(:source)
1381
+ end
1382
+ end
1383
+
1384
+ # An RPM package file. RPM packages only support INSTALLED state.
1385
+ class PackageResourceRpm
1386
+ include Google::Apis::Core::Hashable
1387
+
1388
+ # Whether dependencies should also be installed. install when false: `rpm --
1389
+ # upgrade --replacepkgs package.rpm` install when true: `yum -y install package.
1390
+ # rpm` or `zypper -y install package.rpm`
1391
+ # Corresponds to the JSON property `pullDeps`
1392
+ # @return [Boolean]
1393
+ attr_accessor :pull_deps
1394
+ alias_method :pull_deps?, :pull_deps
1395
+
1396
+ # A remote or local file.
1397
+ # Corresponds to the JSON property `source`
1398
+ # @return [Google::Apis::OsconfigV1beta::File]
1399
+ attr_accessor :source
1400
+
1401
+ def initialize(**args)
1402
+ update!(**args)
1403
+ end
1404
+
1405
+ # Update properties of this object
1406
+ def update!(**args)
1407
+ @pull_deps = args[:pull_deps] if args.key?(:pull_deps)
1408
+ @source = args[:source] if args.key?(:source)
1409
+ end
1410
+ end
1411
+
1412
+ # A package managed by YUM. install: `yum -y install package` remove: `yum -y
1413
+ # remove package`
1414
+ class PackageResourceYum
1415
+ include Google::Apis::Core::Hashable
1416
+
1417
+ # Package name.
1418
+ # Corresponds to the JSON property `name`
1419
+ # @return [String]
1420
+ attr_accessor :name
1421
+
1422
+ def initialize(**args)
1423
+ update!(**args)
1424
+ end
1425
+
1426
+ # Update properties of this object
1427
+ def update!(**args)
1428
+ @name = args[:name] if args.key?(:name)
1429
+ end
1430
+ end
1431
+
1432
+ # A package managed by Zypper. install: `zypper -y install package` remove: `
1433
+ # zypper -y rm package`
1434
+ class PackageResourceZypper
1435
+ include Google::Apis::Core::Hashable
1436
+
1437
+ # Package name.
1438
+ # Corresponds to the JSON property `name`
1439
+ # @return [String]
1440
+ attr_accessor :name
1441
+
1442
+ def initialize(**args)
1443
+ update!(**args)
1444
+ end
1445
+
1446
+ # Update properties of this object
1447
+ def update!(**args)
1448
+ @name = args[:name] if args.key?(:name)
1449
+ end
1450
+ end
1451
+
1452
+ # Patch configuration specifications. Contains details on how to apply the patch(
1453
+ # es) to a VM instance.
1001
1454
  class PatchConfig
1002
1455
  include Google::Apis::Core::Hashable
1003
1456
 
1004
- # Apt patching is completed by executing `apt-get update && apt-get
1005
- # upgrade`. Additional options can be set to control how this is executed.
1457
+ # Apt patching is completed by executing `apt-get update && apt-get upgrade`.
1458
+ # Additional options can be set to control how this is executed.
1006
1459
  # Corresponds to the JSON property `apt`
1007
1460
  # @return [Google::Apis::OsconfigV1beta::AptSettings]
1008
1461
  attr_accessor :apt
@@ -1032,15 +1485,15 @@ module Google
1032
1485
  # @return [Google::Apis::OsconfigV1beta::WindowsUpdateSettings]
1033
1486
  attr_accessor :windows_update
1034
1487
 
1035
- # Yum patching is performed by executing `yum update`. Additional options
1036
- # can be set to control how this is executed.
1037
- # Note that not all settings are supported on all platforms.
1488
+ # Yum patching is performed by executing `yum update`. Additional options can be
1489
+ # set to control how this is executed. Note that not all settings are supported
1490
+ # on all platforms.
1038
1491
  # Corresponds to the JSON property `yum`
1039
1492
  # @return [Google::Apis::OsconfigV1beta::YumSettings]
1040
1493
  attr_accessor :yum
1041
1494
 
1042
- # Zypper patching is performed by running `zypper patch`.
1043
- # See also https://en.opensuse.org/SDB:Zypper_manual.
1495
+ # Zypper patching is performed by running `zypper patch`. See also https://en.
1496
+ # opensuse.org/SDB:Zypper_manual.
1044
1497
  # Corresponds to the JSON property `zypper`
1045
1498
  # @return [Google::Apis::OsconfigV1beta::ZypperSettings]
1046
1499
  attr_accessor :zypper
@@ -1065,21 +1518,19 @@ module Google
1065
1518
  # Patch deployments are configurations that individual patch jobs use to
1066
1519
  # complete a patch. These configurations include instance filter, package
1067
1520
  # repository settings, and a schedule. For more information about creating and
1068
- # managing patch deployments, see [Scheduling patch
1069
- # jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-
1070
- # jobs).
1521
+ # managing patch deployments, see [Scheduling patch jobs](https://cloud.google.
1522
+ # com/compute/docs/os-patch-management/schedule-patch-jobs).
1071
1523
  class PatchDeployment
1072
1524
  include Google::Apis::Core::Hashable
1073
1525
 
1074
- # Output only. Time the patch deployment was created. Timestamp is in
1075
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1526
+ # Output only. Time the patch deployment was created. Timestamp is in [RFC3339](
1527
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
1076
1528
  # Corresponds to the JSON property `createTime`
1077
1529
  # @return [String]
1078
1530
  attr_accessor :create_time
1079
1531
 
1080
1532
  # Optional. Description of the patch deployment. Length of the description is
1081
- # limited
1082
- # to 1024 characters.
1533
+ # limited to 1024 characters.
1083
1534
  # Corresponds to the JSON property `description`
1084
1535
  # @return [String]
1085
1536
  attr_accessor :description
@@ -1089,37 +1540,35 @@ module Google
1089
1540
  # @return [String]
1090
1541
  attr_accessor :duration
1091
1542
 
1092
- # A filter to target VM instances for patching. The targeted
1093
- # VMs must meet all criteria specified. So if both labels and zones are
1094
- # specified, the patch job targets only VMs with those labels and in those
1095
- # zones.
1543
+ # A filter to target VM instances for patching. The targeted VMs must meet all
1544
+ # criteria specified. So if both labels and zones are specified, the patch job
1545
+ # targets only VMs with those labels and in those zones.
1096
1546
  # Corresponds to the JSON property `instanceFilter`
1097
1547
  # @return [Google::Apis::OsconfigV1beta::PatchInstanceFilter]
1098
1548
  attr_accessor :instance_filter
1099
1549
 
1100
1550
  # Output only. The last time a patch job was started by this deployment.
1101
- # Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
1102
- # format.
1551
+ # Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1103
1552
  # Corresponds to the JSON property `lastExecuteTime`
1104
1553
  # @return [String]
1105
1554
  attr_accessor :last_execute_time
1106
1555
 
1107
1556
  # Unique name for the patch deployment resource in a project. The patch
1108
- # deployment name is in the form:
1109
- # `projects/`project_id`/patchDeployments/`patch_deployment_id``.
1110
- # This field is ignored when you create a new patch deployment.
1557
+ # deployment name is in the form: `projects/`project_id`/patchDeployments/`
1558
+ # patch_deployment_id``. This field is ignored when you create a new patch
1559
+ # deployment.
1111
1560
  # Corresponds to the JSON property `name`
1112
1561
  # @return [String]
1113
1562
  attr_accessor :name
1114
1563
 
1115
- # Sets the time for a one time patch deployment. Timestamp is in
1116
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1564
+ # Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
1565
+ # //www.ietf.org/rfc/rfc3339.txt) text format.
1117
1566
  # Corresponds to the JSON property `oneTimeSchedule`
1118
1567
  # @return [Google::Apis::OsconfigV1beta::OneTimeSchedule]
1119
1568
  attr_accessor :one_time_schedule
1120
1569
 
1121
- # Patch configuration specifications. Contains details on how to apply the
1122
- # patch(es) to a VM instance.
1570
+ # Patch configuration specifications. Contains details on how to apply the patch(
1571
+ # es) to a VM instance.
1123
1572
  # Corresponds to the JSON property `patchConfig`
1124
1573
  # @return [Google::Apis::OsconfigV1beta::PatchConfig]
1125
1574
  attr_accessor :patch_config
@@ -1135,8 +1584,8 @@ module Google
1135
1584
  # @return [Google::Apis::OsconfigV1beta::PatchRollout]
1136
1585
  attr_accessor :rollout
1137
1586
 
1138
- # Output only. Time the patch deployment was last updated. Timestamp is in
1139
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1587
+ # Output only. Time the patch deployment was last updated. Timestamp is in [
1588
+ # RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1140
1589
  # Corresponds to the JSON property `updateTime`
1141
1590
  # @return [String]
1142
1591
  attr_accessor :update_time
@@ -1161,10 +1610,9 @@ module Google
1161
1610
  end
1162
1611
  end
1163
1612
 
1164
- # A filter to target VM instances for patching. The targeted
1165
- # VMs must meet all criteria specified. So if both labels and zones are
1166
- # specified, the patch job targets only VMs with those labels and in those
1167
- # zones.
1613
+ # A filter to target VM instances for patching. The targeted VMs must meet all
1614
+ # criteria specified. So if both labels and zones are specified, the patch job
1615
+ # targets only VMs with those labels and in those zones.
1168
1616
  class PatchInstanceFilter
1169
1617
  include Google::Apis::Core::Hashable
1170
1618
 
@@ -1181,24 +1629,24 @@ module Google
1181
1629
  # @return [Array<Google::Apis::OsconfigV1beta::PatchInstanceFilterGroupLabel>]
1182
1630
  attr_accessor :group_labels
1183
1631
 
1184
- # Targets VMs whose name starts with one of these prefixes. Similar to
1185
- # labels, this is another way to group VMs when targeting configs, for
1186
- # example prefix="prod-".
1632
+ # Targets VMs whose name starts with one of these prefixes. Similar to labels,
1633
+ # this is another way to group VMs when targeting configs, for example prefix="
1634
+ # prod-".
1187
1635
  # Corresponds to the JSON property `instanceNamePrefixes`
1188
1636
  # @return [Array<String>]
1189
1637
  attr_accessor :instance_name_prefixes
1190
1638
 
1191
1639
  # Targets any of the VM instances specified. Instances are specified by their
1192
- # URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
1193
- # `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or
1194
- # `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/
1195
- # instances/[INSTANCE_NAME]`
1640
+ # URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[
1641
+ # PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.
1642
+ # googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[
1643
+ # INSTANCE_NAME]`
1196
1644
  # Corresponds to the JSON property `instances`
1197
1645
  # @return [Array<String>]
1198
1646
  attr_accessor :instances
1199
1647
 
1200
- # Targets VM instances in ANY of these zones. Leave empty to target VM
1201
- # instances in any zone.
1648
+ # Targets VM instances in ANY of these zones. Leave empty to target VM instances
1649
+ # in any zone.
1202
1650
  # Corresponds to the JSON property `zones`
1203
1651
  # @return [Array<String>]
1204
1652
  attr_accessor :zones
@@ -1217,13 +1665,13 @@ module Google
1217
1665
  end
1218
1666
  end
1219
1667
 
1220
- # Represents a group of VMs that can be identified as having all these
1221
- # labels, for example "env=prod and app=web".
1668
+ # Represents a group of VMs that can be identified as having all these labels,
1669
+ # for example "env=prod and app=web".
1222
1670
  class PatchInstanceFilterGroupLabel
1223
1671
  include Google::Apis::Core::Hashable
1224
1672
 
1225
- # Compute Engine instance labels that must be present for a VM instance to
1226
- # be targeted by this filter.
1673
+ # Compute Engine instance labels that must be present for a VM instance to be
1674
+ # targeted by this filter.
1227
1675
  # Corresponds to the JSON property `labels`
1228
1676
  # @return [Hash<String,String>]
1229
1677
  attr_accessor :labels
@@ -1238,14 +1686,11 @@ module Google
1238
1686
  end
1239
1687
  end
1240
1688
 
1241
- # A high level representation of a patch job that is either in progress
1242
- # or has completed.
1243
- # Instance details are not included in the job. To paginate through instance
1244
- # details, use `ListPatchJobInstanceDetails`.
1245
- # For more information about patch jobs, see
1246
- # [Creating patch
1247
- # jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-
1248
- # job).
1689
+ # A high level representation of a patch job that is either in progress or has
1690
+ # completed. Instance details are not included in the job. To paginate through
1691
+ # instance details, use `ListPatchJobInstanceDetails`. For more information
1692
+ # about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/
1693
+ # docs/os-patch-management/create-patch-job).
1249
1694
  class PatchJob
1250
1695
  include Google::Apis::Core::Hashable
1251
1696
 
@@ -1254,8 +1699,8 @@ module Google
1254
1699
  # @return [String]
1255
1700
  attr_accessor :create_time
1256
1701
 
1257
- # Description of the patch job. Length of the description is limited
1258
- # to 1024 characters.
1702
+ # Description of the patch job. Length of the description is limited to 1024
1703
+ # characters.
1259
1704
  # Corresponds to the JSON property `description`
1260
1705
  # @return [String]
1261
1706
  attr_accessor :description
@@ -1265,49 +1710,45 @@ module Google
1265
1710
  # @return [String]
1266
1711
  attr_accessor :display_name
1267
1712
 
1268
- # If this patch job is a dry run, the agent reports that it has
1269
- # finished without running any updates on the VM instance.
1713
+ # If this patch job is a dry run, the agent reports that it has finished without
1714
+ # running any updates on the VM instance.
1270
1715
  # Corresponds to the JSON property `dryRun`
1271
1716
  # @return [Boolean]
1272
1717
  attr_accessor :dry_run
1273
1718
  alias_method :dry_run?, :dry_run
1274
1719
 
1275
- # Duration of the patch job. After the duration ends, the
1276
- # patch job times out.
1720
+ # Duration of the patch job. After the duration ends, the patch job times out.
1277
1721
  # Corresponds to the JSON property `duration`
1278
1722
  # @return [String]
1279
1723
  attr_accessor :duration
1280
1724
 
1281
- # If this patch job failed, this message provides information about the
1282
- # failure.
1725
+ # If this patch job failed, this message provides information about the failure.
1283
1726
  # Corresponds to the JSON property `errorMessage`
1284
1727
  # @return [String]
1285
1728
  attr_accessor :error_message
1286
1729
 
1287
- # A summary of the current patch state across all instances that this patch
1288
- # job affects. Contains counts of instances in different states. These states
1289
- # map to `InstancePatchState`. List patch job instance details to see the
1290
- # specific states of each instance.
1730
+ # A summary of the current patch state across all instances that this patch job
1731
+ # affects. Contains counts of instances in different states. These states map to
1732
+ # `InstancePatchState`. List patch job instance details to see the specific
1733
+ # states of each instance.
1291
1734
  # Corresponds to the JSON property `instanceDetailsSummary`
1292
1735
  # @return [Google::Apis::OsconfigV1beta::PatchJobInstanceDetailsSummary]
1293
1736
  attr_accessor :instance_details_summary
1294
1737
 
1295
- # A filter to target VM instances for patching. The targeted
1296
- # VMs must meet all criteria specified. So if both labels and zones are
1297
- # specified, the patch job targets only VMs with those labels and in those
1298
- # zones.
1738
+ # A filter to target VM instances for patching. The targeted VMs must meet all
1739
+ # criteria specified. So if both labels and zones are specified, the patch job
1740
+ # targets only VMs with those labels and in those zones.
1299
1741
  # Corresponds to the JSON property `instanceFilter`
1300
1742
  # @return [Google::Apis::OsconfigV1beta::PatchInstanceFilter]
1301
1743
  attr_accessor :instance_filter
1302
1744
 
1303
- # Unique identifier for this patch job in the form
1304
- # `projects/*/patchJobs/*`
1745
+ # Unique identifier for this patch job in the form `projects/*/patchJobs/*`
1305
1746
  # Corresponds to the JSON property `name`
1306
1747
  # @return [String]
1307
1748
  attr_accessor :name
1308
1749
 
1309
- # Patch configuration specifications. Contains details on how to apply the
1310
- # patch(es) to a VM instance.
1750
+ # Patch configuration specifications. Contains details on how to apply the patch(
1751
+ # es) to a VM instance.
1311
1752
  # Corresponds to the JSON property `patchConfig`
1312
1753
  # @return [Google::Apis::OsconfigV1beta::PatchConfig]
1313
1754
  attr_accessor :patch_config
@@ -1317,8 +1758,8 @@ module Google
1317
1758
  # @return [String]
1318
1759
  attr_accessor :patch_deployment
1319
1760
 
1320
- # Reflects the overall progress of the patch job in the range of
1321
- # 0.0 being no progress to 100.0 being complete.
1761
+ # Reflects the overall progress of the patch job in the range of 0.0 being no
1762
+ # progress to 100.0 being complete.
1322
1763
  # Corresponds to the JSON property `percentComplete`
1323
1764
  # @return [Float]
1324
1765
  attr_accessor :percent_complete
@@ -1364,8 +1805,7 @@ module Google
1364
1805
  end
1365
1806
 
1366
1807
  # Patch details for a VM instance. For more information about reviewing VM
1367
- # instance details, see
1368
- # [Listing all VM instance details for a specific patch
1808
+ # instance details, see [Listing all VM instance details for a specific patch
1369
1809
  # job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-
1370
1810
  # jobs#list-instance-details).
1371
1811
  class PatchJobInstanceDetails
@@ -1381,8 +1821,8 @@ module Google
1381
1821
  # @return [String]
1382
1822
  attr_accessor :failure_reason
1383
1823
 
1384
- # The unique identifier for the instance. This identifier is
1385
- # defined by the server.
1824
+ # The unique identifier for the instance. This identifier is defined by the
1825
+ # server.
1386
1826
  # Corresponds to the JSON property `instanceSystemId`
1387
1827
  # @return [String]
1388
1828
  attr_accessor :instance_system_id
@@ -1411,10 +1851,10 @@ module Google
1411
1851
  end
1412
1852
  end
1413
1853
 
1414
- # A summary of the current patch state across all instances that this patch
1415
- # job affects. Contains counts of instances in different states. These states
1416
- # map to `InstancePatchState`. List patch job instance details to see the
1417
- # specific states of each instance.
1854
+ # A summary of the current patch state across all instances that this patch job
1855
+ # affects. Contains counts of instances in different states. These states map to
1856
+ # `InstancePatchState`. List patch job instance details to see the specific
1857
+ # states of each instance.
1418
1858
  class PatchJobInstanceDetailsSummary
1419
1859
  include Google::Apis::Core::Hashable
1420
1860
 
@@ -1444,8 +1884,8 @@ module Google
1444
1884
  attr_accessor :inactive_instance_count
1445
1885
 
1446
1886
  # Number of instances that do not appear to be running the agent. Check to
1447
- # ensure that the agent is installed, running, and able to communicate with
1448
- # the service.
1887
+ # ensure that the agent is installed, running, and able to communicate with the
1888
+ # service.
1449
1889
  # Corresponds to the JSON property `noAgentDetectedInstanceCount`
1450
1890
  # @return [Fixnum]
1451
1891
  attr_accessor :no_agent_detected_instance_count
@@ -1551,8 +1991,7 @@ module Google
1551
1991
  include Google::Apis::Core::Hashable
1552
1992
 
1553
1993
  # Optional. The end time at which a recurring patch deployment schedule is no
1554
- # longer
1555
- # active.
1994
+ # longer active.
1556
1995
  # Corresponds to the JSON property `endTime`
1557
1996
  # @return [String]
1558
1997
  attr_accessor :end_time
@@ -1567,8 +2006,8 @@ module Google
1567
2006
  # @return [String]
1568
2007
  attr_accessor :last_execute_time
1569
2008
 
1570
- # Represents a monthly schedule. An example of a valid monthly schedule is
1571
- # "on the third Tuesday of the month" or "on the 15th of the month".
2009
+ # Represents a monthly schedule. An example of a valid monthly schedule is "on
2010
+ # the third Tuesday of the month" or "on the 15th of the month".
1572
2011
  # Corresponds to the JSON property `monthly`
1573
2012
  # @return [Google::Apis::OsconfigV1beta::MonthlySchedule]
1574
2013
  attr_accessor :monthly
@@ -1578,21 +2017,21 @@ module Google
1578
2017
  # @return [String]
1579
2018
  attr_accessor :next_execute_time
1580
2019
 
1581
- # Optional. The time that the recurring schedule becomes effective.
1582
- # Defaults to `create_time` of the patch deployment.
2020
+ # Optional. The time that the recurring schedule becomes effective. Defaults to `
2021
+ # create_time` of the patch deployment.
1583
2022
  # Corresponds to the JSON property `startTime`
1584
2023
  # @return [String]
1585
2024
  attr_accessor :start_time
1586
2025
 
1587
- # Represents a time of day. The date and time zone are either not significant
1588
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
2026
+ # Represents a time of day. The date and time zone are either not significant or
2027
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1589
2028
  # types are google.type.Date and `google.protobuf.Timestamp`.
1590
2029
  # Corresponds to the JSON property `timeOfDay`
1591
2030
  # @return [Google::Apis::OsconfigV1beta::TimeOfDay]
1592
2031
  attr_accessor :time_of_day
1593
2032
 
1594
- # Represents a time zone from the
1595
- # [IANA Time Zone Database](https://www.iana.org/time-zones).
2033
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
2034
+ # time-zones).
1596
2035
  # Corresponds to the JSON property `timeZone`
1597
2036
  # @return [Google::Apis::OsconfigV1beta::TimeZone]
1598
2037
  attr_accessor :time_zone
@@ -1620,23 +2059,224 @@ module Google
1620
2059
  end
1621
2060
  end
1622
2061
 
2062
+ # A resource that manages a package repository.
2063
+ class RepositoryResource
2064
+ include Google::Apis::Core::Hashable
2065
+
2066
+ # Represents a single apt package repository. These will be added to a repo file
2067
+ # that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
2068
+ # Corresponds to the JSON property `apt`
2069
+ # @return [Google::Apis::OsconfigV1beta::RepositoryResourceAptRepository]
2070
+ attr_accessor :apt
2071
+
2072
+ # Represents a Goo package repository. These will be added to a repo file that
2073
+ # will be managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
2074
+ # Corresponds to the JSON property `goo`
2075
+ # @return [Google::Apis::OsconfigV1beta::RepositoryResourceGooRepository]
2076
+ attr_accessor :goo
2077
+
2078
+ # Represents a single yum package repository. These will be added to a repo file
2079
+ # that will be managed at /etc/yum.repos.d/google_osconfig.repo.
2080
+ # Corresponds to the JSON property `yum`
2081
+ # @return [Google::Apis::OsconfigV1beta::RepositoryResourceYumRepository]
2082
+ attr_accessor :yum
2083
+
2084
+ # Represents a single zypper package repository. These will be added to a repo
2085
+ # file that will be managed at /etc/zypp/repos.d/google_osconfig.repo.
2086
+ # Corresponds to the JSON property `zypper`
2087
+ # @return [Google::Apis::OsconfigV1beta::RepositoryResourceZypperRepository]
2088
+ attr_accessor :zypper
2089
+
2090
+ def initialize(**args)
2091
+ update!(**args)
2092
+ end
2093
+
2094
+ # Update properties of this object
2095
+ def update!(**args)
2096
+ @apt = args[:apt] if args.key?(:apt)
2097
+ @goo = args[:goo] if args.key?(:goo)
2098
+ @yum = args[:yum] if args.key?(:yum)
2099
+ @zypper = args[:zypper] if args.key?(:zypper)
2100
+ end
2101
+ end
2102
+
2103
+ # Represents a single apt package repository. These will be added to a repo file
2104
+ # that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
2105
+ class RepositoryResourceAptRepository
2106
+ include Google::Apis::Core::Hashable
2107
+
2108
+ # Type of archive files in this repository. The default behavior is DEB.
2109
+ # Corresponds to the JSON property `archiveType`
2110
+ # @return [String]
2111
+ attr_accessor :archive_type
2112
+
2113
+ # List of components for this repository. Must contain at least one item.
2114
+ # Corresponds to the JSON property `components`
2115
+ # @return [Array<String>]
2116
+ attr_accessor :components
2117
+
2118
+ # Distribution of this repository.
2119
+ # Corresponds to the JSON property `distribution`
2120
+ # @return [String]
2121
+ attr_accessor :distribution
2122
+
2123
+ # URI of the key file for this repository. The agent will maintain a keyring at /
2124
+ # etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg.
2125
+ # Corresponds to the JSON property `gpgKey`
2126
+ # @return [String]
2127
+ attr_accessor :gpg_key
2128
+
2129
+ # URI for this repository.
2130
+ # Corresponds to the JSON property `uri`
2131
+ # @return [String]
2132
+ attr_accessor :uri
2133
+
2134
+ def initialize(**args)
2135
+ update!(**args)
2136
+ end
2137
+
2138
+ # Update properties of this object
2139
+ def update!(**args)
2140
+ @archive_type = args[:archive_type] if args.key?(:archive_type)
2141
+ @components = args[:components] if args.key?(:components)
2142
+ @distribution = args[:distribution] if args.key?(:distribution)
2143
+ @gpg_key = args[:gpg_key] if args.key?(:gpg_key)
2144
+ @uri = args[:uri] if args.key?(:uri)
2145
+ end
2146
+ end
2147
+
2148
+ # Represents a Goo package repository. These will be added to a repo file that
2149
+ # will be managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
2150
+ class RepositoryResourceGooRepository
2151
+ include Google::Apis::Core::Hashable
2152
+
2153
+ # The name of the repository.
2154
+ # Corresponds to the JSON property `name`
2155
+ # @return [String]
2156
+ attr_accessor :name
2157
+
2158
+ # The url of the repository.
2159
+ # Corresponds to the JSON property `url`
2160
+ # @return [String]
2161
+ attr_accessor :url
2162
+
2163
+ def initialize(**args)
2164
+ update!(**args)
2165
+ end
2166
+
2167
+ # Update properties of this object
2168
+ def update!(**args)
2169
+ @name = args[:name] if args.key?(:name)
2170
+ @url = args[:url] if args.key?(:url)
2171
+ end
2172
+ end
2173
+
2174
+ # Represents a single yum package repository. These will be added to a repo file
2175
+ # that will be managed at /etc/yum.repos.d/google_osconfig.repo.
2176
+ class RepositoryResourceYumRepository
2177
+ include Google::Apis::Core::Hashable
2178
+
2179
+ # The location of the repository directory.
2180
+ # Corresponds to the JSON property `baseUrl`
2181
+ # @return [String]
2182
+ attr_accessor :base_url
2183
+
2184
+ # The display name of the repository.
2185
+ # Corresponds to the JSON property `displayName`
2186
+ # @return [String]
2187
+ attr_accessor :display_name
2188
+
2189
+ # URIs of GPG keys.
2190
+ # Corresponds to the JSON property `gpgKeys`
2191
+ # @return [Array<String>]
2192
+ attr_accessor :gpg_keys
2193
+
2194
+ # A one word, unique name for this repository. This will be the `repo id` in the
2195
+ # yum config file and also the `display_name` if `display_name` is omitted. This
2196
+ # id is also used as the unique identifier when checking for resource conflicts.
2197
+ # Corresponds to the JSON property `id`
2198
+ # @return [String]
2199
+ attr_accessor :id
2200
+
2201
+ def initialize(**args)
2202
+ update!(**args)
2203
+ end
2204
+
2205
+ # Update properties of this object
2206
+ def update!(**args)
2207
+ @base_url = args[:base_url] if args.key?(:base_url)
2208
+ @display_name = args[:display_name] if args.key?(:display_name)
2209
+ @gpg_keys = args[:gpg_keys] if args.key?(:gpg_keys)
2210
+ @id = args[:id] if args.key?(:id)
2211
+ end
2212
+ end
2213
+
2214
+ # Represents a single zypper package repository. These will be added to a repo
2215
+ # file that will be managed at /etc/zypp/repos.d/google_osconfig.repo.
2216
+ class RepositoryResourceZypperRepository
2217
+ include Google::Apis::Core::Hashable
2218
+
2219
+ # The location of the repository directory.
2220
+ # Corresponds to the JSON property `baseUrl`
2221
+ # @return [String]
2222
+ attr_accessor :base_url
2223
+
2224
+ # The display name of the repository.
2225
+ # Corresponds to the JSON property `displayName`
2226
+ # @return [String]
2227
+ attr_accessor :display_name
2228
+
2229
+ # URIs of GPG keys.
2230
+ # Corresponds to the JSON property `gpgKeys`
2231
+ # @return [Array<String>]
2232
+ attr_accessor :gpg_keys
2233
+
2234
+ # A one word, unique name for this repository. This will be the `repo id` in the
2235
+ # zypper config file and also the `display_name` if `display_name` is omitted.
2236
+ # This id is also used as the unique identifier when checking for GuestPolicy
2237
+ # conflicts.
2238
+ # Corresponds to the JSON property `id`
2239
+ # @return [String]
2240
+ attr_accessor :id
2241
+
2242
+ def initialize(**args)
2243
+ update!(**args)
2244
+ end
2245
+
2246
+ # Update properties of this object
2247
+ def update!(**args)
2248
+ @base_url = args[:base_url] if args.key?(:base_url)
2249
+ @display_name = args[:display_name] if args.key?(:display_name)
2250
+ @gpg_keys = args[:gpg_keys] if args.key?(:gpg_keys)
2251
+ @id = args[:id] if args.key?(:id)
2252
+ end
2253
+ end
2254
+
2255
+ # A resource that manages a system service.
2256
+ class ServiceResource
2257
+ include Google::Apis::Core::Hashable
2258
+
2259
+ def initialize(**args)
2260
+ update!(**args)
2261
+ end
2262
+
2263
+ # Update properties of this object
2264
+ def update!(**args)
2265
+ end
2266
+ end
2267
+
1623
2268
  # A software recipe is a set of instructions for installing and configuring a
1624
- # piece of software. It consists of a set of artifacts that are
1625
- # downloaded, and a set of steps that install, configure, and/or update the
1626
- # software.
1627
- # Recipes support installing and updating software from artifacts in the
1628
- # following formats:
1629
- # Zip archive, Tar archive, Windows MSI, Debian package, and RPM package.
1630
- # Additionally, recipes support executing a script (either defined in a file or
1631
- # directly in this api) in bash, sh, cmd, and powershell.
1632
- # Updating a software recipe
1633
- # If a recipe is assigned to an instance and there is a recipe with the same
1634
- # name but a lower version already installed and the assigned state
1635
- # of the recipe is `UPDATED`, then the recipe is updated to
1636
- # the new version.
1637
- # Script Working Directories
1638
- # Each script or execution step is run in its own temporary directory which
1639
- # is deleted after completing the step.
2269
+ # piece of software. It consists of a set of artifacts that are downloaded, and
2270
+ # a set of steps that install, configure, and/or update the software. Recipes
2271
+ # support installing and updating software from artifacts in the following
2272
+ # formats: Zip archive, Tar archive, Windows MSI, Debian package, and RPM
2273
+ # package. Additionally, recipes support executing a script (either defined in a
2274
+ # file or directly in this api) in bash, sh, cmd, and powershell. Updating a
2275
+ # software recipe If a recipe is assigned to an instance and there is a recipe
2276
+ # with the same name but a lower version already installed and the assigned
2277
+ # state of the recipe is `UPDATED`, then the recipe is updated to the new
2278
+ # version. Script Working Directories Each script or execution step is run in
2279
+ # its own temporary directory which is deleted after completing the step.
1640
2280
  class SoftwareRecipe
1641
2281
  include Google::Apis::Core::Hashable
1642
2282
 
@@ -1646,45 +2286,41 @@ module Google
1646
2286
  attr_accessor :artifacts
1647
2287
 
1648
2288
  # Default is INSTALLED. The desired state the agent should maintain for this
1649
- # recipe.
1650
- # INSTALLED: The software recipe is installed on the instance but
1651
- # won't be updated to new versions.
1652
- # UPDATED: The software recipe is installed on the instance. The recipe is
1653
- # updated to a higher version, if a higher version of the recipe is
1654
- # assigned to this instance.
1655
- # REMOVE: Remove is unsupported for software recipes and attempts to
1656
- # create or update a recipe to the REMOVE state is rejected.
2289
+ # recipe. INSTALLED: The software recipe is installed on the instance but won't
2290
+ # be updated to new versions. UPDATED: The software recipe is installed on the
2291
+ # instance. The recipe is updated to a higher version, if a higher version of
2292
+ # the recipe is assigned to this instance. REMOVE: Remove is unsupported for
2293
+ # software recipes and attempts to create or update a recipe to the REMOVE state
2294
+ # is rejected.
1657
2295
  # Corresponds to the JSON property `desiredState`
1658
2296
  # @return [String]
1659
2297
  attr_accessor :desired_state
1660
2298
 
1661
- # Actions to be taken for installing this recipe. On failure it stops
1662
- # executing steps and does not attempt another installation. Any steps taken
1663
- # (including partially completed steps) are not rolled back.
2299
+ # Actions to be taken for installing this recipe. On failure it stops executing
2300
+ # steps and does not attempt another installation. Any steps taken (including
2301
+ # partially completed steps) are not rolled back.
1664
2302
  # Corresponds to the JSON property `installSteps`
1665
2303
  # @return [Array<Google::Apis::OsconfigV1beta::SoftwareRecipeStep>]
1666
2304
  attr_accessor :install_steps
1667
2305
 
1668
2306
  # Required. Unique identifier for the recipe. Only one recipe with a given name
1669
- # is
1670
- # installed on an instance.
1671
- # Names are also used to identify resources which helps to determine whether
1672
- # guest policies have conflicts. This means that requests to create multiple
1673
- # recipes with the same name and version are rejected since they
1674
- # could potentially have conflicting assignments.
2307
+ # is installed on an instance. Names are also used to identify resources which
2308
+ # helps to determine whether guest policies have conflicts. This means that
2309
+ # requests to create multiple recipes with the same name and version are
2310
+ # rejected since they could potentially have conflicting assignments.
1675
2311
  # Corresponds to the JSON property `name`
1676
2312
  # @return [String]
1677
2313
  attr_accessor :name
1678
2314
 
1679
- # Actions to be taken for updating this recipe. On failure it stops
1680
- # executing steps and does not attempt another update for this recipe. Any
1681
- # steps taken (including partially completed steps) are not rolled back.
2315
+ # Actions to be taken for updating this recipe. On failure it stops executing
2316
+ # steps and does not attempt another update for this recipe. Any steps taken (
2317
+ # including partially completed steps) are not rolled back.
1682
2318
  # Corresponds to the JSON property `updateSteps`
1683
2319
  # @return [Array<Google::Apis::OsconfigV1beta::SoftwareRecipeStep>]
1684
2320
  attr_accessor :update_steps
1685
2321
 
1686
- # The version of this software recipe. Version can be up to 4 period
1687
- # separated numbers (e.g. 12.34.56.78).
2322
+ # The version of this software recipe. Version can be up to 4 period separated
2323
+ # numbers (e.g. 12.34.56.78).
1688
2324
  # Corresponds to the JSON property `version`
1689
2325
  # @return [String]
1690
2326
  attr_accessor :version
@@ -1708,11 +2344,10 @@ module Google
1708
2344
  class SoftwareRecipeArtifact
1709
2345
  include Google::Apis::Core::Hashable
1710
2346
 
1711
- # Defaults to false. When false, recipes are subject to validations
1712
- # based on the artifact type:
1713
- # Remote: A checksum must be specified, and only protocols with
1714
- # transport-layer security are permitted.
1715
- # GCS: An object generation number must be specified.
2347
+ # Defaults to false. When false, recipes are subject to validations based on the
2348
+ # artifact type: Remote: A checksum must be specified, and only protocols with
2349
+ # transport-layer security are permitted. GCS: An object generation number must
2350
+ # be specified.
1716
2351
  # Corresponds to the JSON property `allowInsecure`
1717
2352
  # @return [Boolean]
1718
2353
  attr_accessor :allow_insecure
@@ -1751,28 +2386,24 @@ module Google
1751
2386
  class SoftwareRecipeArtifactGcs
1752
2387
  include Google::Apis::Core::Hashable
1753
2388
 
1754
- # Bucket of the Google Cloud Storage object.
1755
- # Given an example URL:
1756
- # `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
1757
- # this value would be `my-bucket`.
2389
+ # Bucket of the Google Cloud Storage object. Given an example URL: `https://
2390
+ # storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my-
2391
+ # bucket`.
1758
2392
  # Corresponds to the JSON property `bucket`
1759
2393
  # @return [String]
1760
2394
  attr_accessor :bucket
1761
2395
 
1762
- # Must be provided if allow_insecure is false.
1763
- # Generation number of the Google Cloud Storage object.
1764
- # `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
1765
- # this value would be `1234567`.
2396
+ # Must be provided if allow_insecure is false. Generation number of the Google
2397
+ # Cloud Storage object. `https://storage.googleapis.com/my-bucket/foo/bar#
2398
+ # 1234567` this value would be `1234567`.
1766
2399
  # Corresponds to the JSON property `generation`
1767
2400
  # @return [Fixnum]
1768
2401
  attr_accessor :generation
1769
2402
 
1770
- # Name of the Google Cloud Storage object.
1771
- # As specified [here]
1772
- # (https://cloud.google.com/storage/docs/naming#objectnames)
1773
- # Given an example URL:
1774
- # `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
1775
- # this value would be `foo/bar`.
2403
+ # Name of the Google Cloud Storage object. As specified [here] (https://cloud.
2404
+ # google.com/storage/docs/naming#objectnames) Given an example URL: `https://
2405
+ # storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `foo/bar`
2406
+ # .
1776
2407
  # Corresponds to the JSON property `object`
1777
2408
  # @return [String]
1778
2409
  attr_accessor :object
@@ -1793,17 +2424,16 @@ module Google
1793
2424
  class SoftwareRecipeArtifactRemote
1794
2425
  include Google::Apis::Core::Hashable
1795
2426
 
1796
- # Must be provided if `allow_insecure` is `false`.
1797
- # SHA256 checksum in hex format, to compare to the checksum of the
1798
- # artifact. If the checksum is not empty and it doesn't match the
1799
- # artifact then the recipe installation fails before running any of the
1800
- # steps.
2427
+ # Must be provided if `allow_insecure` is `false`. SHA256 checksum in hex format,
2428
+ # to compare to the checksum of the artifact. If the checksum is not empty and
2429
+ # it doesn't match the artifact then the recipe installation fails before
2430
+ # running any of the steps.
1801
2431
  # Corresponds to the JSON property `checksum`
1802
2432
  # @return [String]
1803
2433
  attr_accessor :checksum
1804
2434
 
1805
- # URI from which to fetch the object. It should contain both the protocol
1806
- # and path following the format `protocol`://`location`.
2435
+ # URI from which to fetch the object. It should contain both the protocol and
2436
+ # path following the format `protocol`://`location`.
1807
2437
  # Corresponds to the JSON property `uri`
1808
2438
  # @return [String]
1809
2439
  attr_accessor :uri
@@ -1888,26 +2518,22 @@ module Google
1888
2518
  # @return [String]
1889
2519
  attr_accessor :destination
1890
2520
 
1891
- # Whether to allow this step to overwrite existing files. If this is
1892
- # false and the file already exists the file is not overwritten
1893
- # and the step is considered a success. Defaults to false.
2521
+ # Whether to allow this step to overwrite existing files. If this is false and
2522
+ # the file already exists the file is not overwritten and the step is considered
2523
+ # a success. Defaults to false.
1894
2524
  # Corresponds to the JSON property `overwrite`
1895
2525
  # @return [Boolean]
1896
2526
  attr_accessor :overwrite
1897
2527
  alias_method :overwrite?, :overwrite
1898
2528
 
1899
- # Consists of three octal digits which represent, in
1900
- # order, the permissions of the owner, group, and other users for the
1901
- # file (similarly to the numeric mode used in the linux chmod utility).
1902
- # Each digit represents a three bit number with the 4 bit
1903
- # corresponding to the read permissions, the 2 bit corresponds to the
1904
- # write bit, and the one bit corresponds to the execute permission.
1905
- # Default behavior is 755.
1906
- # Below are some examples of permissions and their associated values:
1907
- # read, write, and execute: 7
1908
- # read and execute: 5
1909
- # read and write: 6
1910
- # read only: 4
2529
+ # Consists of three octal digits which represent, in order, the permissions of
2530
+ # the owner, group, and other users for the file (similarly to the numeric mode
2531
+ # used in the linux chmod utility). Each digit represents a three bit number
2532
+ # with the 4 bit corresponding to the read permissions, the 2 bit corresponds to
2533
+ # the write bit, and the one bit corresponds to the execute permission. Default
2534
+ # behavior is 755. Below are some examples of permissions and their associated
2535
+ # values: read, write, and execute: 7 read and execute: 5 read and write: 6 read
2536
+ # only: 4
1911
2537
  # Corresponds to the JSON property `permissions`
1912
2538
  # @return [String]
1913
2539
  attr_accessor :permissions
@@ -1929,8 +2555,8 @@ module Google
1929
2555
  class SoftwareRecipeStepExecFile
1930
2556
  include Google::Apis::Core::Hashable
1931
2557
 
1932
- # Defaults to [0]. A list of possible return values that the program
1933
- # can return to indicate a success.
2558
+ # Defaults to [0]. A list of possible return values that the program can return
2559
+ # to indicate a success.
1934
2560
  # Corresponds to the JSON property `allowedExitCodes`
1935
2561
  # @return [Array<Fixnum>]
1936
2562
  attr_accessor :allowed_exit_codes
@@ -1972,8 +2598,7 @@ module Google
1972
2598
  # @return [String]
1973
2599
  attr_accessor :artifact_id
1974
2600
 
1975
- # Directory to extract archive to.
1976
- # Defaults to `/` on Linux or `C:\` on Windows.
2601
+ # Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
1977
2602
  # Corresponds to the JSON property `destination`
1978
2603
  # @return [String]
1979
2604
  attr_accessor :destination
@@ -2018,8 +2643,8 @@ module Google
2018
2643
  class SoftwareRecipeStepInstallMsi
2019
2644
  include Google::Apis::Core::Hashable
2020
2645
 
2021
- # Return codes that indicate that the software installed or updated
2022
- # successfully. Behaviour defaults to [0]
2646
+ # Return codes that indicate that the software installed or updated successfully.
2647
+ # Behaviour defaults to [0]
2023
2648
  # Corresponds to the JSON property `allowedExitCodes`
2024
2649
  # @return [Array<Fixnum>]
2025
2650
  attr_accessor :allowed_exit_codes
@@ -2029,8 +2654,8 @@ module Google
2029
2654
  # @return [String]
2030
2655
  attr_accessor :artifact_id
2031
2656
 
2032
- # The flags to use when installing the MSI
2033
- # defaults to ["/i"] (i.e. the install flag).
2657
+ # The flags to use when installing the MSI defaults to ["/i"] (i.e. the install
2658
+ # flag).
2034
2659
  # Corresponds to the JSON property `flags`
2035
2660
  # @return [Array<String>]
2036
2661
  attr_accessor :flags
@@ -2070,16 +2695,15 @@ module Google
2070
2695
  class SoftwareRecipeStepRunScript
2071
2696
  include Google::Apis::Core::Hashable
2072
2697
 
2073
- # Return codes that indicate that the software installed or updated
2074
- # successfully. Behaviour defaults to [0]
2698
+ # Return codes that indicate that the software installed or updated successfully.
2699
+ # Behaviour defaults to [0]
2075
2700
  # Corresponds to the JSON property `allowedExitCodes`
2076
2701
  # @return [Array<Fixnum>]
2077
2702
  attr_accessor :allowed_exit_codes
2078
2703
 
2079
2704
  # The script interpreter to use to run the script. If no interpreter is
2080
- # specified the script is executed directly, which likely
2081
- # only succeed for scripts with
2082
- # [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
2705
+ # specified the script is executed directly, which likely only succeed for
2706
+ # scripts with [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
2083
2707
  # Corresponds to the JSON property `interpreter`
2084
2708
  # @return [String]
2085
2709
  attr_accessor :interpreter
@@ -2101,14 +2725,14 @@ module Google
2101
2725
  end
2102
2726
  end
2103
2727
 
2104
- # Represents a time of day. The date and time zone are either not significant
2105
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
2728
+ # Represents a time of day. The date and time zone are either not significant or
2729
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
2106
2730
  # types are google.type.Date and `google.protobuf.Timestamp`.
2107
2731
  class TimeOfDay
2108
2732
  include Google::Apis::Core::Hashable
2109
2733
 
2110
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2111
- # to allow the value "24:00:00" for scenarios like business closing time.
2734
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
2735
+ # allow the value "24:00:00" for scenarios like business closing time.
2112
2736
  # Corresponds to the JSON property `hours`
2113
2737
  # @return [Fixnum]
2114
2738
  attr_accessor :hours
@@ -2142,8 +2766,8 @@ module Google
2142
2766
  end
2143
2767
  end
2144
2768
 
2145
- # Represents a time zone from the
2146
- # [IANA Time Zone Database](https://www.iana.org/time-zones).
2769
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
2770
+ # time-zones).
2147
2771
  class TimeZone
2148
2772
  include Google::Apis::Core::Hashable
2149
2773
 
@@ -2178,8 +2802,7 @@ module Google
2178
2802
  attr_accessor :day_of_week
2179
2803
 
2180
2804
  # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
2181
- # month. -1
2182
- # indicates the last week of the month.
2805
+ # month. -1 indicates the last week of the month.
2183
2806
  # Corresponds to the JSON property `weekOrdinal`
2184
2807
  # @return [Fixnum]
2185
2808
  attr_accessor :week_ordinal
@@ -2229,9 +2852,8 @@ module Google
2229
2852
  # @return [Array<String>]
2230
2853
  attr_accessor :excludes
2231
2854
 
2232
- # An exclusive list of kbs to be updated. These are the only patches
2233
- # that will be updated. This field must not be used with other
2234
- # patch configurations.
2855
+ # An exclusive list of kbs to be updated. These are the only patches that will
2856
+ # be updated. This field must not be used with other patch configurations.
2235
2857
  # Corresponds to the JSON property `exclusivePatches`
2236
2858
  # @return [Array<String>]
2237
2859
  attr_accessor :exclusive_patches
@@ -2248,8 +2870,8 @@ module Google
2248
2870
  end
2249
2871
  end
2250
2872
 
2251
- # Represents a single Yum package repository. This repository is added to a
2252
- # repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
2873
+ # Represents a single Yum package repository. This repository is added to a repo
2874
+ # file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
2253
2875
  class YumRepository
2254
2876
  include Google::Apis::Core::Hashable
2255
2877
 
@@ -2268,10 +2890,10 @@ module Google
2268
2890
  # @return [Array<String>]
2269
2891
  attr_accessor :gpg_keys
2270
2892
 
2271
- # Required. A one word, unique name for this repository. This is
2272
- # the `repo id` in the Yum config file and also the `display_name` if
2273
- # `display_name` is omitted. This id is also used as the unique identifier
2274
- # when checking for guest policy conflicts.
2893
+ # Required. A one word, unique name for this repository. This is the `repo id`
2894
+ # in the Yum config file and also the `display_name` if `display_name` is
2895
+ # omitted. This id is also used as the unique identifier when checking for guest
2896
+ # policy conflicts.
2275
2897
  # Corresponds to the JSON property `id`
2276
2898
  # @return [String]
2277
2899
  attr_accessor :id
@@ -2289,22 +2911,21 @@ module Google
2289
2911
  end
2290
2912
  end
2291
2913
 
2292
- # Yum patching is performed by executing `yum update`. Additional options
2293
- # can be set to control how this is executed.
2294
- # Note that not all settings are supported on all platforms.
2914
+ # Yum patching is performed by executing `yum update`. Additional options can be
2915
+ # set to control how this is executed. Note that not all settings are supported
2916
+ # on all platforms.
2295
2917
  class YumSettings
2296
2918
  include Google::Apis::Core::Hashable
2297
2919
 
2298
- # List of packages to exclude from update. These packages are excluded by
2299
- # using the yum `--exclude` flag.
2920
+ # List of packages to exclude from update. These packages are excluded by using
2921
+ # the yum `--exclude` flag.
2300
2922
  # Corresponds to the JSON property `excludes`
2301
2923
  # @return [Array<String>]
2302
2924
  attr_accessor :excludes
2303
2925
 
2304
- # An exclusive list of packages to be updated. These are the only packages
2305
- # that will be updated. If these packages are not installed, they will be
2306
- # ignored. This field must not be specified with any other patch
2307
- # configuration fields.
2926
+ # An exclusive list of packages to be updated. These are the only packages that
2927
+ # will be updated. If these packages are not installed, they will be ignored.
2928
+ # This field must not be specified with any other patch configuration fields.
2308
2929
  # Corresponds to the JSON property `exclusivePackages`
2309
2930
  # @return [Array<String>]
2310
2931
  attr_accessor :exclusive_packages
@@ -2315,8 +2936,7 @@ module Google
2315
2936
  attr_accessor :minimal
2316
2937
  alias_method :minimal?, :minimal
2317
2938
 
2318
- # Adds the `--security` flag to `yum update`. Not supported on
2319
- # all platforms.
2939
+ # Adds the `--security` flag to `yum update`. Not supported on all platforms.
2320
2940
  # Corresponds to the JSON property `security`
2321
2941
  # @return [Boolean]
2322
2942
  attr_accessor :security
@@ -2355,10 +2975,10 @@ module Google
2355
2975
  # @return [Array<String>]
2356
2976
  attr_accessor :gpg_keys
2357
2977
 
2358
- # Required. A one word, unique name for this repository. This is
2359
- # the `repo id` in the zypper config file and also the `display_name` if
2360
- # `display_name` is omitted. This id is also used as the unique identifier
2361
- # when checking for guest policy conflicts.
2978
+ # Required. A one word, unique name for this repository. This is the `repo id`
2979
+ # in the zypper config file and also the `display_name` if `display_name` is
2980
+ # omitted. This id is also used as the unique identifier when checking for guest
2981
+ # policy conflicts.
2362
2982
  # Corresponds to the JSON property `id`
2363
2983
  # @return [String]
2364
2984
  attr_accessor :id
@@ -2376,13 +2996,13 @@ module Google
2376
2996
  end
2377
2997
  end
2378
2998
 
2379
- # Zypper patching is performed by running `zypper patch`.
2380
- # See also https://en.opensuse.org/SDB:Zypper_manual.
2999
+ # Zypper patching is performed by running `zypper patch`. See also https://en.
3000
+ # opensuse.org/SDB:Zypper_manual.
2381
3001
  class ZypperSettings
2382
3002
  include Google::Apis::Core::Hashable
2383
3003
 
2384
- # Install only patches with these categories.
2385
- # Common categories include security, recommended, and feature.
3004
+ # Install only patches with these categories. Common categories include security,
3005
+ # recommended, and feature.
2386
3006
  # Corresponds to the JSON property `categories`
2387
3007
  # @return [Array<String>]
2388
3008
  attr_accessor :categories
@@ -2392,15 +3012,15 @@ module Google
2392
3012
  # @return [Array<String>]
2393
3013
  attr_accessor :excludes
2394
3014
 
2395
- # An exclusive list of patches to be updated. These are the only patches
2396
- # that will be installed using 'zypper patch patch:<patch_name>' command.
2397
- # This field must not be used with any other patch configuration fields.
3015
+ # An exclusive list of patches to be updated. These are the only patches that
3016
+ # will be installed using 'zypper patch patch:' command. This field must not be
3017
+ # used with any other patch configuration fields.
2398
3018
  # Corresponds to the JSON property `exclusivePatches`
2399
3019
  # @return [Array<String>]
2400
3020
  attr_accessor :exclusive_patches
2401
3021
 
2402
- # Install only patches with these severities.
2403
- # Common severities include critical, important, moderate, and low.
3022
+ # Install only patches with these severities. Common severities include critical,
3023
+ # important, moderate, and low.
2404
3024
  # Corresponds to the JSON property `severities`
2405
3025
  # @return [Array<String>]
2406
3026
  attr_accessor :severities