google-api-client 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +305 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  15. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  16. data/generated/google/apis/admob_v1.rb +4 -1
  17. data/generated/google/apis/admob_v1/classes.rb +2 -2
  18. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  19. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  21. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  22. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  23. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  24. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  25. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  26. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
  31. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  33. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  34. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  35. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  36. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  37. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  38. data/generated/google/apis/apigee_v1.rb +1 -1
  39. data/generated/google/apis/apigee_v1/classes.rb +247 -27
  40. data/generated/google/apis/apigee_v1/representations.rb +90 -3
  41. data/generated/google/apis/apigee_v1/service.rb +63 -43
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  44. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  47. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  48. data/generated/google/apis/appsmarket_v2.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  50. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  51. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  52. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  53. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  54. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  55. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  56. data/generated/google/apis/bigquery_v2.rb +1 -1
  57. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  58. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  59. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  64. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  68. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  69. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  70. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  73. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  74. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +2 -2
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +79 -5
  81. data/generated/google/apis/chat_v1/representations.rb +35 -0
  82. data/generated/google/apis/civicinfo_v2.rb +1 -1
  83. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  84. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  85. data/generated/google/apis/classroom_v1.rb +7 -1
  86. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  87. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  88. data/generated/google/apis/classroom_v1/service.rb +240 -0
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  100. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  101. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  102. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  104. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  105. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  107. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  108. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  118. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  119. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  120. data/generated/google/apis/cloudiot_v1.rb +1 -1
  121. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  122. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudkms_v1.rb +1 -1
  124. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  125. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  126. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  128. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  130. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  132. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  134. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  136. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  137. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  138. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  139. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  140. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  142. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  143. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  144. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  146. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  147. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  149. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  150. data/generated/google/apis/composer_v1beta1.rb +1 -1
  151. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  154. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  155. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  156. data/generated/google/apis/compute_beta.rb +1 -1
  157. data/generated/google/apis/compute_beta/classes.rb +491 -83
  158. data/generated/google/apis/compute_beta/representations.rb +96 -1
  159. data/generated/google/apis/compute_beta/service.rb +802 -133
  160. data/generated/google/apis/compute_v1.rb +1 -1
  161. data/generated/google/apis/compute_v1/classes.rb +308 -45
  162. data/generated/google/apis/compute_v1/representations.rb +54 -1
  163. data/generated/google/apis/compute_v1/service.rb +736 -130
  164. data/generated/google/apis/container_v1.rb +1 -1
  165. data/generated/google/apis/container_v1/classes.rb +57 -2
  166. data/generated/google/apis/container_v1/representations.rb +7 -0
  167. data/generated/google/apis/container_v1beta1.rb +1 -1
  168. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  169. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  170. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  171. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  172. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  173. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  174. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  175. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  176. data/generated/google/apis/content_v2.rb +1 -1
  177. data/generated/google/apis/content_v2/classes.rb +4 -2
  178. data/generated/google/apis/content_v2_1.rb +1 -1
  179. data/generated/google/apis/content_v2_1/classes.rb +16 -4
  180. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  181. data/generated/google/apis/content_v2_1/service.rb +1 -1
  182. data/generated/google/apis/customsearch_v1.rb +1 -1
  183. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  184. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  185. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  186. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  189. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  190. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  191. data/generated/google/apis/datafusion_v1.rb +1 -1
  192. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  193. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  194. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  195. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  196. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  197. data/generated/google/apis/dataproc_v1.rb +1 -1
  198. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  199. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  200. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  201. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  202. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  203. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  205. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  206. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  207. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  208. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  209. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  210. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  211. data/generated/google/apis/dialogflow_v2.rb +1 -1
  212. data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
  213. data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
  214. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  215. data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
  216. data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
  217. data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
  218. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  219. data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
  220. data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
  221. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  222. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  223. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  224. data/generated/google/apis/displayvideo_v1.rb +1 -1
  225. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  226. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  227. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  228. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  229. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  230. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  231. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  232. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  233. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  234. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  235. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  236. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  237. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  238. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  239. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  240. data/generated/google/apis/dlp_v2.rb +1 -1
  241. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  242. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  243. data/generated/google/apis/dlp_v2/service.rb +328 -328
  244. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  245. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  246. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  249. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  251. data/generated/google/apis/file_v1.rb +1 -1
  252. data/generated/google/apis/file_v1/classes.rb +1 -1
  253. data/generated/google/apis/file_v1beta1.rb +1 -1
  254. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  256. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  257. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  262. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  263. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  264. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  265. data/generated/google/apis/firestore_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  267. data/generated/google/apis/fitness_v1.rb +3 -3
  268. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  269. data/generated/google/apis/games_v1.rb +1 -1
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  272. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  273. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  274. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  275. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  276. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  277. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  278. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  279. data/generated/google/apis/gmail_v1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/service.rb +1 -1
  281. data/generated/google/apis/healthcare_v1.rb +1 -1
  282. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  283. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  284. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  285. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  286. data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
  287. data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
  288. data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
  289. data/generated/google/apis/homegraph_v1.rb +4 -1
  290. data/generated/google/apis/iam_v1.rb +1 -1
  291. data/generated/google/apis/iam_v1/classes.rb +7 -0
  292. data/generated/google/apis/iam_v1/representations.rb +1 -0
  293. data/generated/google/apis/iam_v1/service.rb +2 -1
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +7 -0
  296. data/generated/google/apis/iap_v1/representations.rb +1 -0
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  299. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  300. data/generated/google/apis/jobs_v2.rb +1 -1
  301. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  302. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  303. data/generated/google/apis/jobs_v2/service.rb +85 -126
  304. data/generated/google/apis/jobs_v3.rb +1 -1
  305. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  306. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  307. data/generated/google/apis/jobs_v3/service.rb +101 -139
  308. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  311. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  312. data/generated/google/apis/licensing_v1.rb +4 -3
  313. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  314. data/generated/google/apis/licensing_v1/service.rb +55 -85
  315. data/generated/google/apis/logging_v2.rb +1 -1
  316. data/generated/google/apis/logging_v2/classes.rb +98 -55
  317. data/generated/google/apis/logging_v2/representations.rb +32 -0
  318. data/generated/google/apis/logging_v2/service.rb +1214 -264
  319. data/generated/google/apis/managedidentities_v1.rb +1 -1
  320. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  321. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  322. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  323. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  324. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  325. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  326. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  327. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  328. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  329. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  330. data/generated/google/apis/ml_v1.rb +1 -1
  331. data/generated/google/apis/ml_v1/classes.rb +7 -0
  332. data/generated/google/apis/ml_v1/representations.rb +1 -0
  333. data/generated/google/apis/ml_v1/service.rb +1 -1
  334. data/generated/google/apis/monitoring_v1.rb +1 -1
  335. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  336. data/generated/google/apis/monitoring_v3.rb +1 -1
  337. data/generated/google/apis/monitoring_v3/classes.rb +43 -37
  338. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  339. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  340. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  341. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  342. data/generated/google/apis/osconfig_v1.rb +3 -3
  343. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  344. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  345. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  346. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  347. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  348. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  349. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  350. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  351. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  352. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  353. data/generated/google/apis/people_v1.rb +1 -1
  354. data/generated/google/apis/people_v1/service.rb +8 -6
  355. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  356. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  359. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  360. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  361. data/generated/google/apis/pubsub_v1.rb +1 -1
  362. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  363. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  364. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  365. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  366. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  367. data/generated/google/apis/pubsublite_v1.rb +1 -1
  368. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  369. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  370. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  371. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  372. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  373. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  374. data/generated/google/apis/recommender_v1.rb +1 -1
  375. data/generated/google/apis/recommender_v1/service.rb +4 -2
  376. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  377. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  378. data/generated/google/apis/redis_v1.rb +1 -1
  379. data/generated/google/apis/redis_v1/classes.rb +5 -391
  380. data/generated/google/apis/redis_v1/representations.rb +0 -139
  381. data/generated/google/apis/redis_v1/service.rb +2 -2
  382. data/generated/google/apis/redis_v1beta1.rb +1 -1
  383. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  384. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  385. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  386. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  389. data/generated/google/apis/reseller_v1.rb +2 -2
  390. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  391. data/generated/google/apis/reseller_v1/service.rb +122 -173
  392. data/generated/google/apis/run_v1.rb +1 -1
  393. data/generated/google/apis/run_v1/classes.rb +8 -132
  394. data/generated/google/apis/run_v1/representations.rb +0 -61
  395. data/generated/google/apis/run_v1/service.rb +0 -342
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  398. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  399. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  400. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  401. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  402. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  403. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  404. data/generated/google/apis/searchconsole_v1.rb +7 -1
  405. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  406. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  407. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  408. data/generated/google/apis/secretmanager_v1.rb +1 -1
  409. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  410. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  411. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  412. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  413. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  414. data/generated/google/apis/securitycenter_v1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  416. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  417. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  418. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  419. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  420. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  421. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  422. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  423. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  424. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  425. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  428. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  429. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  430. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  431. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  432. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  435. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  436. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  439. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  440. data/generated/google/apis/sheets_v4.rb +1 -1
  441. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  442. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  443. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  444. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  445. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  446. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  447. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  448. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  449. data/generated/google/apis/spanner_v1.rb +1 -1
  450. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  451. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  452. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  453. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  454. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
  455. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
  456. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  457. data/generated/google/apis/storage_v1.rb +1 -1
  458. data/generated/google/apis/storage_v1/classes.rb +2 -10
  459. data/generated/google/apis/storage_v1/representations.rb +0 -1
  460. data/generated/google/apis/storage_v1/service.rb +3 -2
  461. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  462. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  463. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  464. data/generated/google/apis/sts_v1/classes.rb +120 -0
  465. data/generated/google/apis/sts_v1/representations.rb +59 -0
  466. data/generated/google/apis/sts_v1/service.rb +90 -0
  467. data/generated/google/apis/sts_v1beta.rb +32 -0
  468. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  469. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  470. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  471. data/generated/google/apis/tagmanager_v2.rb +1 -1
  472. data/generated/google/apis/tasks_v1.rb +1 -1
  473. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  474. data/generated/google/apis/tasks_v1/service.rb +4 -3
  475. data/generated/google/apis/testing_v1.rb +1 -1
  476. data/generated/google/apis/testing_v1/classes.rb +2 -2
  477. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  478. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  479. data/generated/google/apis/tpu_v1.rb +1 -1
  480. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  481. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  482. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  483. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  484. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  485. data/generated/google/apis/translate_v3.rb +1 -1
  486. data/generated/google/apis/translate_v3/classes.rb +2 -2
  487. data/generated/google/apis/vault_v1.rb +1 -1
  488. data/generated/google/apis/vault_v1/classes.rb +80 -103
  489. data/generated/google/apis/vault_v1/service.rb +31 -37
  490. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  491. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  492. data/generated/google/apis/videointelligence_v1.rb +1 -1
  493. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  494. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  495. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  496. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  497. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  498. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  499. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  501. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  502. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  504. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  505. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  507. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  508. data/generated/google/apis/vision_v1.rb +1 -1
  509. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  511. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  512. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  513. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  514. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  515. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  516. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  517. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  518. data/generated/google/apis/workflows_v1beta.rb +34 -0
  519. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  520. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  521. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  522. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  523. data/generated/google/apis/youtube_v3.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  525. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  526. data/generated/google/apis/youtube_v3/service.rb +2 -197
  527. data/google-api-client.gemspec +2 -1
  528. data/lib/google/apis/version.rb +1 -1
  529. metadata +70 -16
  530. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  531. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  532. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  533. data/generated/google/apis/plus_v1.rb +0 -43
  534. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  535. data/generated/google/apis/plus_v1/representations.rb +0 -907
  536. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -40,18 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class ExecResource
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class ExecResourceExec
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
43
  class ExecStep
