google-api-client 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -1,605 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module OsconfigV1beta
23
- # Cloud OS Config API
24
- #
25
- # OS management tools that can be used for patch management, patch compliance,
26
- # and configuration management on VM instances.
27
- #
28
- # @example
29
- # require 'google/apis/osconfig_v1beta'
30
- #
31
- # Osconfig = Google::Apis::OsconfigV1beta # Alias the module
32
- # service = Osconfig::SystemsManagementService.new
33
- #
34
- # @see https://cloud.google.com/
35
- class SystemsManagementService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # API key. Your API key identifies your project and provides you with API access,
38
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
- attr_accessor :key
40
-
41
- # @return [String]
42
- # Available to use for quota purposes for server-side applications. Can be any
43
- # arbitrary string assigned to a user, but should not exceed 40 characters.
44
- attr_accessor :quota_user
45
-
46
- def initialize
47
- super('https://osconfig.googleapis.com/', '')
48
- @batch_path = 'batch'
49
- end
50
-
51
- # Create an OS Config guest policy.
52
- # @param [String] parent
53
- # Required. The resource name of the parent using one of the following forms:
54
- # `projects/`project_number``.
55
- # @param [Google::Apis::OsconfigV1beta::GuestPolicy] guest_policy_object
56
- # @param [String] guest_policy_id
57
- # Required. The logical name of the guest policy in the project
58
- # with the following restrictions:
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.
64
- # @param [String] fields
65
- # Selector specifying which fields to include in a partial response.
66
- # @param [String] quota_user
67
- # Available to use for quota purposes for server-side applications. Can be any
68
- # arbitrary string assigned to a user, but should not exceed 40 characters.
69
- # @param [Google::Apis::RequestOptions] options
70
- # Request-specific options
71
- #
72
- # @yield [result, err] Result & error if block supplied
73
- # @yieldparam result [Google::Apis::OsconfigV1beta::GuestPolicy] parsed result object
74
- # @yieldparam err [StandardError] error object if request failed
75
- #
76
- # @return [Google::Apis::OsconfigV1beta::GuestPolicy]
77
- #
78
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
- # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def create_project_guest_policy(parent, guest_policy_object = nil, guest_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
82
- command = make_simple_command(:post, 'v1beta/{+parent}/guestPolicies', options)
83
- command.request_representation = Google::Apis::OsconfigV1beta::GuestPolicy::Representation
84
- command.request_object = guest_policy_object
85
- command.response_representation = Google::Apis::OsconfigV1beta::GuestPolicy::Representation
86
- command.response_class = Google::Apis::OsconfigV1beta::GuestPolicy
87
- command.params['parent'] = parent unless parent.nil?
88
- command.query['guestPolicyId'] = guest_policy_id unless guest_policy_id.nil?
89
- command.query['fields'] = fields unless fields.nil?
90
- command.query['quotaUser'] = quota_user unless quota_user.nil?
91
- execute_or_queue_command(command, &block)
92
- end
93
-
94
- # Delete an OS Config guest policy.
95
- # @param [String] name
96
- # Required. The resource name of the guest policy using one of the following
97
- # forms:
98
- # `projects/`project_number`/guestPolicies/`guest_policy_id``.
99
- # @param [String] fields
100
- # Selector specifying which fields to include in a partial response.
101
- # @param [String] quota_user
102
- # Available to use for quota purposes for server-side applications. Can be any
103
- # arbitrary string assigned to a user, but should not exceed 40 characters.
104
- # @param [Google::Apis::RequestOptions] options
105
- # Request-specific options
106
- #
107
- # @yield [result, err] Result & error if block supplied
108
- # @yieldparam result [Google::Apis::OsconfigV1beta::Empty] parsed result object
109
- # @yieldparam err [StandardError] error object if request failed
110
- #
111
- # @return [Google::Apis::OsconfigV1beta::Empty]
112
- #
113
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
- # @raise [Google::Apis::AuthorizationError] Authorization is required
116
- def delete_project_guest_policy(name, fields: nil, quota_user: nil, options: nil, &block)
117
- command = make_simple_command(:delete, 'v1beta/{+name}', options)
118
- command.response_representation = Google::Apis::OsconfigV1beta::Empty::Representation
119
- command.response_class = Google::Apis::OsconfigV1beta::Empty
120
- command.params['name'] = name unless name.nil?
121
- command.query['fields'] = fields unless fields.nil?
122
- command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- execute_or_queue_command(command, &block)
124
- end
125
-
126
- # Get an OS Config guest policy.
127
- # @param [String] name
128
- # Required. The resource name of the guest policy using one of the following
129
- # forms:
130
- # `projects/`project_number`/guestPolicies/`guest_policy_id``.
131
- # @param [String] fields
132
- # Selector specifying which fields to include in a partial response.
133
- # @param [String] quota_user
134
- # Available to use for quota purposes for server-side applications. Can be any
135
- # arbitrary string assigned to a user, but should not exceed 40 characters.
136
- # @param [Google::Apis::RequestOptions] options
137
- # Request-specific options
138
- #
139
- # @yield [result, err] Result & error if block supplied
140
- # @yieldparam result [Google::Apis::OsconfigV1beta::GuestPolicy] parsed result object
141
- # @yieldparam err [StandardError] error object if request failed
142
- #
143
- # @return [Google::Apis::OsconfigV1beta::GuestPolicy]
144
- #
145
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
- # @raise [Google::Apis::AuthorizationError] Authorization is required
148
- def get_project_guest_policy(name, fields: nil, quota_user: nil, options: nil, &block)
149
- command = make_simple_command(:get, 'v1beta/{+name}', options)
150
- command.response_representation = Google::Apis::OsconfigV1beta::GuestPolicy::Representation
151
- command.response_class = Google::Apis::OsconfigV1beta::GuestPolicy
152
- command.params['name'] = name unless name.nil?
153
- command.query['fields'] = fields unless fields.nil?
154
- command.query['quotaUser'] = quota_user unless quota_user.nil?
155
- execute_or_queue_command(command, &block)
156
- end
157
-
158
- # Get a page of OS Config guest policies.
159
- # @param [String] parent
160
- # Required. The resource name of the parent using one of the following forms:
161
- # `projects/`project_number``.
162
- # @param [Fixnum] page_size
163
- # The maximum number of guest policies to return.
164
- # @param [String] page_token
165
- # A pagination token returned from a previous call to `ListGuestPolicies`
166
- # that indicates where this listing should continue from.
167
- # @param [String] fields
168
- # Selector specifying which fields to include in a partial response.
169
- # @param [String] quota_user
170
- # Available to use for quota purposes for server-side applications. Can be any
171
- # arbitrary string assigned to a user, but should not exceed 40 characters.
172
- # @param [Google::Apis::RequestOptions] options
173
- # Request-specific options
174
- #
175
- # @yield [result, err] Result & error if block supplied
176
- # @yieldparam result [Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse] parsed result object
177
- # @yieldparam err [StandardError] error object if request failed
178
- #
179
- # @return [Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse]
180
- #
181
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183
- # @raise [Google::Apis::AuthorizationError] Authorization is required
184
- def list_project_guest_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
185
- command = make_simple_command(:get, 'v1beta/{+parent}/guestPolicies', options)
186
- command.response_representation = Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse::Representation
187
- command.response_class = Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse
188
- command.params['parent'] = parent unless parent.nil?
189
- command.query['pageSize'] = page_size unless page_size.nil?
190
- command.query['pageToken'] = page_token unless page_token.nil?
191
- command.query['fields'] = fields unless fields.nil?
192
- command.query['quotaUser'] = quota_user unless quota_user.nil?
193
- execute_or_queue_command(command, &block)
194
- end
195
-
196
- # Update an OS Config guest policy.
197
- # @param [String] name
198
- # Required. Unique name of the resource in this project using one of the
199
- # following
200
- # forms:
201
- # `projects/`project_number`/guestPolicies/`guest_policy_id``.
202
- # @param [Google::Apis::OsconfigV1beta::GuestPolicy] guest_policy_object
203
- # @param [String] update_mask
204
- # Field mask that controls which fields of the guest policy should be
205
- # updated.
206
- # @param [String] fields
207
- # Selector specifying which fields to include in a partial response.
208
- # @param [String] quota_user
209
- # Available to use for quota purposes for server-side applications. Can be any
210
- # arbitrary string assigned to a user, but should not exceed 40 characters.
211
- # @param [Google::Apis::RequestOptions] options
212
- # Request-specific options
213
- #
214
- # @yield [result, err] Result & error if block supplied
215
- # @yieldparam result [Google::Apis::OsconfigV1beta::GuestPolicy] parsed result object
216
- # @yieldparam err [StandardError] error object if request failed
217
- #
218
- # @return [Google::Apis::OsconfigV1beta::GuestPolicy]
219
- #
220
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
221
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
222
- # @raise [Google::Apis::AuthorizationError] Authorization is required
223
- def patch_project_guest_policy(name, guest_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
224
- command = make_simple_command(:patch, 'v1beta/{+name}', options)
225
- command.request_representation = Google::Apis::OsconfigV1beta::GuestPolicy::Representation
226
- command.request_object = guest_policy_object
227
- command.response_representation = Google::Apis::OsconfigV1beta::GuestPolicy::Representation
228
- command.response_class = Google::Apis::OsconfigV1beta::GuestPolicy
229
- command.params['name'] = name unless name.nil?
230
- command.query['updateMask'] = update_mask unless update_mask.nil?
231
- command.query['fields'] = fields unless fields.nil?
232
- command.query['quotaUser'] = quota_user unless quota_user.nil?
233
- execute_or_queue_command(command, &block)
234
- end
235
-
236
- # Create an OS Config patch deployment.
237
- # @param [String] parent
238
- # Required. The project to apply this patch deployment to in the form `projects/*
239
- # `.
240
- # @param [Google::Apis::OsconfigV1beta::PatchDeployment] patch_deployment_object
241
- # @param [String] patch_deployment_id
242
- # Required. A name for the patch deployment in the project. When creating a name
243
- # the following rules apply:
244
- # * Must contain only lowercase letters, numbers, and hyphens.
245
- # * Must start with a letter.
246
- # * Must be between 1-63 characters.
247
- # * Must end with a number or a letter.
248
- # * Must be unique within the project.
249
- # @param [String] fields
250
- # Selector specifying which fields to include in a partial response.
251
- # @param [String] quota_user
252
- # Available to use for quota purposes for server-side applications. Can be any
253
- # arbitrary string assigned to a user, but should not exceed 40 characters.
254
- # @param [Google::Apis::RequestOptions] options
255
- # Request-specific options
256
- #
257
- # @yield [result, err] Result & error if block supplied
258
- # @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
259
- # @yieldparam err [StandardError] error object if request failed
260
- #
261
- # @return [Google::Apis::OsconfigV1beta::PatchDeployment]
262
- #
263
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
- # @raise [Google::Apis::AuthorizationError] Authorization is required
266
- def create_project_patch_deployment(parent, patch_deployment_object = nil, patch_deployment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
267
- command = make_simple_command(:post, 'v1beta/{+parent}/patchDeployments', options)
268
- command.request_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
269
- command.request_object = patch_deployment_object
270
- command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
271
- command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
272
- command.params['parent'] = parent unless parent.nil?
273
- command.query['patchDeploymentId'] = patch_deployment_id unless patch_deployment_id.nil?
274
- command.query['fields'] = fields unless fields.nil?
275
- command.query['quotaUser'] = quota_user unless quota_user.nil?
276
- execute_or_queue_command(command, &block)
277
- end
278
-
279
- # Delete an OS Config patch deployment.
280
- # @param [String] name
281
- # Required. The resource name of the patch deployment in the form
282
- # `projects/*/patchDeployments/*`.
283
- # @param [String] fields
284
- # Selector specifying which fields to include in a partial response.
285
- # @param [String] quota_user
286
- # Available to use for quota purposes for server-side applications. Can be any
287
- # arbitrary string assigned to a user, but should not exceed 40 characters.
288
- # @param [Google::Apis::RequestOptions] options
289
- # Request-specific options
290
- #
291
- # @yield [result, err] Result & error if block supplied
292
- # @yieldparam result [Google::Apis::OsconfigV1beta::Empty] parsed result object
293
- # @yieldparam err [StandardError] error object if request failed
294
- #
295
- # @return [Google::Apis::OsconfigV1beta::Empty]
296
- #
297
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
298
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
- # @raise [Google::Apis::AuthorizationError] Authorization is required
300
- def delete_project_patch_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
301
- command = make_simple_command(:delete, 'v1beta/{+name}', options)
302
- command.response_representation = Google::Apis::OsconfigV1beta::Empty::Representation
303
- command.response_class = Google::Apis::OsconfigV1beta::Empty
304
- command.params['name'] = name unless name.nil?
305
- command.query['fields'] = fields unless fields.nil?
306
- command.query['quotaUser'] = quota_user unless quota_user.nil?
307
- execute_or_queue_command(command, &block)
308
- end
309
-
310
- # Get an OS Config patch deployment.
311
- # @param [String] name
312
- # Required. The resource name of the patch deployment in the form
313
- # `projects/*/patchDeployments/*`.
314
- # @param [String] fields
315
- # Selector specifying which fields to include in a partial response.
316
- # @param [String] quota_user
317
- # Available to use for quota purposes for server-side applications. Can be any
318
- # arbitrary string assigned to a user, but should not exceed 40 characters.
319
- # @param [Google::Apis::RequestOptions] options
320
- # Request-specific options
321
- #
322
- # @yield [result, err] Result & error if block supplied
323
- # @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
324
- # @yieldparam err [StandardError] error object if request failed
325
- #
326
- # @return [Google::Apis::OsconfigV1beta::PatchDeployment]
327
- #
328
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
329
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
330
- # @raise [Google::Apis::AuthorizationError] Authorization is required
331
- def get_project_patch_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
332
- command = make_simple_command(:get, 'v1beta/{+name}', options)
333
- command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
334
- command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
335
- command.params['name'] = name unless name.nil?
336
- command.query['fields'] = fields unless fields.nil?
337
- command.query['quotaUser'] = quota_user unless quota_user.nil?
338
- execute_or_queue_command(command, &block)
339
- end
340
-
341
- # Get a page of OS Config patch deployments.
342
- # @param [String] parent
343
- # Required. The resource name of the parent in the form `projects/*`.
344
- # @param [Fixnum] page_size
345
- # Optional. The maximum number of patch deployments to return. Default is 100.
346
- # @param [String] page_token
347
- # Optional. A pagination token returned from a previous call to
348
- # ListPatchDeployments
349
- # that indicates where this listing should continue from.
350
- # @param [String] fields
351
- # Selector specifying which fields to include in a partial response.
352
- # @param [String] quota_user
353
- # Available to use for quota purposes for server-side applications. Can be any
354
- # arbitrary string assigned to a user, but should not exceed 40 characters.
355
- # @param [Google::Apis::RequestOptions] options
356
- # Request-specific options
357
- #
358
- # @yield [result, err] Result & error if block supplied
359
- # @yieldparam result [Google::Apis::OsconfigV1beta::ListPatchDeploymentsResponse] parsed result object
360
- # @yieldparam err [StandardError] error object if request failed
361
- #
362
- # @return [Google::Apis::OsconfigV1beta::ListPatchDeploymentsResponse]
363
- #
364
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
365
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
366
- # @raise [Google::Apis::AuthorizationError] Authorization is required
367
- def list_project_patch_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
368
- command = make_simple_command(:get, 'v1beta/{+parent}/patchDeployments', options)
369
- command.response_representation = Google::Apis::OsconfigV1beta::ListPatchDeploymentsResponse::Representation
370
- command.response_class = Google::Apis::OsconfigV1beta::ListPatchDeploymentsResponse
371
- command.params['parent'] = parent unless parent.nil?
372
- command.query['pageSize'] = page_size unless page_size.nil?
373
- command.query['pageToken'] = page_token unless page_token.nil?
374
- command.query['fields'] = fields unless fields.nil?
375
- command.query['quotaUser'] = quota_user unless quota_user.nil?
376
- execute_or_queue_command(command, &block)
377
- end
378
-
379
- # Cancel a patch job. The patch job must be active. Canceled patch jobs
380
- # cannot be restarted.
381
- # @param [String] name
382
- # Required. Name of the patch in the form `projects/*/patchJobs/*`
383
- # @param [Google::Apis::OsconfigV1beta::CancelPatchJobRequest] cancel_patch_job_request_object
384
- # @param [String] fields
385
- # Selector specifying which fields to include in a partial response.
386
- # @param [String] quota_user
387
- # Available to use for quota purposes for server-side applications. Can be any
388
- # arbitrary string assigned to a user, but should not exceed 40 characters.
389
- # @param [Google::Apis::RequestOptions] options
390
- # Request-specific options
391
- #
392
- # @yield [result, err] Result & error if block supplied
393
- # @yieldparam result [Google::Apis::OsconfigV1beta::PatchJob] parsed result object
394
- # @yieldparam err [StandardError] error object if request failed
395
- #
396
- # @return [Google::Apis::OsconfigV1beta::PatchJob]
397
- #
398
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
399
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
400
- # @raise [Google::Apis::AuthorizationError] Authorization is required
401
- def cancel_patch_job(name, cancel_patch_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
402
- command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
403
- command.request_representation = Google::Apis::OsconfigV1beta::CancelPatchJobRequest::Representation
404
- command.request_object = cancel_patch_job_request_object
405
- command.response_representation = Google::Apis::OsconfigV1beta::PatchJob::Representation
406
- command.response_class = Google::Apis::OsconfigV1beta::PatchJob
407
- command.params['name'] = name unless name.nil?
408
- command.query['fields'] = fields unless fields.nil?
409
- command.query['quotaUser'] = quota_user unless quota_user.nil?
410
- execute_or_queue_command(command, &block)
411
- end
412
-
413
- # Patch VM instances by creating and running a patch job.
414
- # @param [String] parent
415
- # Required. The project in which to run this patch in the form `projects/*`
416
- # @param [Google::Apis::OsconfigV1beta::ExecutePatchJobRequest] execute_patch_job_request_object
417
- # @param [String] fields
418
- # Selector specifying which fields to include in a partial response.
419
- # @param [String] quota_user
420
- # Available to use for quota purposes for server-side applications. Can be any
421
- # arbitrary string assigned to a user, but should not exceed 40 characters.
422
- # @param [Google::Apis::RequestOptions] options
423
- # Request-specific options
424
- #
425
- # @yield [result, err] Result & error if block supplied
426
- # @yieldparam result [Google::Apis::OsconfigV1beta::PatchJob] parsed result object
427
- # @yieldparam err [StandardError] error object if request failed
428
- #
429
- # @return [Google::Apis::OsconfigV1beta::PatchJob]
430
- #
431
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
432
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
- # @raise [Google::Apis::AuthorizationError] Authorization is required
434
- def execute_patch_job(parent, execute_patch_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
435
- command = make_simple_command(:post, 'v1beta/{+parent}/patchJobs:execute', options)
436
- command.request_representation = Google::Apis::OsconfigV1beta::ExecutePatchJobRequest::Representation
437
- command.request_object = execute_patch_job_request_object
438
- command.response_representation = Google::Apis::OsconfigV1beta::PatchJob::Representation
439
- command.response_class = Google::Apis::OsconfigV1beta::PatchJob
440
- command.params['parent'] = parent unless parent.nil?
441
- command.query['fields'] = fields unless fields.nil?
442
- command.query['quotaUser'] = quota_user unless quota_user.nil?
443
- execute_or_queue_command(command, &block)
444
- end
445
-
446
- # Get the patch job. This can be used to track the progress of an
447
- # ongoing patch job or review the details of completed jobs.
448
- # @param [String] name
449
- # Required. Name of the patch in the form `projects/*/patchJobs/*`
450
- # @param [String] fields
451
- # Selector specifying which fields to include in a partial response.
452
- # @param [String] quota_user
453
- # Available to use for quota purposes for server-side applications. Can be any
454
- # arbitrary string assigned to a user, but should not exceed 40 characters.
455
- # @param [Google::Apis::RequestOptions] options
456
- # Request-specific options
457
- #
458
- # @yield [result, err] Result & error if block supplied
459
- # @yieldparam result [Google::Apis::OsconfigV1beta::PatchJob] parsed result object
460
- # @yieldparam err [StandardError] error object if request failed
461
- #
462
- # @return [Google::Apis::OsconfigV1beta::PatchJob]
463
- #
464
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
465
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
466
- # @raise [Google::Apis::AuthorizationError] Authorization is required
467
- def get_project_patch_job(name, fields: nil, quota_user: nil, options: nil, &block)
468
- command = make_simple_command(:get, 'v1beta/{+name}', options)
469
- command.response_representation = Google::Apis::OsconfigV1beta::PatchJob::Representation
470
- command.response_class = Google::Apis::OsconfigV1beta::PatchJob
471
- command.params['name'] = name unless name.nil?
472
- command.query['fields'] = fields unless fields.nil?
473
- command.query['quotaUser'] = quota_user unless quota_user.nil?
474
- execute_or_queue_command(command, &block)
475
- end
476
-
477
- # Get a list of patch jobs.
478
- # @param [String] parent
479
- # Required. In the form of `projects/*`
480
- # @param [String] filter
481
- # If provided, this field specifies the criteria that must be met by patch
482
- # jobs to be included in the response.
483
- # Currently, filtering is only available on the patch_deployment field.
484
- # @param [Fixnum] page_size
485
- # The maximum number of instance status to return.
486
- # @param [String] page_token
487
- # A pagination token returned from a previous call
488
- # that indicates where this listing should continue from.
489
- # @param [String] fields
490
- # Selector specifying which fields to include in a partial response.
491
- # @param [String] quota_user
492
- # Available to use for quota purposes for server-side applications. Can be any
493
- # arbitrary string assigned to a user, but should not exceed 40 characters.
494
- # @param [Google::Apis::RequestOptions] options
495
- # Request-specific options
496
- #
497
- # @yield [result, err] Result & error if block supplied
498
- # @yieldparam result [Google::Apis::OsconfigV1beta::ListPatchJobsResponse] parsed result object
499
- # @yieldparam err [StandardError] error object if request failed
500
- #
501
- # @return [Google::Apis::OsconfigV1beta::ListPatchJobsResponse]
502
- #
503
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
504
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
505
- # @raise [Google::Apis::AuthorizationError] Authorization is required
506
- def list_project_patch_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
507
- command = make_simple_command(:get, 'v1beta/{+parent}/patchJobs', options)
508
- command.response_representation = Google::Apis::OsconfigV1beta::ListPatchJobsResponse::Representation
509
- command.response_class = Google::Apis::OsconfigV1beta::ListPatchJobsResponse
510
- command.params['parent'] = parent unless parent.nil?
511
- command.query['filter'] = filter unless filter.nil?
512
- command.query['pageSize'] = page_size unless page_size.nil?
513
- command.query['pageToken'] = page_token unless page_token.nil?
514
- command.query['fields'] = fields unless fields.nil?
515
- command.query['quotaUser'] = quota_user unless quota_user.nil?
516
- execute_or_queue_command(command, &block)
517
- end
518
-
519
- # Get a list of instance details for a given patch job.
520
- # @param [String] parent
521
- # Required. The parent for the instances are in the form of `projects/*/
522
- # patchJobs/*`.
523
- # @param [String] filter
524
- # A filter expression that filters results listed in the response. This
525
- # field supports filtering results by instance zone, name, state, or
526
- # `failure_reason`.
527
- # @param [Fixnum] page_size
528
- # The maximum number of instance details records to return. Default is 100.
529
- # @param [String] page_token
530
- # A pagination token returned from a previous call
531
- # that indicates where this listing should continue from.
532
- # @param [String] fields
533
- # Selector specifying which fields to include in a partial response.
534
- # @param [String] quota_user
535
- # Available to use for quota purposes for server-side applications. Can be any
536
- # arbitrary string assigned to a user, but should not exceed 40 characters.
537
- # @param [Google::Apis::RequestOptions] options
538
- # Request-specific options
539
- #
540
- # @yield [result, err] Result & error if block supplied
541
- # @yieldparam result [Google::Apis::OsconfigV1beta::ListPatchJobInstanceDetailsResponse] parsed result object
542
- # @yieldparam err [StandardError] error object if request failed
543
- #
544
- # @return [Google::Apis::OsconfigV1beta::ListPatchJobInstanceDetailsResponse]
545
- #
546
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
547
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
548
- # @raise [Google::Apis::AuthorizationError] Authorization is required
549
- def list_project_patch_job_instance_details(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
550
- command = make_simple_command(:get, 'v1beta/{+parent}/instanceDetails', options)
551
- command.response_representation = Google::Apis::OsconfigV1beta::ListPatchJobInstanceDetailsResponse::Representation
552
- command.response_class = Google::Apis::OsconfigV1beta::ListPatchJobInstanceDetailsResponse
553
- command.params['parent'] = parent unless parent.nil?
554
- command.query['filter'] = filter unless filter.nil?
555
- command.query['pageSize'] = page_size unless page_size.nil?
556
- command.query['pageToken'] = page_token unless page_token.nil?
557
- command.query['fields'] = fields unless fields.nil?
558
- command.query['quotaUser'] = quota_user unless quota_user.nil?
559
- execute_or_queue_command(command, &block)
560
- end
561
-
562
- # Lookup the effective guest policy that applies to a VM instance. This
563
- # lookup merges all policies that are assigned to the instance ancestry.
564
- # @param [String] instance
565
- # Required. The VM instance whose policies are being looked up.
566
- # @param [Google::Apis::OsconfigV1beta::LookupEffectiveGuestPolicyRequest] lookup_effective_guest_policy_request_object
567
- # @param [String] fields
568
- # Selector specifying which fields to include in a partial response.
569
- # @param [String] quota_user
570
- # Available to use for quota purposes for server-side applications. Can be any
571
- # arbitrary string assigned to a user, but should not exceed 40 characters.
572
- # @param [Google::Apis::RequestOptions] options
573
- # Request-specific options
574
- #
575
- # @yield [result, err] Result & error if block supplied
576
- # @yieldparam result [Google::Apis::OsconfigV1beta::EffectiveGuestPolicy] parsed result object
577
- # @yieldparam err [StandardError] error object if request failed
578
- #
579
- # @return [Google::Apis::OsconfigV1beta::EffectiveGuestPolicy]
580
- #
581
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
582
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
583
- # @raise [Google::Apis::AuthorizationError] Authorization is required
584
- def lookup_instance_effective_guest_policy(instance, lookup_effective_guest_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
585
- command = make_simple_command(:post, 'v1beta/{+instance}:lookupEffectiveGuestPolicy', options)
586
- command.request_representation = Google::Apis::OsconfigV1beta::LookupEffectiveGuestPolicyRequest::Representation
587
- command.request_object = lookup_effective_guest_policy_request_object
588
- command.response_representation = Google::Apis::OsconfigV1beta::EffectiveGuestPolicy::Representation
589
- command.response_class = Google::Apis::OsconfigV1beta::EffectiveGuestPolicy
590
- command.params['instance'] = instance unless instance.nil?
591
- command.query['fields'] = fields unless fields.nil?
592
- command.query['quotaUser'] = quota_user unless quota_user.nil?
593
- execute_or_queue_command(command, &block)
594
- end
595
-
596
- protected
597
-
598
- def apply_command_defaults(command)
599
- command.query['key'] = key unless key.nil?
600
- command.query['quotaUser'] = quota_user unless quota_user.nil?
601
- end
602
- end
603
- end
604
- end
605
- end