google-api-client 0.42.1 → 0.44.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (960) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +550 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
  10. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  11. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  14. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  17. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  18. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  22. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  25. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  26. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  27. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  28. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  30. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  31. data/generated/google/apis/admin_directory_v1.rb +6 -8
  32. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  33. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  34. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  35. data/generated/google/apis/admin_reports_v1.rb +6 -5
  36. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  37. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  38. data/generated/google/apis/admob_v1.rb +1 -1
  39. data/generated/google/apis/admob_v1/classes.rb +139 -268
  40. data/generated/google/apis/admob_v1/service.rb +11 -13
  41. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  42. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  43. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  44. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  45. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  46. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  47. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  48. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  49. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  52. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  53. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  54. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  55. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  56. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  57. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  58. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  59. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  60. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  61. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  62. data/generated/google/apis/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
  63. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  64. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  65. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  66. data/generated/google/apis/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigee_v1.rb +6 -8
  71. data/generated/google/apis/apigee_v1/classes.rb +925 -1226
  72. data/generated/google/apis/apigee_v1/representations.rb +66 -2
  73. data/generated/google/apis/apigee_v1/service.rb +1000 -1142
  74. data/generated/google/apis/appengine_v1.rb +1 -1
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -44
  78. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1beta.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  84. data/generated/google/apis/appsmarket_v2.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  87. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  88. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +564 -541
  91. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +350 -65
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +746 -543
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  119. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  128. data/generated/google/apis/blogger_v2.rb +2 -3
  129. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  130. data/generated/google/apis/blogger_v2/service.rb +1 -2
  131. data/generated/google/apis/blogger_v3.rb +2 -3
  132. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  133. data/generated/google/apis/blogger_v3/service.rb +1 -2
  134. data/generated/google/apis/books_v1.rb +1 -1
  135. data/generated/google/apis/books_v1/classes.rb +140 -159
  136. data/generated/google/apis/books_v1/service.rb +47 -49
  137. data/generated/google/apis/calendar_v3.rb +1 -1
  138. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  139. data/generated/google/apis/chat_v1.rb +1 -1
  140. data/generated/google/apis/chat_v1/classes.rb +109 -115
  141. data/generated/google/apis/chat_v1/representations.rb +13 -0
  142. data/generated/google/apis/chat_v1/service.rb +65 -38
  143. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  144. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  145. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  146. data/generated/google/apis/civicinfo_v2.rb +1 -1
  147. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  148. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  149. data/generated/google/apis/classroom_v1.rb +1 -1
  150. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  151. data/generated/google/apis/classroom_v1/service.rb +643 -902
  152. data/generated/google/apis/cloudasset_v1.rb +1 -1
  153. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  154. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  155. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  157. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  158. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  159. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  160. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  161. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  162. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  163. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  164. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  165. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  166. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  167. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  168. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  169. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  170. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  171. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  172. data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
  173. data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
  174. data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
  175. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  176. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  177. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  178. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  179. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  181. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  183. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  184. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  185. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  186. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  187. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  188. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  189. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  190. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  191. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
  192. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  193. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  194. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  195. data/generated/google/apis/cloudidentity_v1/classes.rb +893 -75
  196. data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
  197. data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
  198. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  199. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
  200. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  201. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  202. data/generated/google/apis/cloudiot_v1.rb +1 -1
  203. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  204. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  205. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  206. data/generated/google/apis/cloudkms_v1.rb +1 -1
  207. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  208. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  209. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  210. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  211. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  212. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  213. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  214. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +510 -754
  215. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  216. data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
  217. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  218. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
  219. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  220. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
  221. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  222. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
  223. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  224. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  225. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  226. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +265 -414
  227. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  228. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  229. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  230. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  231. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  232. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  233. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  234. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  235. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  236. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  237. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  238. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  239. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  240. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  241. data/generated/google/apis/cloudshell_v1.rb +1 -1
  242. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  243. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  244. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  245. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  246. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  247. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  248. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  249. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  250. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  251. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  252. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  253. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  254. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  255. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  256. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  257. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  258. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  259. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  260. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  261. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  262. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  263. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  265. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  266. data/generated/google/apis/composer_v1.rb +1 -1
  267. data/generated/google/apis/composer_v1/classes.rb +190 -242
  268. data/generated/google/apis/composer_v1/service.rb +79 -150
  269. data/generated/google/apis/composer_v1beta1.rb +1 -1
  270. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  271. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  272. data/generated/google/apis/compute_alpha.rb +1 -1
  273. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  274. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  275. data/generated/google/apis/compute_alpha/service.rb +710 -699
  276. data/generated/google/apis/compute_beta.rb +1 -1
  277. data/generated/google/apis/compute_beta/classes.rb +607 -82
  278. data/generated/google/apis/compute_beta/representations.rb +114 -1
  279. data/generated/google/apis/compute_beta/service.rb +623 -612
  280. data/generated/google/apis/compute_v1.rb +1 -1
  281. data/generated/google/apis/compute_v1/classes.rb +1014 -99
  282. data/generated/google/apis/compute_v1/representations.rb +390 -15
  283. data/generated/google/apis/compute_v1/service.rb +809 -33
  284. data/generated/google/apis/container_v1.rb +1 -1
  285. data/generated/google/apis/container_v1/classes.rb +996 -965
  286. data/generated/google/apis/container_v1/representations.rb +75 -0
  287. data/generated/google/apis/container_v1/service.rb +435 -502
  288. data/generated/google/apis/container_v1beta1.rb +1 -1
  289. data/generated/google/apis/container_v1beta1/classes.rb +1066 -1044
  290. data/generated/google/apis/container_v1beta1/representations.rb +76 -0
  291. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  292. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  293. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  294. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  296. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  298. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  300. data/generated/google/apis/content_v2.rb +1 -1
  301. data/generated/google/apis/content_v2/classes.rb +20 -2
  302. data/generated/google/apis/content_v2/representations.rb +1 -0
  303. data/generated/google/apis/content_v2_1.rb +1 -1
  304. data/generated/google/apis/content_v2_1/classes.rb +122 -5
  305. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  306. data/generated/google/apis/content_v2_1/service.rb +53 -2
  307. data/generated/google/apis/customsearch_v1.rb +1 -1
  308. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  309. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  310. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  311. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -570
  312. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  313. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  314. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  315. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  316. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  317. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  318. data/generated/google/apis/datafusion_v1.rb +40 -0
  319. data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
  320. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -94
  321. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  322. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  323. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  324. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  325. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  326. data/generated/google/apis/dataproc_v1.rb +1 -1
  327. data/generated/google/apis/dataproc_v1/classes.rb +249 -327
  328. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  329. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  330. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  331. data/generated/google/apis/dataproc_v1beta2/classes.rb +272 -322
  332. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  333. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  334. data/generated/google/apis/datastore_v1.rb +1 -1
  335. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  336. data/generated/google/apis/datastore_v1/service.rb +52 -63
  337. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  338. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  339. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  340. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  341. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  342. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  343. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  344. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  345. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  346. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  347. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  348. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  349. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  350. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  351. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  352. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  353. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  354. data/generated/google/apis/dialogflow_v2.rb +1 -1
  355. data/generated/google/apis/dialogflow_v2/classes.rb +1381 -1563
  356. data/generated/google/apis/dialogflow_v2/representations.rb +68 -15
  357. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  358. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  359. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1462 -1643
  360. data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
  361. data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
  362. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  363. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -0
  364. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  365. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  366. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  367. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  368. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  369. data/generated/google/apis/displayvideo_v1.rb +7 -1
  370. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
  371. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  372. data/generated/google/apis/displayvideo_v1/service.rb +1287 -924
  373. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  374. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  375. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  376. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  377. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  378. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  379. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  380. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  381. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  382. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  385. data/generated/google/apis/dlp_v2.rb +1 -1
  386. data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
  387. data/generated/google/apis/dlp_v2/service.rb +962 -905
  388. data/generated/google/apis/dns_v1.rb +1 -1
  389. data/generated/google/apis/dns_v1/classes.rb +175 -198
  390. data/generated/google/apis/dns_v1/service.rb +82 -97
  391. data/generated/google/apis/dns_v1beta2.rb +1 -1
  392. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  393. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  394. data/generated/google/apis/docs_v1.rb +1 -1
  395. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  396. data/generated/google/apis/docs_v1/service.rb +17 -22
  397. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  398. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  399. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  400. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  401. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  402. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  403. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  404. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  405. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
  406. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  407. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  408. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
  409. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  410. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  411. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  412. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  413. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  414. data/generated/google/apis/drive_v2.rb +1 -1
  415. data/generated/google/apis/drive_v2/classes.rb +17 -7
  416. data/generated/google/apis/drive_v2/representations.rb +1 -0
  417. data/generated/google/apis/drive_v2/service.rb +79 -15
  418. data/generated/google/apis/drive_v3.rb +1 -1
  419. data/generated/google/apis/drive_v3/classes.rb +23 -7
  420. data/generated/google/apis/drive_v3/representations.rb +2 -0
  421. data/generated/google/apis/drive_v3/service.rb +59 -11
  422. data/generated/google/apis/driveactivity_v2.rb +1 -1
  423. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  424. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  425. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  426. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  427. data/generated/google/apis/fcm_v1.rb +1 -1
  428. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  429. data/generated/google/apis/fcm_v1/service.rb +5 -6
  430. data/generated/google/apis/file_v1.rb +1 -1
  431. data/generated/google/apis/file_v1/classes.rb +154 -173
  432. data/generated/google/apis/file_v1/service.rb +43 -52
  433. data/generated/google/apis/file_v1beta1.rb +1 -1
  434. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  435. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  436. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  437. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  438. data/generated/google/apis/firebase_v1beta1/classes.rb +325 -381
  439. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  440. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  441. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  442. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  443. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  444. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  445. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  446. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  447. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  448. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
  449. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  450. data/generated/google/apis/firebasehosting_v1beta1/service.rb +526 -145
  451. data/generated/google/apis/firebaseml_v1.rb +1 -1
  452. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  453. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  454. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  455. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  456. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  457. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  458. data/generated/google/apis/firebaserules_v1.rb +1 -1
  459. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  460. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  461. data/generated/google/apis/firestore_v1.rb +1 -1
  462. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  463. data/generated/google/apis/firestore_v1/service.rb +165 -201
  464. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  465. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  466. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  467. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  468. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  469. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  470. data/generated/google/apis/fitness_v1.rb +3 -3
  471. data/generated/google/apis/fitness_v1/classes.rb +172 -210
  472. data/generated/google/apis/fitness_v1/service.rb +125 -146
  473. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  474. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  475. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  476. data/generated/google/apis/games_management_v1management.rb +2 -3
  477. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  478. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  479. data/generated/google/apis/games_v1.rb +2 -3
  480. data/generated/google/apis/games_v1/classes.rb +77 -84
  481. data/generated/google/apis/games_v1/representations.rb +2 -0
  482. data/generated/google/apis/games_v1/service.rb +86 -92
  483. data/generated/google/apis/gameservices_v1.rb +1 -1
  484. data/generated/google/apis/gameservices_v1/classes.rb +351 -523
  485. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  486. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  487. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  488. data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
  489. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  490. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  491. data/generated/google/apis/genomics_v1.rb +1 -1
  492. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  493. data/generated/google/apis/genomics_v1/service.rb +28 -43
  494. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  495. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  496. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  497. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  498. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  499. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  500. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  501. data/generated/google/apis/gmail_v1.rb +3 -3
  502. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  503. data/generated/google/apis/gmail_v1/service.rb +260 -287
  504. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  505. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  506. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  507. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  508. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  509. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  510. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  511. data/generated/google/apis/healthcare_v1.rb +1 -1
  512. data/generated/google/apis/healthcare_v1/classes.rb +635 -826
  513. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  514. data/generated/google/apis/healthcare_v1/service.rb +843 -843
  515. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  516. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  517. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  518. data/generated/google/apis/healthcare_v1beta1/service.rb +1150 -1108
  519. data/generated/google/apis/homegraph_v1.rb +4 -1
  520. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  521. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  522. data/generated/google/apis/iam_v1.rb +5 -2
  523. data/generated/google/apis/iam_v1/classes.rb +395 -592
  524. data/generated/google/apis/iam_v1/representations.rb +1 -0
  525. data/generated/google/apis/iam_v1/service.rb +429 -555
  526. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  527. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  528. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  529. data/generated/google/apis/iap_v1.rb +1 -1
  530. data/generated/google/apis/iap_v1/classes.rb +253 -355
  531. data/generated/google/apis/iap_v1/representations.rb +1 -0
  532. data/generated/google/apis/iap_v1/service.rb +61 -71
  533. data/generated/google/apis/iap_v1beta1.rb +1 -1
  534. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  535. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  536. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  537. data/generated/google/apis/indexing_v3.rb +1 -1
  538. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  539. data/generated/google/apis/jobs_v2.rb +1 -1
  540. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  541. data/generated/google/apis/jobs_v2/service.rb +85 -126
  542. data/generated/google/apis/jobs_v3.rb +1 -1
  543. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  544. data/generated/google/apis/jobs_v3/service.rb +101 -139
  545. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  546. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  547. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  548. data/generated/google/apis/kgsearch_v1.rb +1 -1
  549. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  550. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  551. data/generated/google/apis/language_v1.rb +1 -1
  552. data/generated/google/apis/language_v1/classes.rb +93 -111
  553. data/generated/google/apis/language_v1/service.rb +4 -4
  554. data/generated/google/apis/language_v1beta1.rb +1 -1
  555. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  556. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  557. data/generated/google/apis/language_v1beta2.rb +1 -1
  558. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  559. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  560. data/generated/google/apis/libraryagent_v1.rb +1 -1
  561. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  562. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  563. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  564. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/localservices_v1.rb +31 -0
  567. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/logging_v2.rb +1 -1
  571. data/generated/google/apis/logging_v2/classes.rb +174 -214
  572. data/generated/google/apis/logging_v2/representations.rb +15 -0
  573. data/generated/google/apis/logging_v2/service.rb +1017 -584
  574. data/generated/google/apis/managedidentities_v1.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  576. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  577. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  578. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
  579. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  580. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  581. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  582. data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
  583. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  584. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  585. data/generated/google/apis/manufacturers_v1.rb +1 -1
  586. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  587. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  588. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  589. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  590. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  591. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  592. data/generated/google/apis/ml_v1.rb +1 -1
  593. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  594. data/generated/google/apis/ml_v1/representations.rb +65 -0
  595. data/generated/google/apis/ml_v1/service.rb +194 -253
  596. data/generated/google/apis/monitoring_v1.rb +1 -1
  597. data/generated/google/apis/monitoring_v1/classes.rb +121 -38
  598. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  599. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  600. data/generated/google/apis/monitoring_v3.rb +1 -1
  601. data/generated/google/apis/monitoring_v3/classes.rb +253 -337
  602. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  603. data/generated/google/apis/monitoring_v3/service.rb +126 -144
  604. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  605. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  606. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  607. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  608. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  609. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  610. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  611. data/generated/google/apis/osconfig_v1.rb +1 -1
  612. data/generated/google/apis/osconfig_v1/classes.rb +227 -179
  613. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  614. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  615. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  616. data/generated/google/apis/osconfig_v1beta/classes.rb +400 -409
  617. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  618. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  619. data/generated/google/apis/oslogin_v1.rb +1 -1
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  627. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/people_v1.rb +1 -1
  635. data/generated/google/apis/people_v1/classes.rb +493 -403
  636. data/generated/google/apis/people_v1/representations.rb +98 -0
  637. data/generated/google/apis/people_v1/service.rb +169 -385
  638. data/generated/google/apis/playablelocations_v3.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  644. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  645. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  646. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  647. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  648. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  649. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  650. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -219
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
  654. data/generated/google/apis/pubsub_v1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +407 -512
  656. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  658. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  663. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  664. data/generated/google/apis/pubsublite_v1.rb +34 -0
  665. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  666. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  667. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  668. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  669. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  670. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  671. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  672. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
  673. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  674. data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
  675. data/generated/google/apis/recommender_v1.rb +1 -1
  676. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  677. data/generated/google/apis/recommender_v1/service.rb +43 -58
  678. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  679. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  680. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  681. data/generated/google/apis/redis_v1.rb +1 -1
  682. data/generated/google/apis/redis_v1/classes.rb +477 -116
  683. data/generated/google/apis/redis_v1/representations.rb +139 -0
  684. data/generated/google/apis/redis_v1/service.rb +93 -110
  685. data/generated/google/apis/redis_v1beta1.rb +1 -1
  686. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  687. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  688. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  689. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  690. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  691. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  692. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  693. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  694. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  695. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  696. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  697. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  698. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  699. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  700. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  701. data/generated/google/apis/run_v1.rb +1 -1
  702. data/generated/google/apis/run_v1/classes.rb +837 -1249
  703. data/generated/google/apis/run_v1/representations.rb +1 -1
  704. data/generated/google/apis/run_v1/service.rb +233 -247
  705. data/generated/google/apis/run_v1alpha1.rb +1 -1
  706. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  707. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  708. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  709. data/generated/google/apis/run_v1beta1.rb +1 -1
  710. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  711. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  712. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  713. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  714. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  715. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  726. data/generated/google/apis/script_v1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/searchconsole_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  731. data/generated/google/apis/secretmanager_v1.rb +1 -1
  732. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  733. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  734. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  735. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  736. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  737. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  738. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  739. data/generated/google/apis/securitycenter_v1.rb +1 -1
  740. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  741. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  742. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  743. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  744. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  745. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  746. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  747. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  753. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  754. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  755. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  757. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  758. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  759. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  760. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  761. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  762. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  763. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  764. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  765. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  766. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  767. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  768. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  769. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  770. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  771. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  772. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  773. data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
  774. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  775. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  776. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  777. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  778. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  779. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  780. data/generated/google/apis/serviceusage_v1.rb +1 -1
  781. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  782. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  783. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  784. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  785. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  786. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  787. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  788. data/generated/google/apis/sheets_v4.rb +1 -1
  789. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  790. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  791. data/generated/google/apis/sheets_v4/service.rb +113 -149
  792. data/generated/google/apis/site_verification_v1.rb +1 -1
  793. data/generated/google/apis/slides_v1.rb +1 -1
  794. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  795. data/generated/google/apis/slides_v1/service.rb +23 -30
  796. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  797. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  798. data/generated/google/apis/spanner_v1.rb +1 -1
  799. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  800. data/generated/google/apis/spanner_v1/service.rb +443 -618
  801. data/generated/google/apis/speech_v1.rb +1 -1
  802. data/generated/google/apis/speech_v1/classes.rb +174 -220
  803. data/generated/google/apis/speech_v1/service.rb +27 -32
  804. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  805. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  806. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  807. data/generated/google/apis/speech_v2beta1.rb +1 -1
  808. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  809. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  810. data/generated/google/apis/sql_v1beta4.rb +1 -1
  811. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  812. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  813. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  814. data/generated/google/apis/storage_v1.rb +1 -1
  815. data/generated/google/apis/storage_v1/classes.rb +8 -7
  816. data/generated/google/apis/storage_v1/representations.rb +2 -2
  817. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  818. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  819. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  820. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  821. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  822. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  823. data/generated/google/apis/sts_v1.rb +32 -0
  824. data/generated/google/apis/sts_v1/classes.rb +120 -0
  825. data/generated/google/apis/sts_v1/representations.rb +59 -0
  826. data/generated/google/apis/sts_v1/service.rb +90 -0
  827. data/generated/google/apis/sts_v1beta.rb +32 -0
  828. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  829. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  830. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  831. data/generated/google/apis/tagmanager_v1.rb +2 -3
  832. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  833. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  834. data/generated/google/apis/tagmanager_v2.rb +2 -3
  835. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  836. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  837. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  838. data/generated/google/apis/tasks_v1.rb +1 -1
  839. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  840. data/generated/google/apis/tasks_v1/service.rb +16 -17
  841. data/generated/google/apis/testing_v1.rb +1 -1
  842. data/generated/google/apis/testing_v1/classes.rb +374 -376
  843. data/generated/google/apis/testing_v1/representations.rb +34 -0
  844. data/generated/google/apis/testing_v1/service.rb +22 -28
  845. data/generated/google/apis/texttospeech_v1.rb +1 -1
  846. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  847. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  848. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  849. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  850. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  851. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  852. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  853. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  854. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  855. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  856. data/generated/google/apis/tpu_v1.rb +1 -1
  857. data/generated/google/apis/tpu_v1/classes.rb +122 -78
  858. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  859. data/generated/google/apis/tpu_v1/service.rb +21 -25
  860. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  861. data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
  862. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  863. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  864. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  865. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  866. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  867. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  868. data/generated/google/apis/translate_v3.rb +1 -1
  869. data/generated/google/apis/translate_v3/classes.rb +148 -175
  870. data/generated/google/apis/translate_v3/service.rb +122 -138
  871. data/generated/google/apis/translate_v3beta1.rb +1 -1
  872. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  873. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  874. data/generated/google/apis/vault_v1.rb +1 -1
  875. data/generated/google/apis/vault_v1/classes.rb +80 -103
  876. data/generated/google/apis/vault_v1/service.rb +31 -37
  877. data/generated/google/apis/vectortile_v1.rb +1 -1
  878. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  879. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  880. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  881. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  882. data/generated/google/apis/videointelligence_v1.rb +1 -1
  883. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  884. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  885. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  886. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  887. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  888. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  889. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  890. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  891. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  892. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  893. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  894. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  896. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  897. data/generated/google/apis/vision_v1.rb +1 -1
  898. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  899. data/generated/google/apis/vision_v1/service.rb +254 -340
  900. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  901. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  902. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  903. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  904. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  905. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  906. data/generated/google/apis/webfonts_v1.rb +2 -3
  907. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  908. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  909. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  910. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  911. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  912. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  913. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  914. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  915. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  916. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  917. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  918. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
  919. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  920. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  921. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
  922. data/generated/google/apis/workflows_v1beta.rb +34 -0
  923. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  924. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  925. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  926. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  927. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  928. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  929. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  930. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  931. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  932. data/generated/google/apis/youtube_v3.rb +1 -1
  933. data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
  934. data/generated/google/apis/youtube_v3/representations.rb +177 -0
  935. data/generated/google/apis/youtube_v3/service.rb +1159 -1390
  936. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  937. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  938. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  939. data/google-api-client.gemspec +2 -1
  940. data/lib/google/apis/core/base_service.rb +7 -1
  941. data/lib/google/apis/version.rb +1 -1
  942. metadata +94 -32
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  945. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  946. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  947. data/generated/google/apis/dns_v2beta1.rb +0 -43
  948. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  949. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  950. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  951. data/generated/google/apis/oauth2_v2.rb +0 -40
  952. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  953. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  954. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  955. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  956. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  957. data/generated/google/apis/storage_v1beta2.rb +0 -40
  958. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  959. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  960. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -1,1326 +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 SecuritycenterV1p1beta1