56
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
45
 
@@ -70,36 +58,6 @@ module Google
70
58
  include Google::Apis::Core::JsonObjectSupport
71
59
  end
72
60
 
73
- class ExtractArchiveResource
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class File
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class FileGcs
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class FileRemote
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class FileResource
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
61
  class FixedOrPercent
104
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
63
 
@@ -148,54 +106,6 @@ module Google
148
106
  include Google::Apis::Core::JsonObjectSupport
149
107
  end
150
108
 
151
- class PackageResource
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class PackageResourceApt
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class PackageResourceDeb
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class PackageResourceGooGet
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
- class PackageResourceMsi
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
- class PackageResourceRpm
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class PackageResourceYum
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class PackageResourceZypper
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
109
  class PatchConfig
200
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
111
 
@@ -250,42 +160,6 @@ module Google
250
160
  include Google::Apis::Core::JsonObjectSupport
251
161
  end
252
162
 
253
- class RepositoryResource
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
- class RepositoryResourceAptRepository
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
- class RepositoryResourceGooRepository
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
- class RepositoryResourceYumRepository
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class RepositoryResourceZypperRepository
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class ServiceResource
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
163
  class TimeOfDay
290
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
165
 
@@ -349,28 +223,6 @@ module Google
349
223
  end
350
224
  end
