google-api-client 0.42.1 → 0.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,40 +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/oauth2_v2/service.rb'
16
- require 'google/apis/oauth2_v2/classes.rb'
17
- require 'google/apis/oauth2_v2/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google OAuth2 API
22
- #
23
- # Obtains end-user authorization grants for use with other Google APIs.
24
- #
25
- # @see https://developers.google.com/identity/protocols/oauth2/
26
- module Oauth2V2
27
- VERSION = 'V2'
28
- REVISION = '20200213'
29
-
30
- # View your email address
31
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
32
-
33
- # See your personal info, including any personal info you've made publicly available
34
- AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
35
-
36
- # Associate you with your personal info on Google
37
- PENID = 'openid'
38
- end
39
- end
40
- end
@@ -1,165 +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 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module Oauth2V2
24
-
25
- #
26
- class Tokeninfo
27
- include Google::Apis::Core::Hashable
28
-
29
- # Who is the intended audience for this token. In general the same as issued_to.
30
- # Corresponds to the JSON property `audience`
31
- # @return [String]
32
- attr_accessor :audience
33
-
34
- # The email address of the user. Present only if the email scope is present in
35
- # the request.
36
- # Corresponds to the JSON property `email`
37
- # @return [String]
38
- attr_accessor :email
39
-
40
- # The expiry time of the token, as number of seconds left until expiry.
41
- # Corresponds to the JSON property `expires_in`
42
- # @return [Fixnum]
43
- attr_accessor :expires_in
44
-
45
- # To whom was the token issued to. In general the same as audience.
46
- # Corresponds to the JSON property `issued_to`
47
- # @return [String]
48
- attr_accessor :issued_to
49
-
50
- # The space separated list of scopes granted to this token.
51
- # Corresponds to the JSON property `scope`
52
- # @return [String]
53
- attr_accessor :scope
54
-
55
- # The obfuscated user id.
56
- # Corresponds to the JSON property `user_id`
57
- # @return [String]
58
- attr_accessor :user_id
59
-
60
- # Boolean flag which is true if the email address is verified. Present only if
61
- # the email scope is present in the request.
62
- # Corresponds to the JSON property `verified_email`
63
- # @return [Boolean]
64
- attr_accessor :verified_email
65
- alias_method :verified_email?, :verified_email
66
-
67
- def initialize(**args)
68
- update!(**args)
69
- end
70
-
71
- # Update properties of this object
72
- def update!(**args)
73
- @audience = args[:audience] if args.key?(:audience)
74
- @email = args[:email] if args.key?(:email)
75
- @expires_in = args[:expires_in] if args.key?(:expires_in)
76
- @issued_to = args[:issued_to] if args.key?(:issued_to)
77
- @scope = args[:scope] if args.key?(:scope)
78
- @user_id = args[:user_id] if args.key?(:user_id)
79
- @verified_email = args[:verified_email] if args.key?(:verified_email)
80
- end
81
- end
82
-
83
- #
84
- class Userinfo
85
- include Google::Apis::Core::Hashable
86
-
87
- # The user's email address.
88
- # Corresponds to the JSON property `email`
89
- # @return [String]
90
- attr_accessor :email
91
-
92
- # The user's last name.
93
- # Corresponds to the JSON property `family_name`
94
- # @return [String]
95
- attr_accessor :family_name
96
-
97
- # The user's gender.
98
- # Corresponds to the JSON property `gender`
99
- # @return [String]
100
- attr_accessor :gender
101
-
102
- # The user's first name.
103
- # Corresponds to the JSON property `given_name`
104
- # @return [String]
105
- attr_accessor :given_name
106
-
107
- # The hosted domain e.g. example.com if the user is Google apps user.
108
- # Corresponds to the JSON property `hd`
109
- # @return [String]
110
- attr_accessor :hd
111
-
112
- # The obfuscated ID of the user.
113
- # Corresponds to the JSON property `id`
114
- # @return [String]
115
- attr_accessor :id
116
-
117
- # URL of the profile page.
118
- # Corresponds to the JSON property `link`
119
- # @return [String]
120
- attr_accessor :link
121
-
122
- # The user's preferred locale.
123
- # Corresponds to the JSON property `locale`
124
- # @return [String]
125
- attr_accessor :locale
126
-
127
- # The user's full name.
128
- # Corresponds to the JSON property `name`
129
- # @return [String]
130
- attr_accessor :name
131
-
132
- # URL of the user's picture image.
133
- # Corresponds to the JSON property `picture`
134
- # @return [String]
135
- attr_accessor :picture
136
-
137
- # Boolean flag which is true if the email address is verified. Always verified
138
- # because we only return the user's primary email address.
139
- # Corresponds to the JSON property `verified_email`
140
- # @return [Boolean]
141
- attr_accessor :verified_email
142
- alias_method :verified_email?, :verified_email
143
-
144
- def initialize(**args)
145
- update!(**args)
146
- end
147
-
148
- # Update properties of this object
149
- def update!(**args)
150
- @email = args[:email] if args.key?(:email)
151
- @family_name = args[:family_name] if args.key?(:family_name)
152
- @gender = args[:gender] if args.key?(:gender)
153
- @given_name = args[:given_name] if args.key?(:given_name)
154
- @hd = args[:hd] if args.key?(:hd)
155
- @id = args[:id] if args.key?(:id)
156
- @link = args[:link] if args.key?(:link)
157
- @locale = args[:locale] if args.key?(:locale)
158
- @name = args[:name] if args.key?(:name)
159
- @picture = args[:picture] if args.key?(:picture)
160
- @verified_email = args[:verified_email] if args.key?(:verified_email)
161
- end
162
- end
163
- end
164
- end
165
- end
@@ -1,158 +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 Oauth2V2
23
- # Google OAuth2 API
24
- #
25
- # Obtains end-user authorization grants for use with other Google APIs.
26
- #
27
- # @example
28
- # require 'google/apis/oauth2_v2'
29
- #
30
- # Oauth2 = Google::Apis::Oauth2V2 # Alias the module
31
- # service = Oauth2::Oauth2Service.new
32
- #
33
- # @see https://developers.google.com/identity/protocols/oauth2/
34
- class Oauth2Service < Google::Apis::Core::BaseService
35
- # @return [String]
36
- # API key. Your API key identifies your project and provides you with API access,
37
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
- attr_accessor :key
39
-
40
- # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
43
- attr_accessor :quota_user
44
-
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
- def initialize
50
- super('https://www.googleapis.com/', '')
51
- @batch_path = 'batch/oauth2/v2'
52
- end
53
-
54
- #
55
- # @param [String] access_token
56
- # @param [String] id_token
57
- # @param [String] fields
58
- # Selector specifying which fields to include in a partial response.
59
- # @param [String] quota_user
60
- # An opaque string that represents a user for quota purposes. Must not exceed 40
61
- # characters.
62
- # @param [String] user_ip
63
- # Deprecated. Please use quotaUser instead.
64
- # @param [Google::Apis::RequestOptions] options
65
- # Request-specific options
66
- #
67
- # @yield [result, err] Result & error if block supplied
68
- # @yieldparam result [Google::Apis::Oauth2V2::Tokeninfo] parsed result object
69
- # @yieldparam err [StandardError] error object if request failed
70
- #
71
- # @return [Google::Apis::Oauth2V2::Tokeninfo]
72
- #
73
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
- # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def tokeninfo(access_token: nil, id_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
77
- command = make_simple_command(:post, 'oauth2/v2/tokeninfo', options)
78
- command.response_representation = Google::Apis::Oauth2V2::Tokeninfo::Representation
79
- command.response_class = Google::Apis::Oauth2V2::Tokeninfo
80
- command.query['access_token'] = access_token unless access_token.nil?
81
- command.query['id_token'] = id_token unless id_token.nil?
82
- command.query['fields'] = fields unless fields.nil?
83
- command.query['quotaUser'] = quota_user unless quota_user.nil?
84
- command.query['userIp'] = user_ip unless user_ip.nil?
85
- execute_or_queue_command(command, &block)
86
- end
87
-
88
- #
89
- # @param [String] fields
90
- # Selector specifying which fields to include in a partial response.
91
- # @param [String] quota_user
92
- # An opaque string that represents a user for quota purposes. Must not exceed 40
93
- # characters.
94
- # @param [String] user_ip
95
- # Deprecated. Please use quotaUser instead.
96
- # @param [Google::Apis::RequestOptions] options
97
- # Request-specific options
98
- #
99
- # @yield [result, err] Result & error if block supplied
100
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
101
- # @yieldparam err [StandardError] error object if request failed
102
- #
103
- # @return [Google::Apis::Oauth2V2::Userinfo]
104
- #
105
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
- # @raise [Google::Apis::AuthorizationError] Authorization is required
108
- def get_userinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
109
- command = make_simple_command(:get, 'oauth2/v2/userinfo', options)
110
- command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
111
- command.response_class = Google::Apis::Oauth2V2::Userinfo
112
- command.query['fields'] = fields unless fields.nil?
113
- command.query['quotaUser'] = quota_user unless quota_user.nil?
114
- command.query['userIp'] = user_ip unless user_ip.nil?
115
- execute_or_queue_command(command, &block)
116
- end
117
-
118
- #
119
- # @param [String] fields
120
- # Selector specifying which fields to include in a partial response.
121
- # @param [String] quota_user
122
- # An opaque string that represents a user for quota purposes. Must not exceed 40
123
- # characters.
124
- # @param [String] user_ip
125
- # Deprecated. Please use quotaUser instead.
126
- # @param [Google::Apis::RequestOptions] options
127
- # Request-specific options
128
- #
129
- # @yield [result, err] Result & error if block supplied
130
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
131
- # @yieldparam err [StandardError] error object if request failed
132
- #
133
- # @return [Google::Apis::Oauth2V2::Userinfo]
134
- #
135
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
- # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def get_userinfo_v2(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
139
- command = make_simple_command(:get, 'userinfo/v2/me', options)
140
- command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
141
- command.response_class = Google::Apis::Oauth2V2::Userinfo
142
- command.query['fields'] = fields unless fields.nil?
143
- command.query['quotaUser'] = quota_user unless quota_user.nil?
144
- command.query['userIp'] = user_ip unless user_ip.nil?
145
- execute_or_queue_command(command, &block)
146
- end
147
-
148
- protected
149
-
150
- def apply_command_defaults(command)
151
- command.query['key'] = key unless key.nil?
152
- command.query['quotaUser'] = quota_user unless quota_user.nil?
153
- command.query['userIp'] = user_ip unless user_ip.nil?
154
- end
155
- end
156
- end
157
- end
158
- end
@@ -1,2305 +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 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module SecuritycenterV1p1beta1
24
-
25
- # The configuration used for Asset Discovery runs.
26
- class AssetDiscoveryConfig
27
- include Google::Apis::Core::Hashable
28
-
29
- # The mode to use for filtering asset discovery.
30
- # Corresponds to the JSON property `inclusionMode`
31
- # @return [String]
32
- attr_accessor :inclusion_mode
33
-
34
- # The project ids to use for filtering asset discovery.
35
- # Corresponds to the JSON property `projectIds`
36
- # @return [Array<String>]
37
- attr_accessor :project_ids
38
-
39
- def initialize(**args)
40
- update!(**args)
41
- end
42
-
43
- # Update properties of this object
44
- def update!(**args)
45
- @inclusion_mode = args[:inclusion_mode] if args.key?(:inclusion_mode)
46
- @project_ids = args[:project_ids] if args.key?(:project_ids)
47
- end
48
- end
49
-
50
- # Specifies the audit configuration for a service.
51
- # The configuration determines which permission types are logged, and what
52
- # identities, if any, are exempted from logging.
53
- # An AuditConfig must have one or more AuditLogConfigs.
54
- # If there are AuditConfigs for both `allServices` and a specific service,
55
- # the union of the two AuditConfigs is used for that service: the log_types
56
- # specified in each AuditConfig are enabled, and the exempted_members in each
57
- # AuditLogConfig are exempted.
58
- # Example Policy with multiple AuditConfigs:
59
- # `
60
- # "audit_configs": [
61
- # `
62
- # "service": "allServices",
63
- # "audit_log_configs": [
64
- # `
65
- # "log_type": "DATA_READ",
66
- # "exempted_members": [
67
- # "user:jose@example.com"
68
- # ]
69
- # `,
70
- # `
71
- # "log_type": "DATA_WRITE"
72
- # `,
73
- # `
74
- # "log_type": "ADMIN_READ"
75
- # `
76
- # ]
77
- # `,
78
- # `
79
- # "service": "sampleservice.googleapis.com",
80
- # "audit_log_configs": [
81
- # `
82
- # "log_type": "DATA_READ"
83
- # `,
84
- # `
85
- # "log_type": "DATA_WRITE",
86
- # "exempted_members": [
87
- # "user:aliya@example.com"
88
- # ]
89
- # `
90
- # ]
91
- # `
92
- # ]
93
- # `
94
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
95
- # logging. It also exempts jose@example.com from DATA_READ logging, and
96
- # aliya@example.com from DATA_WRITE logging.
97
- class AuditConfig
98
- include Google::Apis::Core::Hashable
99
-
100
- # The configuration for logging of each type of permission.
101
- # Corresponds to the JSON property `auditLogConfigs`
102
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditLogConfig>]
103
- attr_accessor :audit_log_configs
104
-
105
- # Specifies a service that will be enabled for audit logging.
106
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
107
- # `allServices` is a special value that covers all services.
108
- # Corresponds to the JSON property `service`
109
- # @return [String]
110
- attr_accessor :service
111
-
112
- def initialize(**args)
113
- update!(**args)
114
- end
115
-
116
- # Update properties of this object
117
- def update!(**args)
118
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
119
- @service = args[:service] if args.key?(:service)
120
- end
121
- end
122
-
123
- # Provides the configuration for logging a type of permissions.
124
- # Example:
125
- # `
126
- # "audit_log_configs": [
127
- # `
128
- # "log_type": "DATA_READ",
129
- # "exempted_members": [
130
- # "user:jose@example.com"
131
- # ]
132
- # `,
133
- # `
134
- # "log_type": "DATA_WRITE"
135
- # `
136
- # ]
137
- # `
138
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
139
- # jose@example.com from DATA_READ logging.
140
- class AuditLogConfig
141
- include Google::Apis::Core::Hashable
142
-
143
- # Specifies the identities that do not cause logging for this type of
144
- # permission.
145
- # Follows the same format of Binding.members.
146
- # Corresponds to the JSON property `exemptedMembers`
147
- # @return [Array<String>]
148
- attr_accessor :exempted_members
149
-
150
- # The log type that this config enables.
151
- # Corresponds to the JSON property `logType`
152
- # @return [String]
153
- attr_accessor :log_type
154
-
155
- def initialize(**args)
156
- update!(**args)
157
- end
158
-
159
- # Update properties of this object
160
- def update!(**args)
161
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
162
- @log_type = args[:log_type] if args.key?(:log_type)
163
- end
164
- end
165
-
166
- # Associates `members` with a `role`.
167
- class Binding
168
- include Google::Apis::Core::Hashable
169
-
170
- # Represents a textual expression in the Common Expression Language (CEL)
171
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
172
- # are documented at https://github.com/google/cel-spec.
173
- # Example (Comparison):
174
- # title: "Summary size limit"
175
- # description: "Determines if a summary is less than 100 chars"
176
- # expression: "document.summary.size() < 100"
177
- # Example (Equality):
178
- # title: "Requestor is owner"
179
- # description: "Determines if requestor is the document owner"
180
- # expression: "document.owner == request.auth.claims.email"
181
- # Example (Logic):
182
- # title: "Public documents"
183
- # description: "Determine whether the document should be publicly visible"
184
- # expression: "document.type != 'private' && document.type != 'internal'"
185
- # Example (Data Manipulation):
186
- # title: "Notification string"
187
- # description: "Create a notification string with a timestamp."
188
- # expression: "'New message received at ' + string(document.create_time)"
189
- # The exact variables and functions that may be referenced within an expression
190
- # are determined by the service that evaluates it. See the service
191
- # documentation for additional information.
192
- # Corresponds to the JSON property `condition`
193
- # @return [Google::Apis::SecuritycenterV1p1beta1::Expr]
194
- attr_accessor :condition
195
-
196
- # Specifies the identities requesting access for a Cloud Platform resource.
197
- # `members` can have the following values:
198
- # * `allUsers`: A special identifier that represents anyone who is
199
- # on the internet; with or without a Google account.
200
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
201
- # who is authenticated with a Google account or a service account.
202
- # * `user:`emailid``: An email address that represents a specific Google
203
- # account. For example, `alice@example.com` .
204
- # * `serviceAccount:`emailid``: An email address that represents a service
205
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
206
- # * `group:`emailid``: An email address that represents a Google group.
207
- # For example, `admins@example.com`.
208
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
209
- # identifier) representing a user that has been recently deleted. For
210
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
211
- # recovered, this value reverts to `user:`emailid`` and the recovered user
212
- # retains the role in the binding.
213
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
214
- # unique identifier) representing a service account that has been recently
215
- # deleted. For example,
216
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
217
- # If the service account is undeleted, this value reverts to
218
- # `serviceAccount:`emailid`` and the undeleted service account retains the
219
- # role in the binding.
220
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
221
- # identifier) representing a Google group that has been recently
222
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
223
- # the group is recovered, this value reverts to `group:`emailid`` and the
224
- # recovered group retains the role in the binding.
225
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
226
- # users of that domain. For example, `google.com` or `example.com`.
227
- # Corresponds to the JSON property `members`
228
- # @return [Array<String>]
229
- attr_accessor :members
230
-
231
- # Role that is assigned to `members`.
232
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
233
- # Corresponds to the JSON property `role`
234
- # @return [String]
235
- attr_accessor :role
236
-
237
- def initialize(**args)
238
- update!(**args)
239
- end
240
-
241
- # Update properties of this object
242
- def update!(**args)
243
- @condition = args[:condition] if args.key?(:condition)
244
- @members = args[:members] if args.key?(:members)
245
- @role = args[:role] if args.key?(:role)
246
- end
247
- end
248
-
249
- # A generic empty message that you can re-use to avoid defining duplicated
250
- # empty messages in your APIs. A typical example is to use it as the request
251
- # or the response type of an API method. For instance:
252
- # service Foo `
253
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
254
- # `
255
- # The JSON representation for `Empty` is empty JSON object ````.
256
- class Empty
257
- include Google::Apis::Core::Hashable
258
-
259
- def initialize(**args)
260
- update!(**args)
261
- end
262
-
263
- # Update properties of this object
264
- def update!(**args)
265
- end
266
- end
267
-
268
- # Represents a textual expression in the Common Expression Language (CEL)
269
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
270
- # are documented at https://github.com/google/cel-spec.
271
- # Example (Comparison):
272
- # title: "Summary size limit"
273
- # description: "Determines if a summary is less than 100 chars"
274
- # expression: "document.summary.size() < 100"
275
- # Example (Equality):
276
- # title: "Requestor is owner"
277
- # description: "Determines if requestor is the document owner"
278
- # expression: "document.owner == request.auth.claims.email"
279
- # Example (Logic):
280
- # title: "Public documents"
281
- # description: "Determine whether the document should be publicly visible"
282
- # expression: "document.type != 'private' && document.type != 'internal'"
283
- # Example (Data Manipulation):
284
- # title: "Notification string"
285
- # description: "Create a notification string with a timestamp."
286
- # expression: "'New message received at ' + string(document.create_time)"
287
- # The exact variables and functions that may be referenced within an expression
288
- # are determined by the service that evaluates it. See the service
289
- # documentation for additional information.
290
- class Expr
291
- include Google::Apis::Core::Hashable
292
-
293
- # Optional. Description of the expression. This is a longer text which
294
- # describes the expression, e.g. when hovered over it in a UI.
295
- # Corresponds to the JSON property `description`
296
- # @return [String]
297
- attr_accessor :description
298
-
299
- # Textual representation of an expression in Common Expression Language
300
- # syntax.
301
- # Corresponds to the JSON property `expression`
302
- # @return [String]
303
- attr_accessor :expression
304
-
305
- # Optional. String indicating the location of the expression for error
306
- # reporting, e.g. a file name and a position in the file.
307
- # Corresponds to the JSON property `location`
308
- # @return [String]
309
- attr_accessor :location
310
-
311
- # Optional. Title for the expression, i.e. a short string describing
312
- # its purpose. This can be used e.g. in UIs which allow to enter the
313
- # expression.
314
- # Corresponds to the JSON property `title`
315
- # @return [String]
316
- attr_accessor :title
317
-
318
- def initialize(**args)
319
- update!(**args)
320
- end
321
-
322
- # Update properties of this object
323
- def update!(**args)
324
- @description = args[:description] if args.key?(:description)
325
- @expression = args[:expression] if args.key?(:expression)
326
- @location = args[:location] if args.key?(:location)
327
- @title = args[:title] if args.key?(:title)
328
- end
329
- end
330
-
331
- # Security Command Center finding.
332
- # A finding is a record of assessment data like security, risk, health, or
333
- # privacy, that is ingested into Security Command Center for presentation,
334
- # notification, analysis, policy testing, and enforcement. For example, a
335
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
336
- # finding.
337
- class Finding
338
- include Google::Apis::Core::Hashable
339
-
340
- # The additional taxonomy group within findings from a given source.
341
- # This field is immutable after creation time.
342
- # Example: "XSS_FLASH_INJECTION"
343
- # Corresponds to the JSON property `category`
344
- # @return [String]
345
- attr_accessor :category
346
-
347
- # The time at which the finding was created in Security Command Center.
348
- # Corresponds to the JSON property `createTime`
349
- # @return [String]
350
- attr_accessor :create_time
351
-
352
- # The time at which the event took place. For example, if the finding
353
- # represents an open firewall it would capture the time the detector believes
354
- # the firewall became open. The accuracy is determined by the detector.
355
- # Corresponds to the JSON property `eventTime`
356
- # @return [String]
357
- attr_accessor :event_time
358
-
359
- # The URI that, if available, points to a web page outside of Security
360
- # Command Center where additional information about the finding can be found.
361
- # This field is guaranteed to be either empty or a well formed URL.
362
- # Corresponds to the JSON property `externalUri`
363
- # @return [String]
364
- attr_accessor :external_uri
365
-
366
- # The relative resource name of this finding. See:
367
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
368
- # Example:
369
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
370
- # Corresponds to the JSON property `name`
371
- # @return [String]
372
- attr_accessor :name
373
-
374
- # The relative resource name of the source the finding belongs to. See:
375
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
376
- # This field is immutable after creation time.
377
- # For example:
378
- # "organizations/`organization_id`/sources/`source_id`"
379
- # Corresponds to the JSON property `parent`
380
- # @return [String]
381
- attr_accessor :parent
382
-
383
- # For findings on Google Cloud resources, the full resource
384
- # name of the Google Cloud resource this finding is for. See:
385
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
386
- # When the finding is for a non-Google Cloud resource, the resourceName can
387
- # be a customer or partner defined string. This field is immutable after
388
- # creation time.
389
- # Corresponds to the JSON property `resourceName`
390
- # @return [String]
391
- attr_accessor :resource_name
392
-
393
- # User specified security marks that are attached to the parent Security
394
- # Command Center resource. Security marks are scoped within a Security Command
395
- # Center organization -- they can be modified and viewed by all users who have
396
- # proper permissions on the organization.
397
- # Corresponds to the JSON property `securityMarks`
398
- # @return [Google::Apis::SecuritycenterV1p1beta1::SecurityMarks]
399
- attr_accessor :security_marks
400
-
401
- # Source specific properties. These properties are managed by the source
402
- # that writes the finding. The key names in the source_properties map must be
403
- # between 1 and 255 characters, and must start with a letter and contain
404
- # alphanumeric characters or underscores only.
405
- # Corresponds to the JSON property `sourceProperties`
406
- # @return [Hash<String,Object>]
407
- attr_accessor :source_properties
408
-
409
- # The state of the finding.
410
- # Corresponds to the JSON property `state`
411
- # @return [String]
412
- attr_accessor :state
413
-
414
- def initialize(**args)
415
- update!(**args)
416
- end
417
-
418
- # Update properties of this object
419
- def update!(**args)
420
- @category = args[:category] if args.key?(:category)
421
- @create_time = args[:create_time] if args.key?(:create_time)
422
- @event_time = args[:event_time] if args.key?(:event_time)
423
- @external_uri = args[:external_uri] if args.key?(:external_uri)
424
- @name = args[:name] if args.key?(:name)
425
- @parent = args[:parent] if args.key?(:parent)
426
- @resource_name = args[:resource_name] if args.key?(:resource_name)
427
- @security_marks = args[:security_marks] if args.key?(:security_marks)
428
- @source_properties = args[:source_properties] if args.key?(:source_properties)
429
- @state = args[:state] if args.key?(:state)
430
- end
431
- end
432
-
433
- # Request message for `GetIamPolicy` method.
434
- class GetIamPolicyRequest
435
- include Google::Apis::Core::Hashable
436
-
437
- # Encapsulates settings provided to GetIamPolicy.
438
- # Corresponds to the JSON property `options`
439
- # @return [Google::Apis::SecuritycenterV1p1beta1::GetPolicyOptions]
440
- attr_accessor :options
441
-
442
- def initialize(**args)
443
- update!(**args)
444
- end
445
-
446
- # Update properties of this object
447
- def update!(**args)
448
- @options = args[:options] if args.key?(:options)
449
- end
450
- end
451
-
452
- # Encapsulates settings provided to GetIamPolicy.
453
- class GetPolicyOptions
454
- include Google::Apis::Core::Hashable
455
-
456
- # Optional. The policy format version to be returned.
457
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
458
- # rejected.
459
- # Requests for policies with any conditional bindings must specify version 3.
460
- # Policies without any conditional bindings may specify any valid value or
461
- # leave the field unset.
462
- # To learn which resources support conditions in their IAM policies, see the
463
- # [IAM
464
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
465
- # Corresponds to the JSON property `requestedPolicyVersion`
466
- # @return [Fixnum]
467
- attr_accessor :requested_policy_version
468
-
469
- def initialize(**args)
470
- update!(**args)
471
- end
472
-
473
- # Update properties of this object
474
- def update!(**args)
475
- @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
476
- end
477
- end
478
-
479
- # Cloud SCC's Notification
480
- class GoogleCloudSecuritycenterV1NotificationMessage
481
- include Google::Apis::Core::Hashable
482
-
483
- # Security Command Center finding.
484
- # A finding is a record of assessment data like security, risk, health, or
485
- # privacy, that is ingested into Security Command Center for presentation,
486
- # notification, analysis, policy testing, and enforcement. For example, a
487
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
488
- # finding.
489
- # Corresponds to the JSON property `finding`
490
- # @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
491
- attr_accessor :finding
492
-
493
- # Name of the notification config that generated current notification.
494
- # Corresponds to the JSON property `notificationConfigName`
495
- # @return [String]
496
- attr_accessor :notification_config_name
497
-
498
- # Information related to the Google Cloud resource.
499
- # Corresponds to the JSON property `resource`
500
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource]
501
- attr_accessor :resource
502
-
503
- def initialize(**args)
504
- update!(**args)
505
- end
506
-
507
- # Update properties of this object
508
- def update!(**args)
509
- @finding = args[:finding] if args.key?(:finding)
510
- @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
511
- @resource = args[:resource] if args.key?(:resource)
512
- end
513
- end
514
-
515
- # Information related to the Google Cloud resource.
516
- class GoogleCloudSecuritycenterV1Resource
517
- include Google::Apis::Core::Hashable
518
-
519
- # The full resource name of the resource. See:
520
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
521
- # Corresponds to the JSON property `name`
522
- # @return [String]
523
- attr_accessor :name
524
-
525
- # The full resource name of resource's parent.
526
- # Corresponds to the JSON property `parent`
527
- # @return [String]
528
- attr_accessor :parent
529
-
530
- # The human readable name of resource's parent.
531
- # Corresponds to the JSON property `parentDisplayName`
532
- # @return [String]
533
- attr_accessor :parent_display_name
534
-
535
- # The full resource name of project that the resource belongs to.
536
- # Corresponds to the JSON property `project`
537
- # @return [String]
538
- attr_accessor :project
539
-
540
- # The human readable name of project that the resource belongs to.
541
- # Corresponds to the JSON property `projectDisplayName`
542
- # @return [String]
543
- attr_accessor :project_display_name
544
-
545
- def initialize(**args)
546
- update!(**args)
547
- end
548
-
549
- # Update properties of this object
550
- def update!(**args)
551
- @name = args[:name] if args.key?(:name)
552
- @parent = args[:parent] if args.key?(:parent)
553
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
554
- @project = args[:project] if args.key?(:project)
555
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
556
- end
557
- end
558
-
559
- # Response of asset discovery run
560
- class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
561
- include Google::Apis::Core::Hashable
562
-
563
- # The duration between asset discovery run start and end
564
- # Corresponds to the JSON property `duration`
565
- # @return [String]
566
- attr_accessor :duration
567
-
568
- # The state of an asset discovery run.
569
- # Corresponds to the JSON property `state`
570
- # @return [String]
571
- attr_accessor :state
572
-
573
- def initialize(**args)
574
- update!(**args)
575
- end
576
-
577
- # Update properties of this object
578
- def update!(**args)
579
- @duration = args[:duration] if args.key?(:duration)
580
- @state = args[:state] if args.key?(:state)
581
- end
582
- end
583
-
584
- # Response of asset discovery run
585
- class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
586
- include Google::Apis::Core::Hashable
587
-
588
- # The duration between asset discovery run start and end
589
- # Corresponds to the JSON property `duration`
590
- # @return [String]
591
- attr_accessor :duration
592
-
593
- # The state of an asset discovery run.
594
- # Corresponds to the JSON property `state`
595
- # @return [String]
596
- attr_accessor :state
597
-
598
- def initialize(**args)
599
- update!(**args)
600
- end
601
-
602
- # Update properties of this object
603
- def update!(**args)
604
- @duration = args[:duration] if args.key?(:duration)
605
- @state = args[:state] if args.key?(:state)
606
- end
607
- end
608
-
609
- # Security Command Center representation of a Google Cloud
610
- # resource.
611
- # The Asset is a Security Command Center resource that captures information
612
- # about a single Google Cloud resource. All modifications to an Asset are only
613
- # within the context of Security Command Center and don't affect the referenced
614
- # Google Cloud resource.
615
- class GoogleCloudSecuritycenterV1p1beta1Asset
616
- include Google::Apis::Core::Hashable
617
-
618
- # The time at which the asset was created in Security Command Center.
619
- # Corresponds to the JSON property `createTime`
620
- # @return [String]
621
- attr_accessor :create_time
622
-
623
- # Cloud IAM Policy information associated with the Google Cloud resource
624
- # described by the Security Command Center asset. This information is managed
625
- # and defined by the Google Cloud resource and cannot be modified by the
626
- # user.
627
- # Corresponds to the JSON property `iamPolicy`
628
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
629
- attr_accessor :iam_policy
630
-
631
- # The relative resource name of this asset. See:
632
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
633
- # Example:
634
- # "organizations/`organization_id`/assets/`asset_id`".
635
- # Corresponds to the JSON property `name`
636
- # @return [String]
637
- attr_accessor :name
638
-
639
- # Resource managed properties. These properties are managed and defined by
640
- # the Google Cloud resource and cannot be modified by the user.
641
- # Corresponds to the JSON property `resourceProperties`
642
- # @return [Hash<String,Object>]
643
- attr_accessor :resource_properties
644
-
645
- # Security Command Center managed properties. These properties are managed by
646
- # Security Command Center and cannot be modified by the user.
647
- # Corresponds to the JSON property `securityCenterProperties`
648
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
649
- attr_accessor :security_center_properties
650
-
651
- # User specified security marks that are attached to the parent Security
652
- # Command Center resource. Security marks are scoped within a Security Command
653
- # Center organization -- they can be modified and viewed by all users who have
654
- # proper permissions on the organization.
655
- # Corresponds to the JSON property `securityMarks`
656
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
657
- attr_accessor :security_marks
658
-
659
- # The time at which the asset was last updated, added, or deleted in Cloud
660
- # SCC.
661
- # Corresponds to the JSON property `updateTime`
662
- # @return [String]
663
- attr_accessor :update_time
664
-
665
- def initialize(**args)
666
- update!(**args)
667
- end
668
-
669
- # Update properties of this object
670
- def update!(**args)
671
- @create_time = args[:create_time] if args.key?(:create_time)
672
- @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
673
- @name = args[:name] if args.key?(:name)
674
- @resource_properties = args[:resource_properties] if args.key?(:resource_properties)
675
- @security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
676
- @security_marks = args[:security_marks] if args.key?(:security_marks)
677
- @update_time = args[:update_time] if args.key?(:update_time)
678
- end
679
- end
680
-
681
- # Security Command Center finding.
682
- # A finding is a record of assessment data (security, risk, health or privacy)
683
- # ingested into Security Command Center for presentation, notification,
684
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
685
- # in an App Engine application is a finding.
686
- class GoogleCloudSecuritycenterV1p1beta1Finding
687
- include Google::Apis::Core::Hashable
688
-
689
- # The additional taxonomy group within findings from a given source.
690
- # This field is immutable after creation time.
691
- # Example: "XSS_FLASH_INJECTION"
692
- # Corresponds to the JSON property `category`
693
- # @return [String]
694
- attr_accessor :category
695
-
696
- # The time at which the finding was created in Security Command Center.
697
- # Corresponds to the JSON property `createTime`
698
- # @return [String]
699
- attr_accessor :create_time
700
-
701
- # The time at which the event took place. For example, if the finding
702
- # represents an open firewall it would capture the time the detector believes
703
- # the firewall became open. The accuracy is determined by the detector.
704
- # Corresponds to the JSON property `eventTime`
705
- # @return [String]
706
- attr_accessor :event_time
707
-
708
- # The URI that, if available, points to a web page outside of Security
709
- # Command Center where additional information about the finding can be found.
710
- # This field is guaranteed to be either empty or a well formed URL.
711
- # Corresponds to the JSON property `externalUri`
712
- # @return [String]
713
- attr_accessor :external_uri
714
-
715
- # The relative resource name of this finding. See:
716
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
717
- # Example:
718
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
719
- # Corresponds to the JSON property `name`
720
- # @return [String]
721
- attr_accessor :name
722
-
723
- # The relative resource name of the source the finding belongs to. See:
724
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
725
- # This field is immutable after creation time.
726
- # For example:
727
- # "organizations/`organization_id`/sources/`source_id`"
728
- # Corresponds to the JSON property `parent`
729
- # @return [String]
730
- attr_accessor :parent
731
-
732
- # For findings on Google Cloud resources, the full resource
733
- # name of the Google Cloud resource this finding is for. See:
734
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
735
- # When the finding is for a non-Google Cloud resource, the resourceName can
736
- # be a customer or partner defined string. This field is immutable after
737
- # creation time.
738
- # Corresponds to the JSON property `resourceName`
739
- # @return [String]
740
- attr_accessor :resource_name
741
-
742
- # User specified security marks that are attached to the parent Security
743
- # Command Center resource. Security marks are scoped within a Security Command
744
- # Center organization -- they can be modified and viewed by all users who have
745
- # proper permissions on the organization.
746
- # Corresponds to the JSON property `securityMarks`
747
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
748
- attr_accessor :security_marks
749
-
750
- # Source specific properties. These properties are managed by the source
751
- # that writes the finding. The key names in the source_properties map must be
752
- # between 1 and 255 characters, and must start with a letter and contain
753
- # alphanumeric characters or underscores only.
754
- # Corresponds to the JSON property `sourceProperties`
755
- # @return [Hash<String,Object>]
756
- attr_accessor :source_properties
757
-
758
- # The state of the finding.
759
- # Corresponds to the JSON property `state`
760
- # @return [String]
761
- attr_accessor :state
762
-
763
- def initialize(**args)
764
- update!(**args)
765
- end
766
-
767
- # Update properties of this object
768
- def update!(**args)
769
- @category = args[:category] if args.key?(:category)
770
- @create_time = args[:create_time] if args.key?(:create_time)
771
- @event_time = args[:event_time] if args.key?(:event_time)
772
- @external_uri = args[:external_uri] if args.key?(:external_uri)
773
- @name = args[:name] if args.key?(:name)
774
- @parent = args[:parent] if args.key?(:parent)
775
- @resource_name = args[:resource_name] if args.key?(:resource_name)
776
- @security_marks = args[:security_marks] if args.key?(:security_marks)
777
- @source_properties = args[:source_properties] if args.key?(:source_properties)
778
- @state = args[:state] if args.key?(:state)
779
- end
780
- end
781
-
782
- # Cloud IAM Policy information associated with the Google Cloud resource
783
- # described by the Security Command Center asset. This information is managed
784
- # and defined by the Google Cloud resource and cannot be modified by the
785
- # user.
786
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
787
- include Google::Apis::Core::Hashable
788
-
789
- # The JSON representation of the Policy associated with the asset.
790
- # See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
791
- # format details.
792
- # Corresponds to the JSON property `policyBlob`
793
- # @return [String]
794
- attr_accessor :policy_blob
795
-
796
- def initialize(**args)
797
- update!(**args)
798
- end
799
-
800
- # Update properties of this object
801
- def update!(**args)
802
- @policy_blob = args[:policy_blob] if args.key?(:policy_blob)
803
- end
804
- end
805
-
806
- # Security Command Center's Notification
807
- class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
808
- include Google::Apis::Core::Hashable
809
-
810
- # Security Command Center finding.
811
- # A finding is a record of assessment data (security, risk, health or privacy)
812
- # ingested into Security Command Center for presentation, notification,
813
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
814
- # in an App Engine application is a finding.
815
- # Corresponds to the JSON property `finding`
816
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
817
- attr_accessor :finding
818
-
819
- # Name of the notification config that generated current notification.
820
- # Corresponds to the JSON property `notificationConfigName`
821
- # @return [String]
822
- attr_accessor :notification_config_name
823
-
824
- # Information related to the Google Cloud resource.
825
- # Corresponds to the JSON property `resource`
826
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
827
- attr_accessor :resource
828
-
829
- # Wrapper over asset object that also captures the state change for the asset
830
- # e.g. if it was a newly created asset vs updated or deleted asset.
831
- # Corresponds to the JSON property `temporalAsset`
832
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
833
- attr_accessor :temporal_asset
834
-
835
- def initialize(**args)
836
- update!(**args)
837
- end
838
-
839
- # Update properties of this object
840
- def update!(**args)
841
- @finding = args[:finding] if args.key?(:finding)
842
- @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
843
- @resource = args[:resource] if args.key?(:resource)
844
- @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
845
- end
846
- end
847
-
848
- # Information related to the Google Cloud resource.
849
- class GoogleCloudSecuritycenterV1p1beta1Resource
850
- include Google::Apis::Core::Hashable
851
-
852
- # The full resource name of the resource. See:
853
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
854
- # Corresponds to the JSON property `name`
855
- # @return [String]
856
- attr_accessor :name
857
-
858
- # The full resource name of resource's parent.
859
- # Corresponds to the JSON property `parent`
860
- # @return [String]
861
- attr_accessor :parent
862
-
863
- # The human readable name of resource's parent.
864
- # Corresponds to the JSON property `parentDisplayName`
865
- # @return [String]
866
- attr_accessor :parent_display_name
867
-
868
- # The full resource name of project that the resource belongs to.
869
- # Corresponds to the JSON property `project`
870
- # @return [String]
871
- attr_accessor :project
872
-
873
- # The human readable name of project that the resource belongs to.
874
- # Corresponds to the JSON property `projectDisplayName`
875
- # @return [String]
876
- attr_accessor :project_display_name
877
-
878
- def initialize(**args)
879
- update!(**args)
880
- end
881
-
882
- # Update properties of this object
883
- def update!(**args)
884
- @name = args[:name] if args.key?(:name)
885
- @parent = args[:parent] if args.key?(:parent)
886
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
887
- @project = args[:project] if args.key?(:project)
888
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
889
- end
890
- end
891
-
892
- # Response of asset discovery run
893
- class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
894
- include Google::Apis::Core::Hashable
895
-
896
- # The duration between asset discovery run start and end
897
- # Corresponds to the JSON property `duration`
898
- # @return [String]
899
- attr_accessor :duration
900
-
901
- # The state of an asset discovery run.
902
- # Corresponds to the JSON property `state`
903
- # @return [String]
904
- attr_accessor :state
905
-
906
- def initialize(**args)
907
- update!(**args)
908
- end
909
-
910
- # Update properties of this object
911
- def update!(**args)
912
- @duration = args[:duration] if args.key?(:duration)
913
- @state = args[:state] if args.key?(:state)
914
- end
915
- end
916
-
917
- # Security Command Center managed properties. These properties are managed by
918
- # Security Command Center and cannot be modified by the user.
919
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
920
- include Google::Apis::Core::Hashable
921
-
922
- # The user defined display name for this resource.
923
- # Corresponds to the JSON property `resourceDisplayName`
924
- # @return [String]
925
- attr_accessor :resource_display_name
926
-
927
- # The full resource name of the Google Cloud resource this asset
928
- # represents. This field is immutable after create time. See:
929
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
930
- # Corresponds to the JSON property `resourceName`
931
- # @return [String]
932
- attr_accessor :resource_name
933
-
934
- # Owners of the Google Cloud resource.
935
- # Corresponds to the JSON property `resourceOwners`
936
- # @return [Array<String>]
937
- attr_accessor :resource_owners
938
-
939
- # The full resource name of the immediate parent of the resource. See:
940
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
941
- # Corresponds to the JSON property `resourceParent`
942
- # @return [String]
943
- attr_accessor :resource_parent
944
-
945
- # The user defined display name for the parent of this resource.
946
- # Corresponds to the JSON property `resourceParentDisplayName`
947
- # @return [String]
948
- attr_accessor :resource_parent_display_name
949
-
950
- # The full resource name of the project the resource belongs to. See:
951
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
952
- # Corresponds to the JSON property `resourceProject`
953
- # @return [String]
954
- attr_accessor :resource_project
955
-
956
- # The user defined display name for the project of this resource.
957
- # Corresponds to the JSON property `resourceProjectDisplayName`
958
- # @return [String]
959
- attr_accessor :resource_project_display_name
960
-
961
- # The type of the Google Cloud resource. Examples include: APPLICATION,
962
- # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
963
- # Security Command Center and/or the producer of the resource and is
964
- # immutable after create time.
965
- # Corresponds to the JSON property `resourceType`
966
- # @return [String]
967
- attr_accessor :resource_type
968
-
969
- def initialize(**args)
970
- update!(**args)
971
- end
972
-
973
- # Update properties of this object
974
- def update!(**args)
975
- @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
976
- @resource_name = args[:resource_name] if args.key?(:resource_name)
977
- @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
978
- @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
979
- @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
980
- @resource_project = args[:resource_project] if args.key?(:resource_project)
981
- @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
982
- @resource_type = args[:resource_type] if args.key?(:resource_type)
983
- end
984
- end
985
-
986
- # User specified security marks that are attached to the parent Security
987
- # Command Center resource. Security marks are scoped within a Security Command
988
- # Center organization -- they can be modified and viewed by all users who have
989
- # proper permissions on the organization.
990
- class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
991
- include Google::Apis::Core::Hashable
992
-
993
- # Mutable user specified security marks belonging to the parent resource.
994
- # Constraints are as follows:
995
- # * Keys and values are treated as case insensitive
996
- # * Keys must be between 1 - 256 characters (inclusive)
997
- # * Keys must be letters, numbers, underscores, or dashes
998
- # * Values have leading and trailing whitespace trimmed, remaining
999
- # characters must be between 1 - 4096 characters (inclusive)
1000
- # Corresponds to the JSON property `marks`
1001
- # @return [Hash<String,String>]
1002
- attr_accessor :marks
1003
-
1004
- # The relative resource name of the SecurityMarks. See:
1005
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1006
- # Examples:
1007
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1008
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1009
- # securityMarks".
1010
- # Corresponds to the JSON property `name`
1011
- # @return [String]
1012
- attr_accessor :name
1013
-
1014
- def initialize(**args)
1015
- update!(**args)
1016
- end
1017
-
1018
- # Update properties of this object
1019
- def update!(**args)
1020
- @marks = args[:marks] if args.key?(:marks)
1021
- @name = args[:name] if args.key?(:name)
1022
- end
1023
- end
1024
-
1025
- # Wrapper over asset object that also captures the state change for the asset
1026
- # e.g. if it was a newly created asset vs updated or deleted asset.
1027
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
1028
- include Google::Apis::Core::Hashable
1029
-
1030
- # Security Command Center representation of a Google Cloud
1031
- # resource.
1032
- # The Asset is a Security Command Center resource that captures information
1033
- # about a single Google Cloud resource. All modifications to an Asset are only
1034
- # within the context of Security Command Center and don't affect the referenced
1035
- # Google Cloud resource.
1036
- # Corresponds to the JSON property `asset`
1037
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1038
- attr_accessor :asset
1039
-
1040
- # Represents if the asset was created/updated/deleted.
1041
- # Corresponds to the JSON property `changeType`
1042
- # @return [String]
1043
- attr_accessor :change_type
1044
-
1045
- def initialize(**args)
1046
- update!(**args)
1047
- end
1048
-
1049
- # Update properties of this object
1050
- def update!(**args)
1051
- @asset = args[:asset] if args.key?(:asset)
1052
- @change_type = args[:change_type] if args.key?(:change_type)
1053
- end
1054
- end
1055
-
1056
- # Request message for grouping by assets.
1057
- class GroupAssetsRequest
1058
- include Google::Apis::Core::Hashable
1059
-
1060
- # When compare_duration is set, the GroupResult's "state_change" property is
1061
- # updated to indicate whether the asset was added, removed, or remained
1062
- # present during the compare_duration period of time that precedes the
1063
- # read_time. This is the time between (read_time - compare_duration) and
1064
- # read_time.
1065
- # The state change value is derived based on the presence of the asset at the
1066
- # two points in time. Intermediate state changes between the two times don't
1067
- # affect the result. For example, the results aren't affected if the asset is
1068
- # removed and re-created again.
1069
- # Possible "state_change" values when compare_duration is specified:
1070
- # * "ADDED": indicates that the asset was not present at the start of
1071
- # compare_duration, but present at reference_time.
1072
- # * "REMOVED": indicates that the asset was present at the start of
1073
- # compare_duration, but not present at reference_time.
1074
- # * "ACTIVE": indicates that the asset was present at both the
1075
- # start and the end of the time period defined by
1076
- # compare_duration and reference_time.
1077
- # If compare_duration is not specified, then the only possible state_change
1078
- # is "UNUSED", which will be the state_change set for all assets present at
1079
- # read_time.
1080
- # If this field is set then `state_change` must be a specified field in
1081
- # `group_by`.
1082
- # Corresponds to the JSON property `compareDuration`
1083
- # @return [String]
1084
- attr_accessor :compare_duration
1085
-
1086
- # Expression that defines the filter to apply across assets.
1087
- # The expression is a list of zero or more restrictions combined via logical
1088
- # operators `AND` and `OR`.
1089
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1090
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1091
- # character in front of them to indicate negation. The fields map to those
1092
- # defined in the Asset resource. Examples include:
1093
- # * name
1094
- # * security_center_properties.resource_name
1095
- # * resource_properties.a_property
1096
- # * security_marks.marks.marka
1097
- # The supported operators are:
1098
- # * `=` for all value types.
1099
- # * `>`, `<`, `>=`, `<=` for integer values.
1100
- # * `:`, meaning substring matching, for strings.
1101
- # The supported value types are:
1102
- # * string literals in quotes.
1103
- # * integer literals without quotes.
1104
- # * boolean literals `true` and `false` without quotes.
1105
- # The following field and operator combinations are supported:
1106
- # * name: `=`
1107
- # * update_time: `=`, `>`, `<`, `>=`, `<=`
1108
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1109
- # Examples:
1110
- # `update_time = "2019-06-10T16:07:18-07:00"`
1111
- # `update_time = 1560208038000`
1112
- # * create_time: `=`, `>`, `<`, `>=`, `<=`
1113
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1114
- # Examples:
1115
- # `create_time = "2019-06-10T16:07:18-07:00"`
1116
- # `create_time = 1560208038000`
1117
- # * iam_policy.policy_blob: `=`, `:`
1118
- # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1119
- # * security_marks.marks: `=`, `:`
1120
- # * security_center_properties.resource_name: `=`, `:`
1121
- # * security_center_properties.resource_name_display_name: `=`, `:`
1122
- # * security_center_properties.resource_type: `=`, `:`
1123
- # * security_center_properties.resource_parent: `=`, `:`
1124
- # * security_center_properties.resource_parent_display_name: `=`, `:`
1125
- # * security_center_properties.resource_project: `=`, `:`
1126
- # * security_center_properties.resource_project_display_name: `=`, `:`
1127
- # * security_center_properties.resource_owners: `=`, `:`
1128
- # For example, `resource_properties.size = 100` is a valid filter string.
1129
- # Use a partial match on the empty string to filter based on a property
1130
- # existing: `resource_properties.my_property : ""`
1131
- # Use a negated partial match on the empty string to filter based on a
1132
- # property not existing: `-resource_properties.my_property : ""`
1133
- # Corresponds to the JSON property `filter`
1134
- # @return [String]
1135
- attr_accessor :filter
1136
-
1137
- # Required. Expression that defines what assets fields to use for grouping. The
1138
- # string
1139
- # value should follow SQL syntax: comma separated list of fields. For
1140
- # example:
1141
- # "security_center_properties.resource_project,security_center_properties.
1142
- # project".
1143
- # The following fields are supported when compare_duration is not set:
1144
- # * security_center_properties.resource_project
1145
- # * security_center_properties.resource_project_display_name
1146
- # * security_center_properties.resource_type
1147
- # * security_center_properties.resource_parent
1148
- # * security_center_properties.resource_parent_display_name
1149
- # The following fields are supported when compare_duration is set:
1150
- # * security_center_properties.resource_type
1151
- # * security_center_properties.resource_project_display_name
1152
- # * security_center_properties.resource_parent_display_name
1153
- # Corresponds to the JSON property `groupBy`
1154
- # @return [String]
1155
- attr_accessor :group_by
1156
-
1157
- # The maximum number of results to return in a single response. Default is
1158
- # 10, minimum is 1, maximum is 1000.
1159
- # Corresponds to the JSON property `pageSize`
1160
- # @return [Fixnum]
1161
- attr_accessor :page_size
1162
-
1163
- # The value returned by the last `GroupAssetsResponse`; indicates
1164
- # that this is a continuation of a prior `GroupAssets` call, and that the
1165
- # system should return the next page of data.
1166
- # Corresponds to the JSON property `pageToken`
1167
- # @return [String]
1168
- attr_accessor :page_token
1169
-
1170
- # Time used as a reference point when filtering assets. The filter is limited
1171
- # to assets existing at the supplied time and their values are those at that
1172
- # specific time. Absence of this field will default to the API's version of
1173
- # NOW.
1174
- # Corresponds to the JSON property `readTime`
1175
- # @return [String]
1176
- attr_accessor :read_time
1177
-
1178
- def initialize(**args)
1179
- update!(**args)
1180
- end
1181
-
1182
- # Update properties of this object
1183
- def update!(**args)
1184
- @compare_duration = args[:compare_duration] if args.key?(:compare_duration)
1185
- @filter = args[:filter] if args.key?(:filter)
1186
- @group_by = args[:group_by] if args.key?(:group_by)
1187
- @page_size = args[:page_size] if args.key?(:page_size)
1188
- @page_token = args[:page_token] if args.key?(:page_token)
1189
- @read_time = args[:read_time] if args.key?(:read_time)
1190
- end
1191
- end
1192
-
1193
- # Response message for grouping by assets.
1194
- class GroupAssetsResponse
1195
- include Google::Apis::Core::Hashable
1196
-
1197
- # Group results. There exists an element for each existing unique
1198
- # combination of property/values. The element contains a count for the number
1199
- # of times those specific property/values appear.
1200
- # Corresponds to the JSON property `groupByResults`
1201
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1202
- attr_accessor :group_by_results
1203
-
1204
- # Token to retrieve the next page of results, or empty if there are no more
1205
- # results.
1206
- # Corresponds to the JSON property `nextPageToken`
1207
- # @return [String]
1208
- attr_accessor :next_page_token
1209
-
1210
- # Time used for executing the groupBy request.
1211
- # Corresponds to the JSON property `readTime`
1212
- # @return [String]
1213
- attr_accessor :read_time
1214
-
1215
- # The total number of results matching the query.
1216
- # Corresponds to the JSON property `totalSize`
1217
- # @return [Fixnum]
1218
- attr_accessor :total_size
1219
-
1220
- def initialize(**args)
1221
- update!(**args)
1222
- end
1223
-
1224
- # Update properties of this object
1225
- def update!(**args)
1226
- @group_by_results = args[:group_by_results] if args.key?(:group_by_results)
1227
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1228
- @read_time = args[:read_time] if args.key?(:read_time)
1229
- @total_size = args[:total_size] if args.key?(:total_size)
1230
- end
1231
- end
1232
-
1233
- # Request message for grouping by findings.
1234
- class GroupFindingsRequest
1235
- include Google::Apis::Core::Hashable
1236
-
1237
- # When compare_duration is set, the GroupResult's "state_change" attribute is
1238
- # updated to indicate whether the finding had its state changed, the
1239
- # finding's state remained unchanged, or if the finding was added during the
1240
- # compare_duration period of time that precedes the read_time. This is the
1241
- # time between (read_time - compare_duration) and read_time.
1242
- # The state_change value is derived based on the presence and state of the
1243
- # finding at the two points in time. Intermediate state changes between the
1244
- # two times don't affect the result. For example, the results aren't affected
1245
- # if the finding is made inactive and then active again.
1246
- # Possible "state_change" values when compare_duration is specified:
1247
- # * "CHANGED": indicates that the finding was present and matched the given
1248
- # filter at the start of compare_duration, but changed its
1249
- # state at read_time.
1250
- # * "UNCHANGED": indicates that the finding was present and matched the given
1251
- # filter at the start of compare_duration and did not change
1252
- # state at read_time.
1253
- # * "ADDED": indicates that the finding did not match the given filter or
1254
- # was not present at the start of compare_duration, but was
1255
- # present at read_time.
1256
- # * "REMOVED": indicates that the finding was present and matched the
1257
- # filter at the start of compare_duration, but did not match
1258
- # the filter at read_time.
1259
- # If compare_duration is not specified, then the only possible state_change
1260
- # is "UNUSED", which will be the state_change set for all findings present
1261
- # at read_time.
1262
- # If this field is set then `state_change` must be a specified field in
1263
- # `group_by`.
1264
- # Corresponds to the JSON property `compareDuration`
1265
- # @return [String]
1266
- attr_accessor :compare_duration
1267
-
1268
- # Expression that defines the filter to apply across findings.
1269
- # The expression is a list of one or more restrictions combined via logical
1270
- # operators `AND` and `OR`.
1271
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1272
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1273
- # character in front of them to indicate negation. Examples include:
1274
- # * name
1275
- # * source_properties.a_property
1276
- # * security_marks.marks.marka
1277
- # The supported operators are:
1278
- # * `=` for all value types.
1279
- # * `>`, `<`, `>=`, `<=` for integer values.
1280
- # * `:`, meaning substring matching, for strings.
1281
- # The supported value types are:
1282
- # * string literals in quotes.
1283
- # * integer literals without quotes.
1284
- # * boolean literals `true` and `false` without quotes.
1285
- # The following field and operator combinations are supported:
1286
- # * name: `=`
1287
- # * parent: `=`, `:`
1288
- # * resource_name: `=`, `:`
1289
- # * state: `=`, `:`
1290
- # * category: `=`, `:`
1291
- # * external_uri: `=`, `:`
1292
- # * event_time: `=`, `>`, `<`, `>=`, `<=`
1293
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1294
- # Examples:
1295
- # `event_time = "2019-06-10T16:07:18-07:00"`
1296
- # `event_time = 1560208038000`
1297
- # * security_marks.marks: `=`, `:`
1298
- # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1299
- # For example, `source_properties.size = 100` is a valid filter string.
1300
- # Use a partial match on the empty string to filter based on a property
1301
- # existing: `source_properties.my_property : ""`
1302
- # Use a negated partial match on the empty string to filter based on a
1303
- # property not existing: `-source_properties.my_property : ""`
1304
- # Corresponds to the JSON property `filter`
1305
- # @return [String]
1306
- attr_accessor :filter
1307
-
1308
- # Required. Expression that defines what assets fields to use for grouping (
1309
- # including
1310
- # `state_change`). The string value should follow SQL syntax: comma separated
1311
- # list of fields. For example: "parent,resource_name".
1312
- # The following fields are supported:
1313
- # * resource_name
1314
- # * category
1315
- # * state
1316
- # * parent
1317
- # The following fields are supported when compare_duration is set:
1318
- # * state_change
1319
- # Corresponds to the JSON property `groupBy`
1320
- # @return [String]
1321
- attr_accessor :group_by
1322
-
1323
- # The maximum number of results to return in a single response. Default is
1324
- # 10, minimum is 1, maximum is 1000.
1325
- # Corresponds to the JSON property `pageSize`
1326
- # @return [Fixnum]
1327
- attr_accessor :page_size
1328
-
1329
- # The value returned by the last `GroupFindingsResponse`; indicates
1330
- # that this is a continuation of a prior `GroupFindings` call, and
1331
- # that the system should return the next page of data.
1332
- # Corresponds to the JSON property `pageToken`
1333
- # @return [String]
1334
- attr_accessor :page_token
1335
-
1336
- # Time used as a reference point when filtering findings. The filter is
1337
- # limited to findings existing at the supplied time and their values are
1338
- # those at that specific time. Absence of this field will default to the
1339
- # API's version of NOW.
1340
- # Corresponds to the JSON property `readTime`
1341
- # @return [String]
1342
- attr_accessor :read_time
1343
-
1344
- def initialize(**args)
1345
- update!(**args)
1346
- end
1347
-
1348
- # Update properties of this object
1349
- def update!(**args)
1350
- @compare_duration = args[:compare_duration] if args.key?(:compare_duration)
1351
- @filter = args[:filter] if args.key?(:filter)
1352
- @group_by = args[:group_by] if args.key?(:group_by)
1353
- @page_size = args[:page_size] if args.key?(:page_size)
1354
- @page_token = args[:page_token] if args.key?(:page_token)
1355
- @read_time = args[:read_time] if args.key?(:read_time)
1356
- end
1357
- end
1358
-
1359
- # Response message for group by findings.
1360
- class GroupFindingsResponse
1361
- include Google::Apis::Core::Hashable
1362
-
1363
- # Group results. There exists an element for each existing unique
1364
- # combination of property/values. The element contains a count for the number
1365
- # of times those specific property/values appear.
1366
- # Corresponds to the JSON property `groupByResults`
1367
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1368
- attr_accessor :group_by_results
1369
-
1370
- # Token to retrieve the next page of results, or empty if there are no more
1371
- # results.
1372
- # Corresponds to the JSON property `nextPageToken`
1373
- # @return [String]
1374
- attr_accessor :next_page_token
1375
-
1376
- # Time used for executing the groupBy request.
1377
- # Corresponds to the JSON property `readTime`
1378
- # @return [String]
1379
- attr_accessor :read_time
1380
-
1381
- # The total number of results matching the query.
1382
- # Corresponds to the JSON property `totalSize`
1383
- # @return [Fixnum]
1384
- attr_accessor :total_size
1385
-
1386
- def initialize(**args)
1387
- update!(**args)
1388
- end
1389
-
1390
- # Update properties of this object
1391
- def update!(**args)
1392
- @group_by_results = args[:group_by_results] if args.key?(:group_by_results)
1393
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1394
- @read_time = args[:read_time] if args.key?(:read_time)
1395
- @total_size = args[:total_size] if args.key?(:total_size)
1396
- end
1397
- end
1398
-
1399
- # Result containing the properties and count of a groupBy request.
1400
- class GroupResult
1401
- include Google::Apis::Core::Hashable
1402
-
1403
- # Total count of resources for the given properties.
1404
- # Corresponds to the JSON property `count`
1405
- # @return [Fixnum]
1406
- attr_accessor :count
1407
-
1408
- # Properties matching the groupBy fields in the request.
1409
- # Corresponds to the JSON property `properties`
1410
- # @return [Hash<String,Object>]
1411
- attr_accessor :properties
1412
-
1413
- def initialize(**args)
1414
- update!(**args)
1415
- end
1416
-
1417
- # Update properties of this object
1418
- def update!(**args)
1419
- @count = args[:count] if args.key?(:count)
1420
- @properties = args[:properties] if args.key?(:properties)
1421
- end
1422
- end
1423
-
1424
- # Response message for listing assets.
1425
- class ListAssetsResponse
1426
- include Google::Apis::Core::Hashable
1427
-
1428
- # Assets matching the list request.
1429
- # Corresponds to the JSON property `listAssetsResults`
1430
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::ListAssetsResult>]
1431
- attr_accessor :list_assets_results
1432
-
1433
- # Token to retrieve the next page of results, or empty if there are no more
1434
- # results.
1435
- # Corresponds to the JSON property `nextPageToken`
1436
- # @return [String]
1437
- attr_accessor :next_page_token
1438
-
1439
- # Time used for executing the list request.
1440
- # Corresponds to the JSON property `readTime`
1441
- # @return [String]
1442
- attr_accessor :read_time
1443
-
1444
- # The total number of assets matching the query.
1445
- # Corresponds to the JSON property `totalSize`
1446
- # @return [Fixnum]
1447
- attr_accessor :total_size
1448
-
1449
- def initialize(**args)
1450
- update!(**args)
1451
- end
1452
-
1453
- # Update properties of this object
1454
- def update!(**args)
1455
- @list_assets_results = args[:list_assets_results] if args.key?(:list_assets_results)
1456
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1457
- @read_time = args[:read_time] if args.key?(:read_time)
1458
- @total_size = args[:total_size] if args.key?(:total_size)
1459
- end
1460
- end
1461
-
1462
- # Result containing the Asset and its State.
1463
- class ListAssetsResult
1464
- include Google::Apis::Core::Hashable
1465
-
1466
- # Security Command Center representation of a Google Cloud
1467
- # resource.
1468
- # The Asset is a Security Command Center resource that captures information
1469
- # about a single Google Cloud resource. All modifications to an Asset are only
1470
- # within the context of Security Command Center and don't affect the referenced
1471
- # Google Cloud resource.
1472
- # Corresponds to the JSON property `asset`
1473
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1474
- attr_accessor :asset
1475
-
1476
- # State change of the asset between the points in time.
1477
- # Corresponds to the JSON property `stateChange`
1478
- # @return [String]
1479
- attr_accessor :state_change
1480
-
1481
- def initialize(**args)
1482
- update!(**args)
1483
- end
1484
-
1485
- # Update properties of this object
1486
- def update!(**args)
1487
- @asset = args[:asset] if args.key?(:asset)
1488
- @state_change = args[:state_change] if args.key?(:state_change)
1489
- end
1490
- end
1491
-
1492
- # Response message for listing findings.
1493
- class ListFindingsResponse
1494
- include Google::Apis::Core::Hashable
1495
-
1496
- # Findings matching the list request.
1497
- # Corresponds to the JSON property `listFindingsResults`
1498
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::ListFindingsResult>]
1499
- attr_accessor :list_findings_results
1500
-
1501
- # Token to retrieve the next page of results, or empty if there are no more
1502
- # results.
1503
- # Corresponds to the JSON property `nextPageToken`
1504
- # @return [String]
1505
- attr_accessor :next_page_token
1506
-
1507
- # Time used for executing the list request.
1508
- # Corresponds to the JSON property `readTime`
1509
- # @return [String]
1510
- attr_accessor :read_time
1511
-
1512
- # The total number of findings matching the query.
1513
- # Corresponds to the JSON property `totalSize`
1514
- # @return [Fixnum]
1515
- attr_accessor :total_size
1516
-
1517
- def initialize(**args)
1518
- update!(**args)
1519
- end
1520
-
1521
- # Update properties of this object
1522
- def update!(**args)
1523
- @list_findings_results = args[:list_findings_results] if args.key?(:list_findings_results)
1524
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1525
- @read_time = args[:read_time] if args.key?(:read_time)
1526
- @total_size = args[:total_size] if args.key?(:total_size)
1527
- end
1528
- end
1529
-
1530
- # Result containing the Finding and its StateChange.
1531
- class ListFindingsResult
1532
- include Google::Apis::Core::Hashable
1533
-
1534
- # Security Command Center finding.
1535
- # A finding is a record of assessment data (security, risk, health or privacy)
1536
- # ingested into Security Command Center for presentation, notification,
1537
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
1538
- # in an App Engine application is a finding.
1539
- # Corresponds to the JSON property `finding`
1540
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
1541
- attr_accessor :finding
1542
-
1543
- # Information related to the Google Cloud resource that is
1544
- # associated with this finding.
1545
- # Corresponds to the JSON property `resource`
1546
- # @return [Google::Apis::SecuritycenterV1p1beta1::Resource]
1547
- attr_accessor :resource
1548
-
1549
- # State change of the finding between the points in time.
1550
- # Corresponds to the JSON property `stateChange`
1551
- # @return [String]
1552
- attr_accessor :state_change
1553
-
1554
- def initialize(**args)
1555
- update!(**args)
1556
- end
1557
-
1558
- # Update properties of this object
1559
- def update!(**args)
1560
- @finding = args[:finding] if args.key?(:finding)
1561
- @resource = args[:resource] if args.key?(:resource)
1562
- @state_change = args[:state_change] if args.key?(:state_change)
1563
- end
1564
- end
1565
-
1566
- # Response message for listing notification configs.
1567
- class ListNotificationConfigsResponse
1568
- include Google::Apis::Core::Hashable
1569
-
1570
- # Token to retrieve the next page of results, or empty if there are no more
1571
- # results.
1572
- # Corresponds to the JSON property `nextPageToken`
1573
- # @return [String]
1574
- attr_accessor :next_page_token
1575
-
1576
- # Notification configs belonging to the requested parent.
1577
- # Corresponds to the JSON property `notificationConfigs`
1578
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::NotificationConfig>]
1579
- attr_accessor :notification_configs
1580
-
1581
- def initialize(**args)
1582
- update!(**args)
1583
- end
1584
-
1585
- # Update properties of this object
1586
- def update!(**args)
1587
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1588
- @notification_configs = args[:notification_configs] if args.key?(:notification_configs)
1589
- end
1590
- end
1591
-
1592
- # The response message for Operations.ListOperations.
1593
- class ListOperationsResponse
1594
- include Google::Apis::Core::Hashable
1595
-
1596
- # The standard List next-page token.
1597
- # Corresponds to the JSON property `nextPageToken`
1598
- # @return [String]
1599
- attr_accessor :next_page_token
1600
-
1601
- # A list of operations that matches the specified filter in the request.
1602
- # Corresponds to the JSON property `operations`
1603
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Operation>]
1604
- attr_accessor :operations
1605
-
1606
- def initialize(**args)
1607
- update!(**args)
1608
- end
1609
-
1610
- # Update properties of this object
1611
- def update!(**args)
1612
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1613
- @operations = args[:operations] if args.key?(:operations)
1614
- end
1615
- end
1616
-
1617
- # Response message for listing sources.
1618
- class ListSourcesResponse
1619
- include Google::Apis::Core::Hashable
1620
-
1621
- # Token to retrieve the next page of results, or empty if there are no more
1622
- # results.
1623
- # Corresponds to the JSON property `nextPageToken`
1624
- # @return [String]
1625
- attr_accessor :next_page_token
1626
-
1627
- # Sources belonging to the requested parent.
1628
- # Corresponds to the JSON property `sources`
1629
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Source>]
1630
- attr_accessor :sources
1631
-
1632
- def initialize(**args)
1633
- update!(**args)
1634
- end
1635
-
1636
- # Update properties of this object
1637
- def update!(**args)
1638
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1639
- @sources = args[:sources] if args.key?(:sources)
1640
- end
1641
- end
1642
-
1643
- # Security Command Center notification configs.
1644
- # A notification config is a Security Command Center resource that contains the
1645
- # configuration to send notifications for create/update events of findings,
1646
- # assets and etc.
1647
- class NotificationConfig
1648
- include Google::Apis::Core::Hashable
1649
-
1650
- # The description of the notification config (max of 1024 characters).
1651
- # Corresponds to the JSON property `description`
1652
- # @return [String]
1653
- attr_accessor :description
1654
-
1655
- # The type of events the config is for, e.g. FINDING.
1656
- # Corresponds to the JSON property `eventType`
1657
- # @return [String]
1658
- attr_accessor :event_type
1659
-
1660
- # The relative resource name of this notification config. See:
1661
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1662
- # Example:
1663
- # "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1664
- # Corresponds to the JSON property `name`
1665
- # @return [String]
1666
- attr_accessor :name
1667
-
1668
- # The Pub/Sub topic to send notifications to. Its format is
1669
- # "projects/[project_id]/topics/[topic]".
1670
- # Corresponds to the JSON property `pubsubTopic`
1671
- # @return [String]
1672
- attr_accessor :pubsub_topic
1673
-
1674
- # Output only. The service account that needs "pubsub.topics.publish"
1675
- # permission to publish to the Pub/Sub topic.
1676
- # Corresponds to the JSON property `serviceAccount`
1677
- # @return [String]
1678
- attr_accessor :service_account
1679
-
1680
- # The config for streaming-based notifications, which send each event as soon
1681
- # as it is detected.
1682
- # Corresponds to the JSON property `streamingConfig`
1683
- # @return [Google::Apis::SecuritycenterV1p1beta1::StreamingConfig]
1684
- attr_accessor :streaming_config
1685
-
1686
- def initialize(**args)
1687
- update!(**args)
1688
- end
1689
-
1690
- # Update properties of this object
1691
- def update!(**args)
1692
- @description = args[:description] if args.key?(:description)
1693
- @event_type = args[:event_type] if args.key?(:event_type)
1694
- @name = args[:name] if args.key?(:name)
1695
- @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1696
- @service_account = args[:service_account] if args.key?(:service_account)
1697
- @streaming_config = args[:streaming_config] if args.key?(:streaming_config)
1698
- end
1699
- end
1700
-
1701
- # This resource represents a long-running operation that is the result of a
1702
- # network API call.
1703
- class Operation
1704
- include Google::Apis::Core::Hashable
1705
-
1706
- # If the value is `false`, it means the operation is still in progress.
1707
- # If `true`, the operation is completed, and either `error` or `response` is
1708
- # available.
1709
- # Corresponds to the JSON property `done`
1710
- # @return [Boolean]
1711
- attr_accessor :done
1712
- alias_method :done?, :done
1713
-
1714
- # The `Status` type defines a logical error model that is suitable for
1715
- # different programming environments, including REST APIs and RPC APIs. It is
1716
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1717
- # three pieces of data: error code, error message, and error details.
1718
- # You can find out more about this error model and how to work with it in the
1719
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1720
- # Corresponds to the JSON property `error`
1721
- # @return [Google::Apis::SecuritycenterV1p1beta1::Status]
1722
- attr_accessor :error
1723
-
1724
- # Service-specific metadata associated with the operation. It typically
1725
- # contains progress information and common metadata such as create time.
1726
- # Some services might not provide such metadata. Any method that returns a
1727
- # long-running operation should document the metadata type, if any.
1728
- # Corresponds to the JSON property `metadata`
1729
- # @return [Hash<String,Object>]
1730
- attr_accessor :metadata
1731
-
1732
- # The server-assigned name, which is only unique within the same service that
1733
- # originally returns it. If you use the default HTTP mapping, the
1734
- # `name` should be a resource name ending with `operations/`unique_id``.
1735
- # Corresponds to the JSON property `name`
1736
- # @return [String]
1737
- attr_accessor :name
1738
-
1739
- # The normal response of the operation in case of success. If the original
1740
- # method returns no data on success, such as `Delete`, the response is
1741
- # `google.protobuf.Empty`. If the original method is standard
1742
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1743
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1744
- # is the original method name. For example, if the original method name
1745
- # is `TakeSnapshot()`, the inferred response type is
1746
- # `TakeSnapshotResponse`.
1747
- # Corresponds to the JSON property `response`
1748
- # @return [Hash<String,Object>]
1749
- attr_accessor :response
1750
-
1751
- def initialize(**args)
1752
- update!(**args)
1753
- end
1754
-
1755
- # Update properties of this object
1756
- def update!(**args)
1757
- @done = args[:done] if args.key?(:done)
1758
- @error = args[:error] if args.key?(:error)
1759
- @metadata = args[:metadata] if args.key?(:metadata)
1760
- @name = args[:name] if args.key?(:name)
1761
- @response = args[:response] if args.key?(:response)
1762
- end
1763
- end
1764
-
1765
- # User specified settings that are attached to the Security Command
1766
- # Center organization.
1767
- class OrganizationSettings
1768
- include Google::Apis::Core::Hashable
1769
-
1770
- # The configuration used for Asset Discovery runs.
1771
- # Corresponds to the JSON property `assetDiscoveryConfig`
1772
- # @return [Google::Apis::SecuritycenterV1p1beta1::AssetDiscoveryConfig]
1773
- attr_accessor :asset_discovery_config
1774
-
1775
- # A flag that indicates if Asset Discovery should be enabled. If the flag is
1776
- # set to `true`, then discovery of assets will occur. If it is set to `false,
1777
- # all historical assets will remain, but discovery of future assets will not
1778
- # occur.
1779
- # Corresponds to the JSON property `enableAssetDiscovery`
1780
- # @return [Boolean]
1781
- attr_accessor :enable_asset_discovery
1782
- alias_method :enable_asset_discovery?, :enable_asset_discovery
1783
-
1784
- # The relative resource name of the settings. See:
1785
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1786
- # Example:
1787
- # "organizations/`organization_id`/organizationSettings".
1788
- # Corresponds to the JSON property `name`
1789
- # @return [String]
1790
- attr_accessor :name
1791
-
1792
- def initialize(**args)
1793
- update!(**args)
1794
- end
1795
-
1796
- # Update properties of this object
1797
- def update!(**args)
1798
- @asset_discovery_config = args[:asset_discovery_config] if args.key?(:asset_discovery_config)
1799
- @enable_asset_discovery = args[:enable_asset_discovery] if args.key?(:enable_asset_discovery)
1800
- @name = args[:name] if args.key?(:name)
1801
- end
1802
- end
1803
-
1804
- # An Identity and Access Management (IAM) policy, which specifies access
1805
- # controls for Google Cloud resources.
1806
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1807
- # `members` to a single `role`. Members can be user accounts, service accounts,
1808
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1809
- # permissions; each `role` can be an IAM predefined role or a user-created
1810
- # custom role.
1811
- # For some types of Google Cloud resources, a `binding` can also specify a
1812
- # `condition`, which is a logical expression that allows access to a resource
1813
- # only if the expression evaluates to `true`. A condition can add constraints
1814
- # based on attributes of the request, the resource, or both. To learn which
1815
- # resources support conditions in their IAM policies, see the
1816
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1817
- # policies).
1818
- # **JSON example:**
1819
- # `
1820
- # "bindings": [
1821
- # `
1822
- # "role": "roles/resourcemanager.organizationAdmin",
1823
- # "members": [
1824
- # "user:mike@example.com",
1825
- # "group:admins@example.com",
1826
- # "domain:google.com",
1827
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1828
- # ]
1829
- # `,
1830
- # `
1831
- # "role": "roles/resourcemanager.organizationViewer",
1832
- # "members": [
1833
- # "user:eve@example.com"
1834
- # ],
1835
- # "condition": `
1836
- # "title": "expirable access",
1837
- # "description": "Does not grant access after Sep 2020",
1838
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1839
- # ",
1840
- # `
1841
- # `
1842
- # ],
1843
- # "etag": "BwWWja0YfJA=",
1844
- # "version": 3
1845
- # `
1846
- # **YAML example:**
1847
- # bindings:
1848
- # - members:
1849
- # - user:mike@example.com
1850
- # - group:admins@example.com
1851
- # - domain:google.com
1852
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1853
- # role: roles/resourcemanager.organizationAdmin
1854
- # - members:
1855
- # - user:eve@example.com
1856
- # role: roles/resourcemanager.organizationViewer
1857
- # condition:
1858
- # title: expirable access
1859
- # description: Does not grant access after Sep 2020
1860
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1861
- # - etag: BwWWja0YfJA=
1862
- # - version: 3
1863
- # For a description of IAM and its features, see the
1864
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1865
- class Policy
1866
- include Google::Apis::Core::Hashable
1867
-
1868
- # Specifies cloud audit logging configuration for this policy.
1869
- # Corresponds to the JSON property `auditConfigs`
1870
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditConfig>]
1871
- attr_accessor :audit_configs
1872
-
1873
- # Associates a list of `members` to a `role`. Optionally, may specify a
1874
- # `condition` that determines how and when the `bindings` are applied. Each
1875
- # of the `bindings` must contain at least one member.
1876
- # Corresponds to the JSON property `bindings`
1877
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Binding>]
1878
- attr_accessor :bindings
1879
-
1880
- # `etag` is used for optimistic concurrency control as a way to help
1881
- # prevent simultaneous updates of a policy from overwriting each other.
1882
- # It is strongly suggested that systems make use of the `etag` in the
1883
- # read-modify-write cycle to perform policy updates in order to avoid race
1884
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1885
- # systems are expected to put that etag in the request to `setIamPolicy` to
1886
- # ensure that their change will be applied to the same version of the policy.
1887
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1888
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1889
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1890
- # the conditions in the version `3` policy are lost.
1891
- # Corresponds to the JSON property `etag`
1892
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1893
- # @return [String]
1894
- attr_accessor :etag
1895
-
1896
- # Specifies the format of the policy.
1897
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1898
- # are rejected.
1899
- # Any operation that affects conditional role bindings must specify version
1900
- # `3`. This requirement applies to the following operations:
1901
- # * Getting a policy that includes a conditional role binding
1902
- # * Adding a conditional role binding to a policy
1903
- # * Changing a conditional role binding in a policy
1904
- # * Removing any role binding, with or without a condition, from a policy
1905
- # that includes conditions
1906
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1907
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1908
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1909
- # the conditions in the version `3` policy are lost.
1910
- # If a policy does not include any conditions, operations on that policy may
1911
- # specify any valid version or leave the field unset.
1912
- # To learn which resources support conditions in their IAM policies, see the
1913
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1914
- # policies).
1915
- # Corresponds to the JSON property `version`
1916
- # @return [Fixnum]
1917
- attr_accessor :version
1918
-
1919
- def initialize(**args)
1920
- update!(**args)
1921
- end
1922
-
1923
- # Update properties of this object
1924
- def update!(**args)
1925
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1926
- @bindings = args[:bindings] if args.key?(:bindings)
1927
- @etag = args[:etag] if args.key?(:etag)
1928
- @version = args[:version] if args.key?(:version)
1929
- end
1930
- end
1931
-
1932
- # Information related to the Google Cloud resource that is
1933
- # associated with this finding.
1934
- class Resource
1935
- include Google::Apis::Core::Hashable
1936
-
1937
- # The full resource name of the resource. See:
1938
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1939
- # Corresponds to the JSON property `name`
1940
- # @return [String]
1941
- attr_accessor :name
1942
-
1943
- # The human readable name of resource's parent.
1944
- # Corresponds to the JSON property `parentDisplayName`
1945
- # @return [String]
1946
- attr_accessor :parent_display_name
1947
-
1948
- # The full resource name of resource's parent.
1949
- # Corresponds to the JSON property `parentName`
1950
- # @return [String]
1951
- attr_accessor :parent_name
1952
-
1953
- # The human readable name of project that the resource belongs to.
1954
- # Corresponds to the JSON property `projectDisplayName`
1955
- # @return [String]
1956
- attr_accessor :project_display_name
1957
-
1958
- # The full resource name of project that the resource belongs to.
1959
- # Corresponds to the JSON property `projectName`
1960
- # @return [String]
1961
- attr_accessor :project_name
1962
-
1963
- def initialize(**args)
1964
- update!(**args)
1965
- end
1966
-
1967
- # Update properties of this object
1968
- def update!(**args)
1969
- @name = args[:name] if args.key?(:name)
1970
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1971
- @parent_name = args[:parent_name] if args.key?(:parent_name)
1972
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
1973
- @project_name = args[:project_name] if args.key?(:project_name)
1974
- end
1975
- end
1976
-
1977
- # Request message for running asset discovery for an organization.
1978
- class RunAssetDiscoveryRequest
1979
- include Google::Apis::Core::Hashable
1980
-
1981
- def initialize(**args)
1982
- update!(**args)
1983
- end
1984
-
1985
- # Update properties of this object
1986
- def update!(**args)
1987
- end
1988
- end
1989
-
1990
- # User specified security marks that are attached to the parent Security
1991
- # Command Center resource. Security marks are scoped within a Security Command
1992
- # Center organization -- they can be modified and viewed by all users who have
1993
- # proper permissions on the organization.
1994
- class SecurityMarks
1995
- include Google::Apis::Core::Hashable
1996
-
1997
- # Mutable user specified security marks belonging to the parent resource.
1998
- # Constraints are as follows:
1999
- # * Keys and values are treated as case insensitive
2000
- # * Keys must be between 1 - 256 characters (inclusive)
2001
- # * Keys must be letters, numbers, underscores, or dashes
2002
- # * Values have leading and trailing whitespace trimmed, remaining
2003
- # characters must be between 1 - 4096 characters (inclusive)
2004
- # Corresponds to the JSON property `marks`
2005
- # @return [Hash<String,String>]
2006
- attr_accessor :marks
2007
-
2008
- # The relative resource name of the SecurityMarks. See:
2009
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2010
- # Examples:
2011
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
2012
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
2013
- # securityMarks".
2014
- # Corresponds to the JSON property `name`
2015
- # @return [String]
2016
- attr_accessor :name
2017
-
2018
- def initialize(**args)
2019
- update!(**args)
2020
- end
2021
-
2022
- # Update properties of this object
2023
- def update!(**args)
2024
- @marks = args[:marks] if args.key?(:marks)
2025
- @name = args[:name] if args.key?(:name)
2026
- end
2027
- end
2028
-
2029
- # Request message for updating a finding's state.
2030
- class SetFindingStateRequest
2031
- include Google::Apis::Core::Hashable
2032
-
2033
- # Required. The time at which the updated state takes effect.
2034
- # Corresponds to the JSON property `startTime`
2035
- # @return [String]
2036
- attr_accessor :start_time
2037
-
2038
- # Required. The desired State of the finding.
2039
- # Corresponds to the JSON property `state`
2040
- # @return [String]
2041
- attr_accessor :state
2042
-
2043
- def initialize(**args)
2044
- update!(**args)
2045
- end
2046
-
2047
- # Update properties of this object
2048
- def update!(**args)
2049
- @start_time = args[:start_time] if args.key?(:start_time)
2050
- @state = args[:state] if args.key?(:state)
2051
- end
2052
- end
2053
-
2054
- # Request message for `SetIamPolicy` method.
2055
- class SetIamPolicyRequest
2056
- include Google::Apis::Core::Hashable
2057
-
2058
- # An Identity and Access Management (IAM) policy, which specifies access
2059
- # controls for Google Cloud resources.
2060
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2061
- # `members` to a single `role`. Members can be user accounts, service accounts,
2062
- # Google groups, and domains (such as G Suite). A `role` is a named list of
2063
- # permissions; each `role` can be an IAM predefined role or a user-created
2064
- # custom role.
2065
- # For some types of Google Cloud resources, a `binding` can also specify a
2066
- # `condition`, which is a logical expression that allows access to a resource
2067
- # only if the expression evaluates to `true`. A condition can add constraints
2068
- # based on attributes of the request, the resource, or both. To learn which
2069
- # resources support conditions in their IAM policies, see the
2070
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2071
- # policies).
2072
- # **JSON example:**
2073
- # `
2074
- # "bindings": [
2075
- # `
2076
- # "role": "roles/resourcemanager.organizationAdmin",
2077
- # "members": [
2078
- # "user:mike@example.com",
2079
- # "group:admins@example.com",
2080
- # "domain:google.com",
2081
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2082
- # ]
2083
- # `,
2084
- # `
2085
- # "role": "roles/resourcemanager.organizationViewer",
2086
- # "members": [
2087
- # "user:eve@example.com"
2088
- # ],
2089
- # "condition": `
2090
- # "title": "expirable access",
2091
- # "description": "Does not grant access after Sep 2020",
2092
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2093
- # ",
2094
- # `
2095
- # `
2096
- # ],
2097
- # "etag": "BwWWja0YfJA=",
2098
- # "version": 3
2099
- # `
2100
- # **YAML example:**
2101
- # bindings:
2102
- # - members:
2103
- # - user:mike@example.com
2104
- # - group:admins@example.com
2105
- # - domain:google.com
2106
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2107
- # role: roles/resourcemanager.organizationAdmin
2108
- # - members:
2109
- # - user:eve@example.com
2110
- # role: roles/resourcemanager.organizationViewer
2111
- # condition:
2112
- # title: expirable access
2113
- # description: Does not grant access after Sep 2020
2114
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2115
- # - etag: BwWWja0YfJA=
2116
- # - version: 3
2117
- # For a description of IAM and its features, see the
2118
- # [IAM documentation](https://cloud.google.com/iam/docs/).
2119
- # Corresponds to the JSON property `policy`
2120
- # @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
2121
- attr_accessor :policy
2122
-
2123
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2124
- # the fields in the mask will be modified. If no mask is provided, the
2125
- # following default mask is used:
2126
- # `paths: "bindings, etag"`
2127
- # Corresponds to the JSON property `updateMask`
2128
- # @return [String]
2129
- attr_accessor :update_mask
2130
-
2131
- def initialize(**args)
2132
- update!(**args)
2133
- end
2134
-
2135
- # Update properties of this object
2136
- def update!(**args)
2137
- @policy = args[:policy] if args.key?(:policy)
2138
- @update_mask = args[:update_mask] if args.key?(:update_mask)
2139
- end
2140
- end
2141
-
2142
- # Security Command Center finding source. A finding source
2143
- # is an entity or a mechanism that can produce a finding. A source is like a
2144
- # container of findings that come from the same scanner, logger, monitor, etc.
2145
- class Source
2146
- include Google::Apis::Core::Hashable
2147
-
2148
- # The description of the source (max of 1024 characters).
2149
- # Example:
2150
- # "Web Security Scanner is a web security scanner for common
2151
- # vulnerabilities in App Engine applications. It can automatically
2152
- # scan and detect four common vulnerabilities, including cross-site-scripting
2153
- # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
2154
- # outdated/insecure libraries."
2155
- # Corresponds to the JSON property `description`
2156
- # @return [String]
2157
- attr_accessor :description
2158
-
2159
- # The source's display name.
2160
- # A source's display name must be unique amongst its siblings, for example,
2161
- # two sources with the same parent can't share the same display name.
2162
- # The display name must have a length between 1 and 64 characters
2163
- # (inclusive).
2164
- # Corresponds to the JSON property `displayName`
2165
- # @return [String]
2166
- attr_accessor :display_name
2167
-
2168
- # The relative resource name of this source. See:
2169
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2170
- # Example:
2171
- # "organizations/`organization_id`/sources/`source_id`"
2172
- # Corresponds to the JSON property `name`
2173
- # @return [String]
2174
- attr_accessor :name
2175
-
2176
- def initialize(**args)
2177
- update!(**args)
2178
- end
2179
-
2180
- # Update properties of this object
2181
- def update!(**args)
2182
- @description = args[:description] if args.key?(:description)
2183
- @display_name = args[:display_name] if args.key?(:display_name)
2184
- @name = args[:name] if args.key?(:name)
2185
- end
2186
- end
2187
-
2188
- # The `Status` type defines a logical error model that is suitable for
2189
- # different programming environments, including REST APIs and RPC APIs. It is
2190
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2191
- # three pieces of data: error code, error message, and error details.
2192
- # You can find out more about this error model and how to work with it in the
2193
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2194
- class Status
2195
- include Google::Apis::Core::Hashable
2196
-
2197
- # The status code, which should be an enum value of google.rpc.Code.
2198
- # Corresponds to the JSON property `code`
2199
- # @return [Fixnum]
2200
- attr_accessor :code
2201
-
2202
- # A list of messages that carry the error details. There is a common set of
2203
- # message types for APIs to use.
2204
- # Corresponds to the JSON property `details`
2205
- # @return [Array<Hash<String,Object>>]
2206
- attr_accessor :details
2207
-
2208
- # A developer-facing error message, which should be in English. Any
2209
- # user-facing error message should be localized and sent in the
2210
- # google.rpc.Status.details field, or localized by the client.
2211
- # Corresponds to the JSON property `message`
2212
- # @return [String]
2213
- attr_accessor :message
2214
-
2215
- def initialize(**args)
2216
- update!(**args)
2217
- end
2218
-
2219
- # Update properties of this object
2220
- def update!(**args)
2221
- @code = args[:code] if args.key?(:code)
2222
- @details = args[:details] if args.key?(:details)
2223
- @message = args[:message] if args.key?(:message)
2224
- end
2225
- end
2226
-
2227
- # The config for streaming-based notifications, which send each event as soon
2228
- # as it is detected.
2229
- class StreamingConfig
2230
- include Google::Apis::Core::Hashable
2231
-
2232
- # Expression that defines the filter to apply across create/update events
2233
- # of assets or findings as specified by the event type. The expression is a
2234
- # list of zero or more restrictions combined via logical operators `AND`
2235
- # and `OR`. Parentheses are supported, and `OR` has higher precedence than
2236
- # `AND`.
2237
- # Restrictions have the form `<field> <operator> <value>` and may have a
2238
- # `-` character in front of them to indicate negation. The fields map to
2239
- # those defined in the corresponding resource.
2240
- # The supported operators are:
2241
- # * `=` for all value types.
2242
- # * `>`, `<`, `>=`, `<=` for integer values.
2243
- # * `:`, meaning substring matching, for strings.
2244
- # The supported value types are:
2245
- # * string literals in quotes.
2246
- # * integer literals without quotes.
2247
- # * boolean literals `true` and `false` without quotes.
2248
- # Corresponds to the JSON property `filter`
2249
- # @return [String]
2250
- attr_accessor :filter
2251
-
2252
- def initialize(**args)
2253
- update!(**args)
2254
- end
2255
-
2256
- # Update properties of this object
2257
- def update!(**args)
2258
- @filter = args[:filter] if args.key?(:filter)
2259
- end
2260
- end
2261
-
2262
- # Request message for `TestIamPermissions` method.
2263
- class TestIamPermissionsRequest
2264
- include Google::Apis::Core::Hashable
2265
-
2266
- # The set of permissions to check for the `resource`. Permissions with
2267
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
2268
- # information see
2269
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2270
- # Corresponds to the JSON property `permissions`
2271
- # @return [Array<String>]
2272
- attr_accessor :permissions
2273
-
2274
- def initialize(**args)
2275
- update!(**args)
2276
- end
2277
-
2278
- # Update properties of this object
2279
- def update!(**args)
2280
- @permissions = args[:permissions] if args.key?(:permissions)
2281
- end
2282
- end
2283
-
2284
- # Response message for `TestIamPermissions` method.
2285
- class TestIamPermissionsResponse
2286
- include Google::Apis::Core::Hashable
2287
-
2288
- # A subset of `TestPermissionsRequest.permissions` that the caller is
2289
- # allowed.
2290
- # Corresponds to the JSON property `permissions`
2291
- # @return [Array<String>]
2292
- attr_accessor :permissions
2293
-
2294
- def initialize(**args)
2295
- update!(**args)
2296
- end
2297
-
2298
- # Update properties of this object
2299
- def update!(**args)
2300
- @permissions = args[:permissions] if args.key?(:permissions)
2301
- end
2302
- end
2303
- end
2304
- end
2305
- end