23
- # Security Command Center API
24
- #
25
- # Security Command Center API provides access to temporal views of assets and
26
- # findings within an organization.
27
- #
28
- # @example
29
- # require 'google/apis/securitycenter_v1p1beta1'
30
- #
31
- # Securitycenter = Google::Apis::SecuritycenterV1p1beta1 # Alias the module
32
- # service = Securitycenter::SecurityCommandCenterService.new
33
- #
34
- # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
35
- class SecurityCommandCenterService < 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://securitycenter.googleapis.com/', '')
48
- @batch_path = 'batch'
49
- end
50
-
51
- # Gets the settings for an organization.
52
- # @param [String] name
53
- # Required. Name of the organization to get organization settings for. Its
54
- # format is
55
- # "organizations/[organization_id]/organizationSettings".
56
- # @param [String] fields
57
- # Selector specifying which fields to include in a partial response.
58
- # @param [String] quota_user
59
- # Available to use for quota purposes for server-side applications. Can be any
60
- # arbitrary string assigned to a user, but should not exceed 40 characters.
61
- # @param [Google::Apis::RequestOptions] options
62
- # Request-specific options
63
- #
64
- # @yield [result, err] Result & error if block supplied
65
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings] parsed result object
66
- # @yieldparam err [StandardError] error object if request failed
67
- #
68
- # @return [Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings]
69
- #
70
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
- # @raise [Google::Apis::AuthorizationError] Authorization is required
73
- def get_organization_organization_settings(name, fields: nil, quota_user: nil, options: nil, &block)
74
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
75
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings::Representation
76
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings
77
- command.params['name'] = name unless name.nil?
78
- command.query['fields'] = fields unless fields.nil?
79
- command.query['quotaUser'] = quota_user unless quota_user.nil?
80
- execute_or_queue_command(command, &block)
81
- end
82
-
83
- # Updates an organization's settings.
84
- # @param [String] name
85
- # The relative resource name of the settings. See:
86
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
87
- # Example:
88
- # "organizations/`organization_id`/organizationSettings".
89
- # @param [Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings] organization_settings_object
90
- # @param [String] update_mask
91
- # The FieldMask to use when updating the settings resource.
92
- # If empty all mutable fields will be updated.
93
- # @param [String] fields
94
- # Selector specifying which fields to include in a partial response.
95
- # @param [String] quota_user
96
- # Available to use for quota purposes for server-side applications. Can be any
97
- # arbitrary string assigned to a user, but should not exceed 40 characters.
98
- # @param [Google::Apis::RequestOptions] options
99
- # Request-specific options
100
- #
101
- # @yield [result, err] Result & error if block supplied
102
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings] parsed result object
103
- # @yieldparam err [StandardError] error object if request failed
104
- #
105
- # @return [Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings]
106
- #
107
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
- # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def update_organization_organization_settings(name, organization_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
111
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
112
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings::Representation
113
- command.request_object = organization_settings_object
114
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings::Representation
115
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::OrganizationSettings
116
- command.params['name'] = name unless name.nil?
117
- command.query['updateMask'] = update_mask unless update_mask.nil?
118
- command.query['fields'] = fields unless fields.nil?
119
- command.query['quotaUser'] = quota_user unless quota_user.nil?
120
- execute_or_queue_command(command, &block)
121
- end
122
-
123
- # Filters an organization's assets and groups them by their specified
124
- # properties.
125
- # @param [String] parent
126
- # Required. Name of the organization to groupBy. Its format is
127
- # "organizations/[organization_id]".
128
- # @param [Google::Apis::SecuritycenterV1p1beta1::GroupAssetsRequest] group_assets_request_object
129
- # @param [String] fields
130
- # Selector specifying which fields to include in a partial response.
131
- # @param [String] quota_user
132
- # Available to use for quota purposes for server-side applications. Can be any
133
- # arbitrary string assigned to a user, but should not exceed 40 characters.
134
- # @param [Google::Apis::RequestOptions] options
135
- # Request-specific options
136
- #
137
- # @yield [result, err] Result & error if block supplied
138
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GroupAssetsResponse] parsed result object
139
- # @yieldparam err [StandardError] error object if request failed
140
- #
141
- # @return [Google::Apis::SecuritycenterV1p1beta1::GroupAssetsResponse]
142
- #
143
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
- # @raise [Google::Apis::AuthorizationError] Authorization is required
146
- def group_assets(parent, group_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
147
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/assets:group', options)
148
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GroupAssetsRequest::Representation
149
- command.request_object = group_assets_request_object
150
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GroupAssetsResponse::Representation
151
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GroupAssetsResponse
152
- command.params['parent'] = parent unless parent.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
- # Lists an organization's assets.
159
- # @param [String] parent
160
- # Required. Name of the organization assets should belong to. Its format is
161
- # "organizations/[organization_id]".
162
- # @param [String] compare_duration
163
- # When compare_duration is set, the ListAssetsResult's "state_change"
164
- # attribute is updated to indicate whether the asset was added, removed, or
165
- # remained present during the compare_duration period of time that precedes
166
- # the read_time. This is the time between (read_time - compare_duration) and
167
- # read_time.
168
- # The state_change value is derived based on the presence of the asset at the
169
- # two points in time. Intermediate state changes between the two times don't
170
- # affect the result. For example, the results aren't affected if the asset is
171
- # removed and re-created again.
172
- # Possible "state_change" values when compare_duration is specified:
173
- # * "ADDED": indicates that the asset was not present at the start of
174
- # compare_duration, but present at read_time.
175
- # * "REMOVED": indicates that the asset was present at the start of
176
- # compare_duration, but not present at read_time.
177
- # * "ACTIVE": indicates that the asset was present at both the
178
- # start and the end of the time period defined by
179
- # compare_duration and read_time.
180
- # If compare_duration is not specified, then the only possible state_change
181
- # is "UNUSED", which will be the state_change set for all assets present at
182
- # read_time.
183
- # @param [String] field_mask
184
- # A field mask to specify the ListAssetsResult fields to be listed in the
185
- # response.
186
- # An empty field mask will list all fields.
187
- # @param [String] filter
188
- # Expression that defines the filter to apply across assets.
189
- # The expression is a list of zero or more restrictions combined via logical
190
- # operators `AND` and `OR`.
191
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
192
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
193
- # character in front of them to indicate negation. The fields map to those
194
- # defined in the Asset resource. Examples include:
195
- # * name
196
- # * security_center_properties.resource_name
197
- # * resource_properties.a_property
198
- # * security_marks.marks.marka
199
- # The supported operators are:
200
- # * `=` for all value types.
201
- # * `>`, `<`, `>=`, `<=` for integer values.
202
- # * `:`, meaning substring matching, for strings.
203
- # The supported value types are:
204
- # * string literals in quotes.
205
- # * integer literals without quotes.
206
- # * boolean literals `true` and `false` without quotes.
207
- # The following are the allowed field and operator combinations:
208
- # * name: `=`
209
- # * update_time: `=`, `>`, `<`, `>=`, `<=`
210
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
211
- # Examples:
212
- # `update_time = "2019-06-10T16:07:18-07:00"`
213
- # `update_time = 1560208038000`
214
- # * create_time: `=`, `>`, `<`, `>=`, `<=`
215
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
216
- # Examples:
217
- # `create_time = "2019-06-10T16:07:18-07:00"`
218
- # `create_time = 1560208038000`
219
- # * iam_policy.policy_blob: `=`, `:`
220
- # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
221
- # * security_marks.marks: `=`, `:`
222
- # * security_center_properties.resource_name: `=`, `:`
223
- # * security_center_properties.resource_display_name: `=`, `:`
224
- # * security_center_properties.resource_type: `=`, `:`
225
- # * security_center_properties.resource_parent: `=`, `:`
226
- # * security_center_properties.resource_parent_display_name: `=`, `:`
227
- # * security_center_properties.resource_project: `=`, `:`
228
- # * security_center_properties.resource_project_display_name: `=`, `:`
229
- # * security_center_properties.resource_owners: `=`, `:`
230
- # For example, `resource_properties.size = 100` is a valid filter string.
231
- # Use a partial match on the empty string to filter based on a property
232
- # existing: `resource_properties.my_property : ""`
233
- # Use a negated partial match on the empty string to filter based on a
234
- # property not existing: `-resource_properties.my_property : ""`
235
- # @param [String] order_by
236
- # Expression that defines what fields and order to use for sorting. The
237
- # string value should follow SQL syntax: comma separated list of fields. For
238
- # example: "name,resource_properties.a_property". The default sorting order
239
- # is ascending. To specify descending order for a field, a suffix " desc"
240
- # should be appended to the field name. For example: "name
241
- # desc,resource_properties.a_property". Redundant space characters in the
242
- # syntax are insignificant. "name desc,resource_properties.a_property" and "
243
- # name desc , resource_properties.a_property " are equivalent.
244
- # The following fields are supported:
245
- # name
246
- # update_time
247
- # resource_properties
248
- # security_marks.marks
249
- # security_center_properties.resource_name
250
- # security_center_properties.resource_display_name
251
- # security_center_properties.resource_parent
252
- # security_center_properties.resource_parent_display_name
253
- # security_center_properties.resource_project
254
- # security_center_properties.resource_project_display_name
255
- # security_center_properties.resource_type
256
- # @param [Fixnum] page_size
257
- # The maximum number of results to return in a single response. Default is
258
- # 10, minimum is 1, maximum is 1000.
259
- # @param [String] page_token
260
- # The value returned by the last `ListAssetsResponse`; indicates
261
- # that this is a continuation of a prior `ListAssets` call, and
262
- # that the system should return the next page of data.
263
- # @param [String] read_time
264
- # Time used as a reference point when filtering assets. The filter is limited
265
- # to assets existing at the supplied time and their values are those at that
266
- # specific time. Absence of this field will default to the API's version of
267
- # NOW.
268
- # @param [String] fields
269
- # Selector specifying which fields to include in a partial response.
270
- # @param [String] quota_user
271
- # Available to use for quota purposes for server-side applications. Can be any
272
- # arbitrary string assigned to a user, but should not exceed 40 characters.
273
- # @param [Google::Apis::RequestOptions] options
274
- # Request-specific options
275
- #
276
- # @yield [result, err] Result & error if block supplied
277
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::ListAssetsResponse] parsed result object
278
- # @yieldparam err [StandardError] error object if request failed
279
- #
280
- # @return [Google::Apis::SecuritycenterV1p1beta1::ListAssetsResponse]
281
- #
282
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
- # @raise [Google::Apis::AuthorizationError] Authorization is required
285
- def list_organization_assets(parent, compare_duration: nil, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, fields: nil, quota_user: nil, options: nil, &block)
286
- command = make_simple_command(:get, 'v1p1beta1/{+parent}/assets', options)
287
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListAssetsResponse::Representation
288
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListAssetsResponse
289
- command.params['parent'] = parent unless parent.nil?
290
- command.query['compareDuration'] = compare_duration unless compare_duration.nil?
291
- command.query['fieldMask'] = field_mask unless field_mask.nil?
292
- command.query['filter'] = filter unless filter.nil?
293
- command.query['orderBy'] = order_by unless order_by.nil?
294
- command.query['pageSize'] = page_size unless page_size.nil?
295
- command.query['pageToken'] = page_token unless page_token.nil?
296
- command.query['readTime'] = read_time unless read_time.nil?
297
- command.query['fields'] = fields unless fields.nil?
298
- command.query['quotaUser'] = quota_user unless quota_user.nil?
299
- execute_or_queue_command(command, &block)
300
- end
301
-
302
- # Runs asset discovery. The discovery is tracked with a long-running
303
- # operation.
304
- # //
305
- # This API can only be called with limited frequency for an organization. If
306
- # it is called too frequently the caller will receive a TOO_MANY_REQUESTS
307
- # error.
308
- # @param [String] parent
309
- # Required. Name of the organization to run asset discovery for. Its format is
310
- # "organizations/[organization_id]".
311
- # @param [Google::Apis::SecuritycenterV1p1beta1::RunAssetDiscoveryRequest] run_asset_discovery_request_object
312
- # @param [String] fields
313
- # Selector specifying which fields to include in a partial response.
314
- # @param [String] quota_user
315
- # Available to use for quota purposes for server-side applications. Can be any
316
- # arbitrary string assigned to a user, but should not exceed 40 characters.
317
- # @param [Google::Apis::RequestOptions] options
318
- # Request-specific options
319
- #
320
- # @yield [result, err] Result & error if block supplied
321
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Operation] parsed result object
322
- # @yieldparam err [StandardError] error object if request failed
323
- #
324
- # @return [Google::Apis::SecuritycenterV1p1beta1::Operation]
325
- #
326
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
327
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
- # @raise [Google::Apis::AuthorizationError] Authorization is required
329
- def run_organization_asset_discovery(parent, run_asset_discovery_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
330
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/assets:runDiscovery', options)
331
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::RunAssetDiscoveryRequest::Representation
332
- command.request_object = run_asset_discovery_request_object
333
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Operation::Representation
334
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Operation
335
- command.params['parent'] = parent unless parent.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
- # Updates security marks.
342
- # @param [String] name
343
- # The relative resource name of the SecurityMarks. See:
344
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
345
- # Examples:
346
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
347
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
348
- # securityMarks".
349
- # @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks] google_cloud_securitycenter_v1p1beta1_security_marks_object
350
- # @param [String] start_time
351
- # The time at which the updated SecurityMarks take effect.
352
- # If not set uses current server time. Updates will be applied to the
353
- # SecurityMarks that are active immediately preceding this time.
354
- # @param [String] update_mask
355
- # The FieldMask to use when updating the security marks resource.
356
- # The field mask must not contain duplicate fields.
357
- # If empty or set to "marks", all marks will be replaced. Individual
358
- # marks can be updated using "marks.<mark_key>".
359
- # @param [String] fields
360
- # Selector specifying which fields to include in a partial response.
361
- # @param [String] quota_user
362
- # Available to use for quota purposes for server-side applications. Can be any
363
- # arbitrary string assigned to a user, but should not exceed 40 characters.
364
- # @param [Google::Apis::RequestOptions] options
365
- # Request-specific options
366
- #
367
- # @yield [result, err] Result & error if block supplied
368
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks] parsed result object
369
- # @yieldparam err [StandardError] error object if request failed
370
- #
371
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
372
- #
373
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
374
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
- # @raise [Google::Apis::AuthorizationError] Authorization is required
376
- def update_organization_asset_security_marks(name, google_cloud_securitycenter_v1p1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
377
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
378
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
379
- command.request_object = google_cloud_securitycenter_v1p1beta1_security_marks_object
380
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
381
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks
382
- command.params['name'] = name unless name.nil?
383
- command.query['startTime'] = start_time unless start_time.nil?
384
- command.query['updateMask'] = update_mask unless update_mask.nil?
385
- command.query['fields'] = fields unless fields.nil?
386
- command.query['quotaUser'] = quota_user unless quota_user.nil?
387
- execute_or_queue_command(command, &block)
388
- end
389
-
390
- # Creates a notification config.
391
- # @param [String] parent
392
- # Required. Resource name of the new notification config's parent. Its format is
393
- # "organizations/[organization_id]".
394
- # @param [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig] notification_config_object
395
- # @param [String] config_id
396
- # Required.
397
- # Unique identifier provided by the client within the parent scope.
398
- # It must be between 1 and 128 characters, and contains alphanumeric
399
- # characters, underscores or hyphens only.
400
- # @param [String] fields
401
- # Selector specifying which fields to include in a partial response.
402
- # @param [String] quota_user
403
- # Available to use for quota purposes for server-side applications. Can be any
404
- # arbitrary string assigned to a user, but should not exceed 40 characters.
405
- # @param [Google::Apis::RequestOptions] options
406
- # Request-specific options
407
- #
408
- # @yield [result, err] Result & error if block supplied
409
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig] parsed result object
410
- # @yieldparam err [StandardError] error object if request failed
411
- #
412
- # @return [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig]
413
- #
414
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
415
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
416
- # @raise [Google::Apis::AuthorizationError] Authorization is required
417
- def create_organization_notification_config(parent, notification_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
418
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/notificationConfigs', options)
419
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig::Representation
420
- command.request_object = notification_config_object
421
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig::Representation
422
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig
423
- command.params['parent'] = parent unless parent.nil?
424
- command.query['configId'] = config_id unless config_id.nil?
425
- command.query['fields'] = fields unless fields.nil?
426
- command.query['quotaUser'] = quota_user unless quota_user.nil?
427
- execute_or_queue_command(command, &block)
428
- end
429
-
430
- # Deletes a notification config.
431
- # @param [String] name
432
- # Required. Name of the notification config to delete. Its format is
433
- # "organizations/[organization_id]/notificationConfigs/[config_id]".
434
- # @param [String] fields
435
- # Selector specifying which fields to include in a partial response.
436
- # @param [String] quota_user
437
- # Available to use for quota purposes for server-side applications. Can be any
438
- # arbitrary string assigned to a user, but should not exceed 40 characters.
439
- # @param [Google::Apis::RequestOptions] options
440
- # Request-specific options
441
- #
442
- # @yield [result, err] Result & error if block supplied
443
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Empty] parsed result object
444
- # @yieldparam err [StandardError] error object if request failed
445
- #
446
- # @return [Google::Apis::SecuritycenterV1p1beta1::Empty]
447
- #
448
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
- # @raise [Google::Apis::AuthorizationError] Authorization is required
451
- def delete_organization_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
452
- command = make_simple_command(:delete, 'v1p1beta1/{+name}', options)
453
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Empty::Representation
454
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Empty
455
- command.params['name'] = name unless name.nil?
456
- command.query['fields'] = fields unless fields.nil?
457
- command.query['quotaUser'] = quota_user unless quota_user.nil?
458
- execute_or_queue_command(command, &block)
459
- end
460
-
461
- # Gets a notification config.
462
- # @param [String] name
463
- # Required. Name of the notification config to get. Its format is
464
- # "organizations/[organization_id]/notificationConfigs/[config_id]".
465
- # @param [String] fields
466
- # Selector specifying which fields to include in a partial response.
467
- # @param [String] quota_user
468
- # Available to use for quota purposes for server-side applications. Can be any
469
- # arbitrary string assigned to a user, but should not exceed 40 characters.
470
- # @param [Google::Apis::RequestOptions] options
471
- # Request-specific options
472
- #
473
- # @yield [result, err] Result & error if block supplied
474
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig] parsed result object
475
- # @yieldparam err [StandardError] error object if request failed
476
- #
477
- # @return [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig]
478
- #
479
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
- # @raise [Google::Apis::AuthorizationError] Authorization is required
482
- def get_organization_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
483
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
484
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig::Representation
485
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig
486
- command.params['name'] = name unless name.nil?
487
- command.query['fields'] = fields unless fields.nil?
488
- command.query['quotaUser'] = quota_user unless quota_user.nil?
489
- execute_or_queue_command(command, &block)
490
- end
491
-
492
- # Lists notification configs.
493
- # @param [String] parent
494
- # Required. Name of the organization to list notification configs.
495
- # Its format is "organizations/[organization_id]".
496
- # @param [Fixnum] page_size
497
- # The maximum number of results to return in a single response. Default is
498
- # 10, minimum is 1, maximum is 1000.
499
- # @param [String] page_token
500
- # The value returned by the last `ListNotificationConfigsResponse`; indicates
501
- # that this is a continuation of a prior `ListNotificationConfigs` call, and
502
- # that the system should return the next page of data.
503
- # @param [String] fields
504
- # Selector specifying which fields to include in a partial response.
505
- # @param [String] quota_user
506
- # Available to use for quota purposes for server-side applications. Can be any
507
- # arbitrary string assigned to a user, but should not exceed 40 characters.
508
- # @param [Google::Apis::RequestOptions] options
509
- # Request-specific options
510
- #
511
- # @yield [result, err] Result & error if block supplied
512
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::ListNotificationConfigsResponse] parsed result object
513
- # @yieldparam err [StandardError] error object if request failed
514
- #
515
- # @return [Google::Apis::SecuritycenterV1p1beta1::ListNotificationConfigsResponse]
516
- #
517
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
518
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
- # @raise [Google::Apis::AuthorizationError] Authorization is required
520
- def list_organization_notification_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
521
- command = make_simple_command(:get, 'v1p1beta1/{+parent}/notificationConfigs', options)
522
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListNotificationConfigsResponse::Representation
523
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListNotificationConfigsResponse
524
- command.params['parent'] = parent unless parent.nil?
525
- command.query['pageSize'] = page_size unless page_size.nil?
526
- command.query['pageToken'] = page_token unless page_token.nil?
527
- command.query['fields'] = fields unless fields.nil?
528
- command.query['quotaUser'] = quota_user unless quota_user.nil?
529
- execute_or_queue_command(command, &block)
530
- end
531
-
532
- # Updates a notification config. The following update
533
- # fields are allowed: description, pubsub_topic, streaming_config.filter
534
- # @param [String] name
535
- # The relative resource name of this notification config. See:
536
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
537
- # Example:
538
- # "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
539
- # @param [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig] notification_config_object
540
- # @param [String] update_mask
541
- # The FieldMask to use when updating the notification config.
542
- # If empty all mutable fields will be updated.
543
- # @param [String] fields
544
- # Selector specifying which fields to include in a partial response.
545
- # @param [String] quota_user
546
- # Available to use for quota purposes for server-side applications. Can be any
547
- # arbitrary string assigned to a user, but should not exceed 40 characters.
548
- # @param [Google::Apis::RequestOptions] options
549
- # Request-specific options
550
- #
551
- # @yield [result, err] Result & error if block supplied
552
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig] parsed result object
553
- # @yieldparam err [StandardError] error object if request failed
554
- #
555
- # @return [Google::Apis::SecuritycenterV1p1beta1::NotificationConfig]
556
- #
557
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
- # @raise [Google::Apis::AuthorizationError] Authorization is required
560
- def patch_organization_notification_config(name, notification_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
561
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
562
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig::Representation
563
- command.request_object = notification_config_object
564
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig::Representation
565
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::NotificationConfig
566
- command.params['name'] = name unless name.nil?
567
- command.query['updateMask'] = update_mask unless update_mask.nil?
568
- command.query['fields'] = fields unless fields.nil?
569
- command.query['quotaUser'] = quota_user unless quota_user.nil?
570
- execute_or_queue_command(command, &block)
571
- end
572
-
573
- # Starts asynchronous cancellation on a long-running operation. The server
574
- # makes a best effort to cancel the operation, but success is not
575
- # guaranteed. If the server doesn't support this method, it returns
576
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
577
- # Operations.GetOperation or
578
- # other methods to check whether the cancellation succeeded or whether the
579
- # operation completed despite cancellation. On successful cancellation,
580
- # the operation is not deleted; instead, it becomes an operation with
581
- # an Operation.error value with a google.rpc.Status.code of 1,
582
- # corresponding to `Code.CANCELLED`.
583
- # @param [String] name
584
- # The name of the operation resource to be cancelled.
585
- # @param [String] fields
586
- # Selector specifying which fields to include in a partial response.
587
- # @param [String] quota_user
588
- # Available to use for quota purposes for server-side applications. Can be any
589
- # arbitrary string assigned to a user, but should not exceed 40 characters.
590
- # @param [Google::Apis::RequestOptions] options
591
- # Request-specific options
592
- #
593
- # @yield [result, err] Result & error if block supplied
594
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Empty] parsed result object
595
- # @yieldparam err [StandardError] error object if request failed
596
- #
597
- # @return [Google::Apis::SecuritycenterV1p1beta1::Empty]
598
- #
599
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
600
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
601
- # @raise [Google::Apis::AuthorizationError] Authorization is required
602
- def cancel_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
603
- command = make_simple_command(:post, 'v1p1beta1/{+name}:cancel', options)
604
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Empty::Representation
605
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Empty
606
- command.params['name'] = name unless name.nil?
607
- command.query['fields'] = fields unless fields.nil?
608
- command.query['quotaUser'] = quota_user unless quota_user.nil?
609
- execute_or_queue_command(command, &block)
610
- end
611
-
612
- # Deletes a long-running operation. This method indicates that the client is
613
- # no longer interested in the operation result. It does not cancel the
614
- # operation. If the server doesn't support this method, it returns
615
- # `google.rpc.Code.UNIMPLEMENTED`.
616
- # @param [String] name
617
- # The name of the operation resource to be deleted.
618
- # @param [String] fields
619
- # Selector specifying which fields to include in a partial response.
620
- # @param [String] quota_user
621
- # Available to use for quota purposes for server-side applications. Can be any
622
- # arbitrary string assigned to a user, but should not exceed 40 characters.
623
- # @param [Google::Apis::RequestOptions] options
624
- # Request-specific options
625
- #
626
- # @yield [result, err] Result & error if block supplied
627
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Empty] parsed result object
628
- # @yieldparam err [StandardError] error object if request failed
629
- #
630
- # @return [Google::Apis::SecuritycenterV1p1beta1::Empty]
631
- #
632
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
633
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
634
- # @raise [Google::Apis::AuthorizationError] Authorization is required
635
- def delete_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
636
- command = make_simple_command(:delete, 'v1p1beta1/{+name}', options)
637
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Empty::Representation
638
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Empty
639
- command.params['name'] = name unless name.nil?
640
- command.query['fields'] = fields unless fields.nil?
641
- command.query['quotaUser'] = quota_user unless quota_user.nil?
642
- execute_or_queue_command(command, &block)
643
- end
644
-
645
- # Gets the latest state of a long-running operation. Clients can use this
646
- # method to poll the operation result at intervals as recommended by the API
647
- # service.
648
- # @param [String] name
649
- # The name of the operation resource.
650
- # @param [String] fields
651
- # Selector specifying which fields to include in a partial response.
652
- # @param [String] quota_user
653
- # Available to use for quota purposes for server-side applications. Can be any
654
- # arbitrary string assigned to a user, but should not exceed 40 characters.
655
- # @param [Google::Apis::RequestOptions] options
656
- # Request-specific options
657
- #
658
- # @yield [result, err] Result & error if block supplied
659
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Operation] parsed result object
660
- # @yieldparam err [StandardError] error object if request failed
661
- #
662
- # @return [Google::Apis::SecuritycenterV1p1beta1::Operation]
663
- #
664
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
- # @raise [Google::Apis::AuthorizationError] Authorization is required
667
- def get_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
668
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
669
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Operation::Representation
670
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Operation
671
- command.params['name'] = name unless name.nil?
672
- command.query['fields'] = fields unless fields.nil?
673
- command.query['quotaUser'] = quota_user unless quota_user.nil?
674
- execute_or_queue_command(command, &block)
675
- end
676
-
677
- # Lists operations that match the specified filter in the request. If the
678
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
679
- # NOTE: the `name` binding allows API services to override the binding
680
- # to use different resource name schemes, such as `users/*/operations`. To
681
- # override the binding, API services can add a binding such as
682
- # `"/v1/`name=users/*`/operations"` to their service configuration.
683
- # For backwards compatibility, the default name includes the operations
684
- # collection id, however overriding users must ensure the name binding
685
- # is the parent resource, without the operations collection id.
686
- # @param [String] name
687
- # The name of the operation's parent resource.
688
- # @param [String] filter
689
- # The standard list filter.
690
- # @param [Fixnum] page_size
691
- # The standard list page size.
692
- # @param [String] page_token
693
- # The standard list page token.
694
- # @param [String] fields
695
- # Selector specifying which fields to include in a partial response.
696
- # @param [String] quota_user
697
- # Available to use for quota purposes for server-side applications. Can be any
698
- # arbitrary string assigned to a user, but should not exceed 40 characters.
699
- # @param [Google::Apis::RequestOptions] options
700
- # Request-specific options
701
- #
702
- # @yield [result, err] Result & error if block supplied
703
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse] parsed result object
704
- # @yieldparam err [StandardError] error object if request failed
705
- #
706
- # @return [Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse]
707
- #
708
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
709
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
710
- # @raise [Google::Apis::AuthorizationError] Authorization is required
711
- def list_organization_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
712
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
713
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse::Representation
714
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse
715
- command.params['name'] = name unless name.nil?
716
- command.query['filter'] = filter unless filter.nil?
717
- command.query['pageSize'] = page_size unless page_size.nil?
718
- command.query['pageToken'] = page_token unless page_token.nil?
719
- command.query['fields'] = fields unless fields.nil?
720
- command.query['quotaUser'] = quota_user unless quota_user.nil?
721
- execute_or_queue_command(command, &block)
722
- end
723
-
724
- # Creates a source.
725
- # @param [String] parent
726
- # Required. Resource name of the new source's parent. Its format should be
727
- # "organizations/[organization_id]".
728
- # @param [Google::Apis::SecuritycenterV1p1beta1::Source] source_object
729
- # @param [String] fields
730
- # Selector specifying which fields to include in a partial response.
731
- # @param [String] quota_user
732
- # Available to use for quota purposes for server-side applications. Can be any
733
- # arbitrary string assigned to a user, but should not exceed 40 characters.
734
- # @param [Google::Apis::RequestOptions] options
735
- # Request-specific options
736
- #
737
- # @yield [result, err] Result & error if block supplied
738
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Source] parsed result object
739
- # @yieldparam err [StandardError] error object if request failed
740
- #
741
- # @return [Google::Apis::SecuritycenterV1p1beta1::Source]
742
- #
743
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
- # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def create_organization_source(parent, source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
747
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/sources', options)
748
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::Source::Representation
749
- command.request_object = source_object
750
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Source::Representation
751
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Source
752
- command.params['parent'] = parent unless parent.nil?
753
- command.query['fields'] = fields unless fields.nil?
754
- command.query['quotaUser'] = quota_user unless quota_user.nil?
755
- execute_or_queue_command(command, &block)
756
- end
757
-
758
- # Gets a source.
759
- # @param [String] name
760
- # Required. Relative resource name of the source. Its format is
761
- # "organizations/[organization_id]/source/[source_id]".
762
- # @param [String] fields
763
- # Selector specifying which fields to include in a partial response.
764
- # @param [String] quota_user
765
- # Available to use for quota purposes for server-side applications. Can be any
766
- # arbitrary string assigned to a user, but should not exceed 40 characters.
767
- # @param [Google::Apis::RequestOptions] options
768
- # Request-specific options
769
- #
770
- # @yield [result, err] Result & error if block supplied
771
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Source] parsed result object
772
- # @yieldparam err [StandardError] error object if request failed
773
- #
774
- # @return [Google::Apis::SecuritycenterV1p1beta1::Source]
775
- #
776
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
777
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
778
- # @raise [Google::Apis::AuthorizationError] Authorization is required
779
- def get_organization_source(name, fields: nil, quota_user: nil, options: nil, &block)
780
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
781
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Source::Representation
782
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Source
783
- command.params['name'] = name unless name.nil?
784
- command.query['fields'] = fields unless fields.nil?
785
- command.query['quotaUser'] = quota_user unless quota_user.nil?
786
- execute_or_queue_command(command, &block)
787
- end
788
-
789
- # Gets the access control policy on the specified Source.
790
- # @param [String] resource
791
- # REQUIRED: The resource for which the policy is being requested.
792
- # See the operation documentation for the appropriate value for this field.
793
- # @param [Google::Apis::SecuritycenterV1p1beta1::GetIamPolicyRequest] get_iam_policy_request_object
794
- # @param [String] fields
795
- # Selector specifying which fields to include in a partial response.
796
- # @param [String] quota_user
797
- # Available to use for quota purposes for server-side applications. Can be any
798
- # arbitrary string assigned to a user, but should not exceed 40 characters.
799
- # @param [Google::Apis::RequestOptions] options
800
- # Request-specific options
801
- #
802
- # @yield [result, err] Result & error if block supplied
803
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Policy] parsed result object
804
- # @yieldparam err [StandardError] error object if request failed
805
- #
806
- # @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
807
- #
808
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
809
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
- # @raise [Google::Apis::AuthorizationError] Authorization is required
811
- def get_source_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
812
- command = make_simple_command(:post, 'v1p1beta1/{+resource}:getIamPolicy', options)
813
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GetIamPolicyRequest::Representation
814
- command.request_object = get_iam_policy_request_object
815
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Policy::Representation
816
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Policy
817
- command.params['resource'] = resource unless resource.nil?
818
- command.query['fields'] = fields unless fields.nil?
819
- command.query['quotaUser'] = quota_user unless quota_user.nil?
820
- execute_or_queue_command(command, &block)
821
- end
822
-
823
- # Lists all sources belonging to an organization.
824
- # @param [String] parent
825
- # Required. Resource name of the parent of sources to list. Its format should be
826
- # "organizations/[organization_id]".
827
- # @param [Fixnum] page_size
828
- # The maximum number of results to return in a single response. Default is
829
- # 10, minimum is 1, maximum is 1000.
830
- # @param [String] page_token
831
- # The value returned by the last `ListSourcesResponse`; indicates
832
- # that this is a continuation of a prior `ListSources` call, and
833
- # that the system should return the next page of data.
834
- # @param [String] fields
835
- # Selector specifying which fields to include in a partial response.
836
- # @param [String] quota_user
837
- # Available to use for quota purposes for server-side applications. Can be any
838
- # arbitrary string assigned to a user, but should not exceed 40 characters.
839
- # @param [Google::Apis::RequestOptions] options
840
- # Request-specific options
841
- #
842
- # @yield [result, err] Result & error if block supplied
843
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::ListSourcesResponse] parsed result object
844
- # @yieldparam err [StandardError] error object if request failed
845
- #
846
- # @return [Google::Apis::SecuritycenterV1p1beta1::ListSourcesResponse]
847
- #
848
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
849
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
850
- # @raise [Google::Apis::AuthorizationError] Authorization is required
851
- def list_organization_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
852
- command = make_simple_command(:get, 'v1p1beta1/{+parent}/sources', options)
853
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListSourcesResponse::Representation
854
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListSourcesResponse
855
- command.params['parent'] = parent unless parent.nil?
856
- command.query['pageSize'] = page_size unless page_size.nil?
857
- command.query['pageToken'] = page_token unless page_token.nil?
858
- command.query['fields'] = fields unless fields.nil?
859
- command.query['quotaUser'] = quota_user unless quota_user.nil?
860
- execute_or_queue_command(command, &block)
861
- end
862
-
863
- # Updates a source.
864
- # @param [String] name
865
- # The relative resource name of this source. See:
866
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
867
- # Example:
868
- # "organizations/`organization_id`/sources/`source_id`"
869
- # @param [Google::Apis::SecuritycenterV1p1beta1::Source] source_object
870
- # @param [String] update_mask
871
- # The FieldMask to use when updating the source resource.
872
- # If empty all mutable fields will be updated.
873
- # @param [String] fields
874
- # Selector specifying which fields to include in a partial response.
875
- # @param [String] quota_user
876
- # Available to use for quota purposes for server-side applications. Can be any
877
- # arbitrary string assigned to a user, but should not exceed 40 characters.
878
- # @param [Google::Apis::RequestOptions] options
879
- # Request-specific options
880
- #
881
- # @yield [result, err] Result & error if block supplied
882
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Source] parsed result object
883
- # @yieldparam err [StandardError] error object if request failed
884
- #
885
- # @return [Google::Apis::SecuritycenterV1p1beta1::Source]
886
- #
887
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
888
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
889
- # @raise [Google::Apis::AuthorizationError] Authorization is required
890
- def patch_organization_source(name, source_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
891
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
892
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::Source::Representation
893
- command.request_object = source_object
894
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Source::Representation
895
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Source
896
- command.params['name'] = name unless name.nil?
897
- command.query['updateMask'] = update_mask unless update_mask.nil?
898
- command.query['fields'] = fields unless fields.nil?
899
- command.query['quotaUser'] = quota_user unless quota_user.nil?
900
- execute_or_queue_command(command, &block)
901
- end
902
-
903
- # Sets the access control policy on the specified Source.
904
- # @param [String] resource
905
- # REQUIRED: The resource for which the policy is being specified.
906
- # See the operation documentation for the appropriate value for this field.
907
- # @param [Google::Apis::SecuritycenterV1p1beta1::SetIamPolicyRequest] set_iam_policy_request_object
908
- # @param [String] fields
909
- # Selector specifying which fields to include in a partial response.
910
- # @param [String] quota_user
911
- # Available to use for quota purposes for server-side applications. Can be any
912
- # arbitrary string assigned to a user, but should not exceed 40 characters.
913
- # @param [Google::Apis::RequestOptions] options
914
- # Request-specific options
915
- #
916
- # @yield [result, err] Result & error if block supplied
917
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::Policy] parsed result object
918
- # @yieldparam err [StandardError] error object if request failed
919
- #
920
- # @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
921
- #
922
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
923
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
924
- # @raise [Google::Apis::AuthorizationError] Authorization is required
925
- def set_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
926
- command = make_simple_command(:post, 'v1p1beta1/{+resource}:setIamPolicy', options)
927
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::SetIamPolicyRequest::Representation
928
- command.request_object = set_iam_policy_request_object
929
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Policy::Representation
930
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::Policy
931
- command.params['resource'] = resource unless resource.nil?
932
- command.query['fields'] = fields unless fields.nil?
933
- command.query['quotaUser'] = quota_user unless quota_user.nil?
934
- execute_or_queue_command(command, &block)
935
- end
936
-
937
- # Returns the permissions that a caller has on the specified source.
938
- # @param [String] resource
939
- # REQUIRED: The resource for which the policy detail is being requested.
940
- # See the operation documentation for the appropriate value for this field.
941
- # @param [Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
942
- # @param [String] fields
943
- # Selector specifying which fields to include in a partial response.
944
- # @param [String] quota_user
945
- # Available to use for quota purposes for server-side applications. Can be any
946
- # arbitrary string assigned to a user, but should not exceed 40 characters.
947
- # @param [Google::Apis::RequestOptions] options
948
- # Request-specific options
949
- #
950
- # @yield [result, err] Result & error if block supplied
951
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsResponse] parsed result object
952
- # @yieldparam err [StandardError] error object if request failed
953
- #
954
- # @return [Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsResponse]
955
- #
956
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
957
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
958
- # @raise [Google::Apis::AuthorizationError] Authorization is required
959
- def test_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
960
- command = make_simple_command(:post, 'v1p1beta1/{+resource}:testIamPermissions', options)
961
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsRequest::Representation
962
- command.request_object = test_iam_permissions_request_object
963
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsResponse::Representation
964
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::TestIamPermissionsResponse
965
- command.params['resource'] = resource unless resource.nil?
966
- command.query['fields'] = fields unless fields.nil?
967
- command.query['quotaUser'] = quota_user unless quota_user.nil?
968
- execute_or_queue_command(command, &block)
969
- end
970
-
971
- # Creates a finding. The corresponding source must exist for finding
972
- # creation to succeed.
973
- # @param [String] parent
974
- # Required. Resource name of the new finding's parent. Its format should be
975
- # "organizations/[organization_id]/sources/[source_id]".
976
- # @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] google_cloud_securitycenter_v1p1beta1_finding_object
977
- # @param [String] finding_id
978
- # Required. Unique identifier provided by the client within the parent scope.
979
- # @param [String] fields
980
- # Selector specifying which fields to include in a partial response.
981
- # @param [String] quota_user
982
- # Available to use for quota purposes for server-side applications. Can be any
983
- # arbitrary string assigned to a user, but should not exceed 40 characters.
984
- # @param [Google::Apis::RequestOptions] options
985
- # Request-specific options
986
- #
987
- # @yield [result, err] Result & error if block supplied
988
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] parsed result object
989
- # @yieldparam err [StandardError] error object if request failed
990
- #
991
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
992
- #
993
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
994
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
995
- # @raise [Google::Apis::AuthorizationError] Authorization is required
996
- def create_organization_source_finding(parent, google_cloud_securitycenter_v1p1beta1_finding_object = nil, finding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
997
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/findings', options)
998
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
999
- command.request_object = google_cloud_securitycenter_v1p1beta1_finding_object
1000
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
1001
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding
1002
- command.params['parent'] = parent unless parent.nil?
1003
- command.query['findingId'] = finding_id unless finding_id.nil?
1004
- command.query['fields'] = fields unless fields.nil?
1005
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1006
- execute_or_queue_command(command, &block)
1007
- end
1008
-
1009
- # Filters an organization or source's findings and groups them by their
1010
- # specified properties.
1011
- # To group across all sources provide a `-` as the source id.
1012
- # Example: /v1p1beta1/organizations/`organization_id`/sources/-/findings
1013
- # @param [String] parent
1014
- # Required. Name of the source to groupBy. Its format is
1015
- # "organizations/[organization_id]/sources/[source_id]". To groupBy across
1016
- # all sources provide a source_id of `-`. For example:
1017
- # organizations/`organization_id`/sources/-
1018
- # @param [Google::Apis::SecuritycenterV1p1beta1::GroupFindingsRequest] group_findings_request_object
1019
- # @param [String] fields
1020
- # Selector specifying which fields to include in a partial response.
1021
- # @param [String] quota_user
1022
- # Available to use for quota purposes for server-side applications. Can be any
1023
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1024
- # @param [Google::Apis::RequestOptions] options
1025
- # Request-specific options
1026
- #
1027
- # @yield [result, err] Result & error if block supplied
1028
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GroupFindingsResponse] parsed result object
1029
- # @yieldparam err [StandardError] error object if request failed
1030
- #
1031
- # @return [Google::Apis::SecuritycenterV1p1beta1::GroupFindingsResponse]
1032
- #
1033
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1034
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1035
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1036
- def group_findings(parent, group_findings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1037
- command = make_simple_command(:post, 'v1p1beta1/{+parent}/findings:group', options)
1038
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GroupFindingsRequest::Representation
1039
- command.request_object = group_findings_request_object
1040
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GroupFindingsResponse::Representation
1041
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GroupFindingsResponse
1042
- command.params['parent'] = parent unless parent.nil?
1043
- command.query['fields'] = fields unless fields.nil?
1044
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1045
- execute_or_queue_command(command, &block)
1046
- end
1047
-
1048
- # Lists an organization or source's findings.
1049
- # To list across all sources provide a `-` as the source id.
1050
- # Example: /v1p1beta1/organizations/`organization_id`/sources/-/findings
1051
- # @param [String] parent
1052
- # Required. Name of the source the findings belong to. Its format is
1053
- # "organizations/[organization_id]/sources/[source_id]". To list across all
1054
- # sources provide a source_id of `-`. For example:
1055
- # organizations/`organization_id`/sources/-
1056
- # @param [String] compare_duration
1057
- # When compare_duration is set, the ListFindingsResult's "state_change"
1058
- # attribute is updated to indicate whether the finding had its state changed,
1059
- # the finding's state remained unchanged, or if the finding was added in any
1060
- # state during the compare_duration period of time that precedes the
1061
- # read_time. This is the time between (read_time - compare_duration) and
1062
- # read_time.
1063
- # The state_change value is derived based on the presence and state of the
1064
- # finding at the two points in time. Intermediate state changes between the
1065
- # two times don't affect the result. For example, the results aren't affected
1066
- # if the finding is made inactive and then active again.
1067
- # Possible "state_change" values when compare_duration is specified:
1068
- # * "CHANGED": indicates that the finding was present and matched the given
1069
- # filter at the start of compare_duration, but changed its
1070
- # state at read_time.
1071
- # * "UNCHANGED": indicates that the finding was present and matched the given
1072
- # filter at the start of compare_duration and did not change
1073
- # state at read_time.
1074
- # * "ADDED": indicates that the finding did not match the given filter or
1075
- # was not present at the start of compare_duration, but was
1076
- # present at read_time.
1077
- # * "REMOVED": indicates that the finding was present and matched the
1078
- # filter at the start of compare_duration, but did not match
1079
- # the filter at read_time.
1080
- # If compare_duration is not specified, then the only possible state_change
1081
- # is "UNUSED", which will be the state_change set for all findings present at
1082
- # read_time.
1083
- # @param [String] field_mask
1084
- # A field mask to specify the Finding fields to be listed in the response.
1085
- # An empty field mask will list all fields.
1086
- # @param [String] filter
1087
- # Expression that defines the filter to apply across findings.
1088
- # The expression is a list of one or more restrictions combined via logical
1089
- # operators `AND` and `OR`.
1090
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1091
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1092
- # character in front of them to indicate negation. Examples include:
1093
- # * name
1094
- # * source_properties.a_property
1095
- # * security_marks.marks.marka
1096
- # The supported operators are:
1097
- # * `=` for all value types.
1098
- # * `>`, `<`, `>=`, `<=` for integer values.
1099
- # * `:`, meaning substring matching, for strings.
1100
- # The supported value types are:
1101
- # * string literals in quotes.
1102
- # * integer literals without quotes.
1103
- # * boolean literals `true` and `false` without quotes.
1104
- # The following field and operator combinations are supported:
1105
- # name: `=`
1106
- # parent: `=`, `:`
1107
- # resource_name: `=`, `:`
1108
- # state: `=`, `:`
1109
- # category: `=`, `:`
1110
- # external_uri: `=`, `:`
1111
- # event_time: `=`, `>`, `<`, `>=`, `<=`
1112
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1113
- # Examples:
1114
- # `event_time = "2019-06-10T16:07:18-07:00"`
1115
- # `event_time = 1560208038000`
1116
- # security_marks.marks: `=`, `:`
1117
- # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1118
- # For example, `source_properties.size = 100` is a valid filter string.
1119
- # Use a partial match on the empty string to filter based on a property
1120
- # existing: `source_properties.my_property : ""`
1121
- # Use a negated partial match on the empty string to filter based on a
1122
- # property not existing: `-source_properties.my_property : ""`
1123
- # @param [String] order_by
1124
- # Expression that defines what fields and order to use for sorting. The
1125
- # string value should follow SQL syntax: comma separated list of fields. For
1126
- # example: "name,resource_properties.a_property". The default sorting order
1127
- # is ascending. To specify descending order for a field, a suffix " desc"
1128
- # should be appended to the field name. For example: "name
1129
- # desc,source_properties.a_property". Redundant space characters in the
1130
- # syntax are insignificant. "name desc,source_properties.a_property" and "
1131
- # name desc , source_properties.a_property " are equivalent.
1132
- # The following fields are supported:
1133
- # name
1134
- # parent
1135
- # state
1136
- # category
1137
- # resource_name
1138
- # event_time
1139
- # source_properties
1140
- # security_marks.marks
1141
- # @param [Fixnum] page_size
1142
- # The maximum number of results to return in a single response. Default is
1143
- # 10, minimum is 1, maximum is 1000.
1144
- # @param [String] page_token
1145
- # The value returned by the last `ListFindingsResponse`; indicates
1146
- # that this is a continuation of a prior `ListFindings` call, and
1147
- # that the system should return the next page of data.
1148
- # @param [String] read_time
1149
- # Time used as a reference point when filtering findings. The filter is
1150
- # limited to findings existing at the supplied time and their values are
1151
- # those at that specific time. Absence of this field will default to the
1152
- # API's version of NOW.
1153
- # @param [String] fields
1154
- # Selector specifying which fields to include in a partial response.
1155
- # @param [String] quota_user
1156
- # Available to use for quota purposes for server-side applications. Can be any
1157
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1158
- # @param [Google::Apis::RequestOptions] options
1159
- # Request-specific options
1160
- #
1161
- # @yield [result, err] Result & error if block supplied
1162
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::ListFindingsResponse] parsed result object
1163
- # @yieldparam err [StandardError] error object if request failed
1164
- #
1165
- # @return [Google::Apis::SecuritycenterV1p1beta1::ListFindingsResponse]
1166
- #
1167
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1168
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1169
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1170
- def list_organization_source_findings(parent, compare_duration: nil, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, fields: nil, quota_user: nil, options: nil, &block)
1171
- command = make_simple_command(:get, 'v1p1beta1/{+parent}/findings', options)
1172
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListFindingsResponse::Representation
1173
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListFindingsResponse
1174
- command.params['parent'] = parent unless parent.nil?
1175
- command.query['compareDuration'] = compare_duration unless compare_duration.nil?
1176
- command.query['fieldMask'] = field_mask unless field_mask.nil?
1177
- command.query['filter'] = filter unless filter.nil?
1178
- command.query['orderBy'] = order_by unless order_by.nil?
1179
- command.query['pageSize'] = page_size unless page_size.nil?
1180
- command.query['pageToken'] = page_token unless page_token.nil?
1181
- command.query['readTime'] = read_time unless read_time.nil?
1182
- command.query['fields'] = fields unless fields.nil?
1183
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1184
- execute_or_queue_command(command, &block)
1185
- end
1186
-
1187
- # Creates or updates a finding. The corresponding source must exist for a
1188
- # finding creation to succeed.
1189
- # @param [String] name
1190
- # The relative resource name of this finding. See:
1191
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1192
- # Example:
1193
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
1194
- # @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] google_cloud_securitycenter_v1p1beta1_finding_object
1195
- # @param [String] update_mask
1196
- # The FieldMask to use when updating the finding resource. This field should
1197
- # not be specified when creating a finding.
1198
- # When updating a finding, an empty mask is treated as updating all mutable
1199
- # fields and replacing source_properties. Individual source_properties can
1200
- # be added/updated by using "source_properties.<property key>" in the field
1201
- # mask.
1202
- # @param [String] fields
1203
- # Selector specifying which fields to include in a partial response.
1204
- # @param [String] quota_user
1205
- # Available to use for quota purposes for server-side applications. Can be any
1206
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1207
- # @param [Google::Apis::RequestOptions] options
1208
- # Request-specific options
1209
- #
1210
- # @yield [result, err] Result & error if block supplied
1211
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] parsed result object
1212
- # @yieldparam err [StandardError] error object if request failed
1213
- #
1214
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
1215
- #
1216
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1217
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1218
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1219
- def patch_organization_source_finding(name, google_cloud_securitycenter_v1p1beta1_finding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1220
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
1221
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
1222
- command.request_object = google_cloud_securitycenter_v1p1beta1_finding_object
1223
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
1224
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding
1225
- command.params['name'] = name unless name.nil?
1226
- command.query['updateMask'] = update_mask unless update_mask.nil?
1227
- command.query['fields'] = fields unless fields.nil?
1228
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1229
- execute_or_queue_command(command, &block)
1230
- end
1231
-
1232
- # Updates the state of a finding.
1233
- # @param [String] name
1234
- # Required. The relative resource name of the finding. See:
1235
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1236
- # Example:
1237
- # "organizations/`organization_id`/sources/`source_id`/finding/`finding_id`".
1238
- # @param [Google::Apis::SecuritycenterV1p1beta1::SetFindingStateRequest] set_finding_state_request_object
1239
- # @param [String] fields
1240
- # Selector specifying which fields to include in a partial response.
1241
- # @param [String] quota_user
1242
- # Available to use for quota purposes for server-side applications. Can be any
1243
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1244
- # @param [Google::Apis::RequestOptions] options
1245
- # Request-specific options
1246
- #
1247
- # @yield [result, err] Result & error if block supplied
1248
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] parsed result object
1249
- # @yieldparam err [StandardError] error object if request failed
1250
- #
1251
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
1252
- #
1253
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1254
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1255
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1256
- def set_organization_source_finding_state(name, set_finding_state_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1257
- command = make_simple_command(:post, 'v1p1beta1/{+name}:setState', options)
1258
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::SetFindingStateRequest::Representation
1259
- command.request_object = set_finding_state_request_object
1260
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
1261
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding
1262
- command.params['name'] = name unless name.nil?
1263
- command.query['fields'] = fields unless fields.nil?
1264
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1265
- execute_or_queue_command(command, &block)
1266
- end
1267
-
1268
- # Updates security marks.
1269
- # @param [String] name
1270
- # The relative resource name of the SecurityMarks. See:
1271
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1272
- # Examples:
1273
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1274
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1275
- # securityMarks".
1276
- # @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks] google_cloud_securitycenter_v1p1beta1_security_marks_object
1277
- # @param [String] start_time
1278
- # The time at which the updated SecurityMarks take effect.
1279
- # If not set uses current server time. Updates will be applied to the
1280
- # SecurityMarks that are active immediately preceding this time.
1281
- # @param [String] update_mask
1282
- # The FieldMask to use when updating the security marks resource.
1283
- # The field mask must not contain duplicate fields.
1284
- # If empty or set to "marks", all marks will be replaced. Individual
1285
- # marks can be updated using "marks.<mark_key>".
1286
- # @param [String] fields
1287
- # Selector specifying which fields to include in a partial response.
1288
- # @param [String] quota_user
1289
- # Available to use for quota purposes for server-side applications. Can be any
1290
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1291
- # @param [Google::Apis::RequestOptions] options
1292
- # Request-specific options
1293
- #
1294
- # @yield [result, err] Result & error if block supplied
1295
- # @yieldparam result [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks] parsed result object
1296
- # @yieldparam err [StandardError] error object if request failed
1297
- #
1298
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
1299
- #
1300
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1301
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1302
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1303
- def update_organization_source_finding_security_marks(name, google_cloud_securitycenter_v1p1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1304
- command = make_simple_command(:patch, 'v1p1beta1/{+name}', options)
1305
- command.request_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
1306
- command.request_object = google_cloud_securitycenter_v1p1beta1_security_marks_object
1307
- command.response_representation = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
1308
- command.response_class = Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks
1309
- command.params['name'] = name unless name.nil?
1310
- command.query['startTime'] = start_time unless start_time.nil?
1311
- command.query['updateMask'] = update_mask unless update_mask.nil?
1312
- command.query['fields'] = fields unless fields.nil?
1313
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1314
- execute_or_queue_command(command, &block)
1315
- end
1316
-
1317
- protected
1318
-
1319
- def apply_command_defaults(command)
1320
- command.query['key'] = key unless key.nil?
1321
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1322
- end
1323
- end
1324
- end
1325
- end
1326
- end