351
225
 
352
- class ExecResource
353
- # @private
354
- class Representation < Google::Apis::Core::JsonRepresentation
355
- property :enforce, as: 'enforce', class: Google::Apis::OsconfigV1::ExecResourceExec, decorator: Google::Apis::OsconfigV1::ExecResourceExec::Representation
356
-
357
- property :validate, as: 'validate', class: Google::Apis::OsconfigV1::ExecResourceExec, decorator: Google::Apis::OsconfigV1::ExecResourceExec::Representation
358
-
359
- end
360
- end
361
-
362
- class ExecResourceExec
363
- # @private
364
- class Representation < Google::Apis::Core::JsonRepresentation
365
- collection :allowed_success_codes, as: 'allowedSuccessCodes'
366
- collection :args, as: 'args'
367
- property :file, as: 'file', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
368
-
369
- property :interpreter, as: 'interpreter'
370
- property :script, as: 'script'
371
- end
372
- end
373
-
374
226
  class ExecStep
375
227
  # @private
376
228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,59 +260,6 @@ module Google
408
260
  end
409
261
  end
410
262
 
411
- class ExtractArchiveResource
412
- # @private
413
- class Representation < Google::Apis::Core::JsonRepresentation
414
- property :creates, as: 'creates'
415
- property :destination, as: 'destination'
416
- property :overwrite, as: 'overwrite'
417
- property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
418
-
419
- property :type, as: 'type'
420
- end
421
- end
422
-
423
- class File
424
- # @private
425
- class Representation < Google::Apis::Core::JsonRepresentation
426
- property :allow_insecure, as: 'allowInsecure'
427
- property :gcs, as: 'gcs', class: Google::Apis::OsconfigV1::FileGcs, decorator: Google::Apis::OsconfigV1::FileGcs::Representation
428
-
429
- property :local_path, as: 'localPath'
430
- property :remote, as: 'remote', class: Google::Apis::OsconfigV1::FileRemote, decorator: Google::Apis::OsconfigV1::FileRemote::Representation
431
-
432
- end
433
- end
434
-
435
- class FileGcs
436
- # @private
437
- class Representation < Google::Apis::Core::JsonRepresentation
438
- property :bucket, as: 'bucket'
439
- property :generation, :numeric_string => true, as: 'generation'
440
- property :object, as: 'object'
441
- end
442
- end
443
-
444
- class FileRemote
445
- # @private
446
- class Representation < Google::Apis::Core::JsonRepresentation
447
- property :sha256_checksum, as: 'sha256Checksum'
448
- property :uri, as: 'uri'
449
- end
450
- end
451
-
452
- class FileResource
453
- # @private
454
- class Representation < Google::Apis::Core::JsonRepresentation
455
- property :content, as: 'content'
456
- property :file, as: 'file', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
457
-
458
- property :path, as: 'path'
459
- property :permissions, as: 'permissions'
460
- property :state, as: 'state'
461
- end
462
- end
463
-
464
263
  class FixedOrPercent
465
264
  # @private
466
265
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -527,83 +326,6 @@ module Google
527
326
  end
528
327
  end
529
328
 
530
- class PackageResource
531
- # @private
532
- class Representation < Google::Apis::Core::JsonRepresentation
533
- property :apt, as: 'apt', class: Google::Apis::OsconfigV1::PackageResourceApt, decorator: Google::Apis::OsconfigV1::PackageResourceApt::Representation
534
-
535
- property :deb, as: 'deb', class: Google::Apis::OsconfigV1::PackageResourceDeb, decorator: Google::Apis::OsconfigV1::PackageResourceDeb::Representation
536
-
537
- property :desired_state, as: 'desiredState'
538
- property :googet, as: 'googet', class: Google::Apis::OsconfigV1::PackageResourceGooGet, decorator: Google::Apis::OsconfigV1::PackageResourceGooGet::Representation
539
-
540
- property :msi, as: 'msi', class: Google::Apis::OsconfigV1::PackageResourceMsi, decorator: Google::Apis::OsconfigV1::PackageResourceMsi::Representation
541
-
542
- property :rpm, as: 'rpm', class: Google::Apis::OsconfigV1::PackageResourceRpm, decorator: Google::Apis::OsconfigV1::PackageResourceRpm::Representation
543
-
544
- property :yum, as: 'yum', class: Google::Apis::OsconfigV1::PackageResourceYum, decorator: Google::Apis::OsconfigV1::PackageResourceYum::Representation
545
-
546
- property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::PackageResourceZypper, decorator: Google::Apis::OsconfigV1::PackageResourceZypper::Representation
547
-
548
- end
549
- end
550
-
551
- class PackageResourceApt
552
- # @private
553
- class Representation < Google::Apis::Core::JsonRepresentation
554
- property :name, as: 'name'
555
- end
556
- end
557
-
558
- class PackageResourceDeb
559
- # @private
560
- class Representation < Google::Apis::Core::JsonRepresentation
561
- property :pull_deps, as: 'pullDeps'
562
- property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
563
-
564
- end
565
- end
566
-
567
- class PackageResourceGooGet
568
- # @private
569
- class Representation < Google::Apis::Core::JsonRepresentation
570
- property :name, as: 'name'
571
- end
572
- end
573
-
574
- class PackageResourceMsi
575
- # @private
576
- class Representation < Google::Apis::Core::JsonRepresentation
577
- collection :allowed_success_codes, as: 'allowedSuccessCodes'
578
- collection :flags, as: 'flags'
579
- property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
580
-
581
- end
582
- end
583
-
584
- class PackageResourceRpm
585
- # @private
586
- class Representation < Google::Apis::Core::JsonRepresentation
587
- property :pull_deps, as: 'pullDeps'
588
- property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
589
-
590
- end
591
- end
592
-
593
- class PackageResourceYum
594
- # @private
595
- class Representation < Google::Apis::Core::JsonRepresentation
596
- property :name, as: 'name'
597
- end
598
- end
599
-
600
- class PackageResourceZypper
601
- # @private
602
- class Representation < Google::Apis::Core::JsonRepresentation
603
- property :name, as: 'name'
604
- end
605
- end
606
-
607
329
  class PatchConfig
608
330
  # @private
609
331
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -751,65 +473,6 @@ module Google
751
473
  end
752
474
  end
753
475
 
754
- class RepositoryResource
755
- # @private
756
- class Representation < Google::Apis::Core::JsonRepresentation
757
- property :apt, as: 'apt', class: Google::Apis::OsconfigV1::RepositoryResourceAptRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceAptRepository::Representation
758
-
759
- property :goo, as: 'goo', class: Google::Apis::OsconfigV1::RepositoryResourceGooRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceGooRepository::Representation
760
-
761
- property :yum, as: 'yum', class: Google::Apis::OsconfigV1::RepositoryResourceYumRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceYumRepository::Representation
762
-
763
- property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::RepositoryResourceZypperRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceZypperRepository::Representation
764
-
765
- end
766
- end
767
-
768
- class RepositoryResourceAptRepository
769
- # @private
770
- class Representation < Google::Apis::Core::JsonRepresentation
771
- property :archive_type, as: 'archiveType'
772
- collection :components, as: 'components'
773
- property :distribution, as: 'distribution'
774
- property :gpg_key, as: 'gpgKey'
775
- property :uri, as: 'uri'
776
- end
777
- end
778
-
779
- class RepositoryResourceGooRepository
780
- # @private
781
- class Representation < Google::Apis::Core::JsonRepresentation
782
- property :name, as: 'name'
783
- property :url, as: 'url'
784
- end
785
- end
786
-
787
- class RepositoryResourceYumRepository
788
- # @private
789
- class Representation < Google::Apis::Core::JsonRepresentation
790
- property :base_url, as: 'baseUrl'
791
- property :display_name, as: 'displayName'
792
- collection :gpg_keys, as: 'gpgKeys'
793
- property :id, as: 'id'
794
- end
795
- end
796
-
797
- class RepositoryResourceZypperRepository
798
- # @private
799
- class Representation < Google::Apis::Core::JsonRepresentation
800
- property :base_url, as: 'baseUrl'
801
- property :display_name, as: 'displayName'
802
- collection :gpg_keys, as: 'gpgKeys'
803
- property :id, as: 'id'
804
- end
805
- end
806
-
807
- class ServiceResource
808
- # @private
809
- class Representation < Google::Apis::Core::JsonRepresentation
810
- end
811
- end
812
-
813
476
  class TimeOfDay
814
477
  # @private
815
478
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module OsconfigV1
23
- # Cloud OS Config API
23
+ # OS Config API
24
24
  #
25
25
  # OS management tools that can be used for patch management, patch compliance,
26
26
  # and configuration management on VM instances.
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/osconfig_v1'
30
30
  #
31
31
  # Osconfig = Google::Apis::OsconfigV1 # Alias the module
32
- # service = Osconfig::SystemsManagementService.new
32
+ # service = Osconfig::OSConfigService.new
33
33
  #
34
- # @see https://cloud.google.com/
35
- class SystemsManagementService < Google::Apis::Core::BaseService
34
+ # @see https://cloud.google.com/compute/docs/manage-os
35
+ class OSConfigService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -18,15 +18,15 @@ require 'google/apis/osconfig_v1beta/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud OS Config API
21
+ # OS Config API
22
22
  #
23
23
  # OS management tools that can be used for patch management, patch compliance,
24
24
  # and configuration management on VM instances.
25
25
  #
26
- # @see https://cloud.google.com/
26
+ # @see https://cloud.google.com/compute/docs/manage-os
27
27
  module OsconfigV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200824'
29
+ REVISION = '20200930'
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'
@@ -373,74 +373,6 @@ module Google
373
373
  end
374
374
  end
375
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
-
444
376
  # A step that runs an executable for a PatchJob.
445
377
  class ExecStep
446
378
  include Google::Apis::Core::Hashable
@@ -568,200 +500,6 @@ module Google
568
500
  end
569
501
  end
570
502
 
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
-
765
503
  # Message encapsulating a value that can be either absolute ("fixed") or
766
504
  # relative ("percent") to a value.
767
505
  class FixedOrPercent
@@ -1213,242 +951,6 @@ module Google
1213
951
  end
1214
952
  end
1215
953
 
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
954
  # Patch configuration specifications. Contains details on how to apply the patch(
1453
955
  # es) to a VM instance.
1454
956
  class PatchConfig
@@ -2059,212 +1561,6 @@ module Google
2059
1561
  end
2060
1562
  end
2061
1563
 
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
-
2268
1564
  # A software recipe is a set of instructions for installing and configuring a
2269
1565
  # piece of software. It consists of a set of artifacts that are downloaded, and
2270
1566
  # a set of steps that install, configure, and/or update the software. Recipes