google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20200620'
30
+ REVISION = '20200821'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,66 +22,59 @@ module Google
22
22
  module Apis
23
23
  module DlpV2
24
24
 
25
- # A task to execute on the completion of a job.
26
- # See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
25
+ # A task to execute on the completion of a job. See https://cloud.google.com/dlp/
26
+ # docs/concepts-actions to learn more.
27
27
  class GooglePrivacyDlpV2Action
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # Enable email notification to project owners and editors on jobs's
31
- # completion/failure.
30
+ # Enable email notification to project owners and editors on jobs's completion/
31
+ # failure.
32
32
  # Corresponds to the JSON property `jobNotificationEmails`
33
33
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
34
34
  attr_accessor :job_notification_emails
35
35
 
36
36
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
37
- # message contains a single field, `DlpJobName`, which is equal to the
38
- # finished job's
39
- # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
40
- # dlpJobs#DlpJob).
41
- # Compatible with: Inspect, Risk
37
+ # message contains a single field, `DlpJobName`, which is equal to the finished
38
+ # job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/
39
+ # projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
42
40
  # Corresponds to the JSON property `pubSub`
43
41
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
44
42
  attr_accessor :pub_sub
45
43
 
46
44
  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
47
- # results of the DlpJob will be applied to the entry for the resource scanned
48
- # in Cloud Data Catalog. Any labels previously written by another DlpJob will
49
- # be deleted. InfoType naming patterns are strictly enforced when using this
45
+ # results of the DlpJob will be applied to the entry for the resource scanned in
46
+ # Cloud Data Catalog. Any labels previously written by another DlpJob will be
47
+ # deleted. InfoType naming patterns are strictly enforced when using this
50
48
  # feature. Note that the findings will be persisted in Cloud Data Catalog
51
- # storage and are governed by Data Catalog service-specific policy, see
52
- # https://cloud.google.com/terms/service-terms
53
- # Only a single instance of this action can be specified and only allowed if
54
- # all resources being scanned are BigQuery tables.
55
- # Compatible with: Inspect
49
+ # storage and are governed by Data Catalog service-specific policy, see https://
50
+ # cloud.google.com/terms/service-terms Only a single instance of this action can
51
+ # be specified and only allowed if all resources being scanned are BigQuery
52
+ # tables. Compatible with: Inspect
56
53
  # Corresponds to the JSON property `publishFindingsToCloudDataCatalog`
57
54
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]
58
55
  attr_accessor :publish_findings_to_cloud_data_catalog
59
56
 
60
- # Publish the result summary of a DlpJob to the Cloud Security
61
- # Command Center (CSCC Alpha).
62
- # This action is only available for projects which are parts of
63
- # an organization and whitelisted for the alpha Cloud Security Command
64
- # Center.
65
- # The action will publish count of finding instances and their info types.
66
- # The summary of findings will be persisted in CSCC and are governed by CSCC
67
- # service-specific policy, see https://cloud.google.com/terms/service-terms
68
- # Only a single instance of this action can be specified.
69
- # Compatible with: Inspect
57
+ # Publish the result summary of a DlpJob to the Cloud Security Command Center (
58
+ # CSCC Alpha). This action is only available for projects which are parts of an
59
+ # organization and whitelisted for the alpha Cloud Security Command Center. The
60
+ # action will publish count of finding instances and their info types. The
61
+ # summary of findings will be persisted in CSCC and are governed by CSCC service-
62
+ # specific policy, see https://cloud.google.com/terms/service-terms Only a
63
+ # single instance of this action can be specified. Compatible with: Inspect
70
64
  # Corresponds to the JSON property `publishSummaryToCscc`
71
65
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc]
72
66
  attr_accessor :publish_summary_to_cscc
73
67
 
74
- # Enable Stackdriver metric dlp.googleapis.com/finding_count. This
75
- # will publish a metric to stack driver on each infotype requested and
76
- # how many findings were found for it. CustomDetectors will be bucketed
77
- # as 'Custom' under the Stackdriver label 'info_type'.
68
+ # Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish
69
+ # a metric to stack driver on each infotype requested and how many findings were
70
+ # found for it. CustomDetectors will be bucketed as 'Custom' under the
71
+ # Stackdriver label 'info_type'.
78
72
  # Corresponds to the JSON property `publishToStackdriver`
79
73
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver]
80
74
  attr_accessor :publish_to_stackdriver
81
75
 
82
76
  # If set, the detailed findings will be persisted to the specified
83
- # OutputStorageConfig. Only a single instance of this action can be
84
- # specified.
77
+ # OutputStorageConfig. Only a single instance of this action can be specified.
85
78
  # Compatible with: Inspect, Risk
86
79
  # Corresponds to the JSON property `saveFindings`
87
80
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings]
@@ -157,10 +150,8 @@ module Google
157
150
  attr_accessor :requested_privacy_metric
158
151
 
159
152
  # Message defining the location of a BigQuery table. A table is uniquely
160
- # identified by its project_id, dataset_id, and table_name. Within a query
161
- # a table is often referenced with a string in the format of:
162
- # `<project_id>:<dataset_id>.<table_id>` or
163
- # `<project_id>.<dataset_id>.<table_id>`.
153
+ # identified by its project_id, dataset_id, and table_name. Within a query a
154
+ # table is often referenced with a string in the format of: `:.` or `..`.
164
155
  # Corresponds to the JSON property `requestedSourceTable`
165
156
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
166
157
  attr_accessor :requested_source_table
@@ -182,13 +173,12 @@ module Google
182
173
  end
183
174
  end
184
175
 
185
- # An auxiliary table contains statistical information on the relative
186
- # frequency of different quasi-identifiers values. It has one or several
187
- # quasi-identifiers columns, and one column that indicates the relative
188
- # frequency of each quasi-identifier tuple.
189
- # If a tuple is present in the data but not in the auxiliary table, the
190
- # corresponding relative frequency is assumed to be zero (and thus, the
191
- # tuple is highly reidentifiable).
176
+ # An auxiliary table contains statistical information on the relative frequency
177
+ # of different quasi-identifiers values. It has one or several quasi-identifiers
178
+ # columns, and one column that indicates the relative frequency of each quasi-
179
+ # identifier tuple. If a tuple is present in the data but not in the auxiliary
180
+ # table, the corresponding relative frequency is assumed to be zero (and thus,
181
+ # the tuple is highly reidentifiable).
192
182
  class GooglePrivacyDlpV2AuxiliaryTable
193
183
  include Google::Apis::Core::Hashable
194
184
 
@@ -203,10 +193,8 @@ module Google
203
193
  attr_accessor :relative_frequency
204
194
 
205
195
  # Message defining the location of a BigQuery table. A table is uniquely
206
- # identified by its project_id, dataset_id, and table_name. Within a query
207
- # a table is often referenced with a string in the format of:
208
- # `<project_id>:<dataset_id>.<table_id>` or
209
- # `<project_id>.<dataset_id>.<table_id>`.
196
+ # identified by its project_id, dataset_id, and table_name. Within a query a
197
+ # table is often referenced with a string in the format of: `:.` or `..`.
210
198
  # Corresponds to the JSON property `table`
211
199
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
212
200
  attr_accessor :table
@@ -233,10 +221,8 @@ module Google
233
221
  attr_accessor :field
234
222
 
235
223
  # Message defining the location of a BigQuery table. A table is uniquely
236
- # identified by its project_id, dataset_id, and table_name. Within a query
237
- # a table is often referenced with a string in the format of:
238
- # `<project_id>:<dataset_id>.<table_id>` or
239
- # `<project_id>.<dataset_id>.<table_id>`.
224
+ # identified by its project_id, dataset_id, and table_name. Within a query a
225
+ # table is often referenced with a string in the format of: `:.` or `..`.
240
226
  # Corresponds to the JSON property `table`
241
227
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
242
228
  attr_accessor :table
@@ -257,19 +243,16 @@ module Google
257
243
  include Google::Apis::Core::Hashable
258
244
 
259
245
  # Row number inferred at the time the table was scanned. This value is
260
- # nondeterministic, cannot be queried, and may be null for inspection
261
- # jobs. To locate findings within a table, specify
262
- # `inspect_job.storage_config.big_query_options.identifying_fields` in
263
- # `CreateDlpJobRequest`.
246
+ # nondeterministic, cannot be queried, and may be null for inspection jobs. To
247
+ # locate findings within a table, specify `inspect_job.storage_config.
248
+ # big_query_options.identifying_fields` in `CreateDlpJobRequest`.
264
249
  # Corresponds to the JSON property `rowNumber`
265
250
  # @return [Fixnum]
266
251
  attr_accessor :row_number
267
252
 
268
253
  # Message defining the location of a BigQuery table. A table is uniquely
269
- # identified by its project_id, dataset_id, and table_name. Within a query
270
- # a table is often referenced with a string in the format of:
271
- # `<project_id>:<dataset_id>.<table_id>` or
272
- # `<project_id>.<dataset_id>.<table_id>`.
254
+ # identified by its project_id, dataset_id, and table_name. Within a query a
255
+ # table is often referenced with a string in the format of: `:.` or `..`.
273
256
  # Corresponds to the JSON property `tableReference`
274
257
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
275
258
  attr_accessor :table_reference
@@ -295,11 +278,11 @@ module Google
295
278
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
296
279
  attr_accessor :excluded_fields
297
280
 
298
- # Table fields that may uniquely identify a row within the table. When
299
- # `actions.saveFindings.outputConfig.table` is specified, the values of
300
- # columns specified here are available in the output table under
301
- # `location.content_locations.record_location.record_key.id_values`. Nested
302
- # fields such as `person.birthdate.year` are allowed.
281
+ # Table fields that may uniquely identify a row within the table. When `actions.
282
+ # saveFindings.outputConfig.table` is specified, the values of columns specified
283
+ # here are available in the output table under `location.content_locations.
284
+ # record_location.record_key.id_values`. Nested fields such as `person.birthdate.
285
+ # year` are allowed.
303
286
  # Corresponds to the JSON property `identifyingFields`
304
287
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
305
288
  attr_accessor :identifying_fields
@@ -327,10 +310,8 @@ module Google
327
310
  attr_accessor :sample_method
328
311
 
329
312
  # Message defining the location of a BigQuery table. A table is uniquely
330
- # identified by its project_id, dataset_id, and table_name. Within a query
331
- # a table is often referenced with a string in the format of:
332
- # `<project_id>:<dataset_id>.<table_id>` or
333
- # `<project_id>.<dataset_id>.<table_id>`.
313
+ # identified by its project_id, dataset_id, and table_name. Within a query a
314
+ # table is often referenced with a string in the format of: `:.` or `..`.
334
315
  # Corresponds to the JSON property `tableReference`
335
316
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
336
317
  attr_accessor :table_reference
@@ -351,10 +332,8 @@ module Google
351
332
  end
352
333
 
353
334
  # Message defining the location of a BigQuery table. A table is uniquely
354
- # identified by its project_id, dataset_id, and table_name. Within a query
355
- # a table is often referenced with a string in the format of:
356
- # `<project_id>:<dataset_id>.<table_id>` or
357
- # `<project_id>.<dataset_id>.<table_id>`.
335
+ # identified by its project_id, dataset_id, and table_name. Within a query a
336
+ # table is often referenced with a string in the format of: `:.` or `..`.
358
337
  class GooglePrivacyDlpV2BigQueryTable
359
338
  include Google::Apis::Core::Hashable
360
339
 
@@ -363,8 +342,8 @@ module Google
363
342
  # @return [String]
364
343
  attr_accessor :dataset_id
365
344
 
366
- # The Google Cloud Platform project ID of the project containing the table.
367
- # If omitted, project ID is inferred from the API call.
345
+ # The Google Cloud Platform project ID of the project containing the table. If
346
+ # omitted, project ID is inferred from the API call.
368
347
  # Corresponds to the JSON property `projectId`
369
348
  # @return [String]
370
349
  attr_accessor :project_id
@@ -427,32 +406,29 @@ module Google
427
406
  class GooglePrivacyDlpV2Bucket
428
407
  include Google::Apis::Core::Hashable
429
408
 
430
- # Set of primitive values supported by the system.
431
- # Note that for the purposes of inspection or transformation, the number
432
- # of bytes considered to comprise a 'Value' is based on its representation
433
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
434
- # 123456789, the number of bytes would be counted as 9, even though an
435
- # int64 only holds up to 8 bytes of data.
409
+ # Set of primitive values supported by the system. Note that for the purposes of
410
+ # inspection or transformation, the number of bytes considered to comprise a '
411
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
412
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
413
+ # as 9, even though an int64 only holds up to 8 bytes of data.
436
414
  # Corresponds to the JSON property `max`
437
415
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
438
416
  attr_accessor :max
439
417
 
440
- # Set of primitive values supported by the system.
441
- # Note that for the purposes of inspection or transformation, the number
442
- # of bytes considered to comprise a 'Value' is based on its representation
443
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
444
- # 123456789, the number of bytes would be counted as 9, even though an
445
- # int64 only holds up to 8 bytes of data.
418
+ # Set of primitive values supported by the system. Note that for the purposes of
419
+ # inspection or transformation, the number of bytes considered to comprise a '
420
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
421
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
422
+ # as 9, even though an int64 only holds up to 8 bytes of data.
446
423
  # Corresponds to the JSON property `min`
447
424
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
448
425
  attr_accessor :min
449
426
 
450
- # Set of primitive values supported by the system.
451
- # Note that for the purposes of inspection or transformation, the number
452
- # of bytes considered to comprise a 'Value' is based on its representation
453
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
454
- # 123456789, the number of bytes would be counted as 9, even though an
455
- # int64 only holds up to 8 bytes of data.
427
+ # Set of primitive values supported by the system. Note that for the purposes of
428
+ # inspection or transformation, the number of bytes considered to comprise a '
429
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
430
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
431
+ # as 9, even though an int64 only holds up to 8 bytes of data.
456
432
  # Corresponds to the JSON property `replacementValue`
457
433
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
458
434
  attr_accessor :replacement_value
@@ -471,12 +447,10 @@ module Google
471
447
 
472
448
  # Generalization function that buckets values based on ranges. The ranges and
473
449
  # replacement values are dynamically provided by the user for custom behavior,
474
- # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH
475
- # This can be used on
476
- # data of type: number, long, string, timestamp.
477
- # If the bound `Value` type differs from the type of data being transformed, we
478
- # will first attempt converting the type of the data to be transformed to match
479
- # the type of the bound before comparing.
450
+ # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
451
+ # type: number, long, string, timestamp. If the bound `Value` type differs from
452
+ # the type of data being transformed, we will first attempt converting the type
453
+ # of the data to be transformed to match the type of the bound before comparing.
480
454
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
481
455
  class GooglePrivacyDlpV2BucketingConfig
482
456
  include Google::Apis::Core::Hashable
@@ -535,8 +509,8 @@ module Google
535
509
  end
536
510
  end
537
511
 
538
- # Compute numerical stats over an individual column, including
539
- # number of distinct values and value count distribution.
512
+ # Compute numerical stats over an individual column, including number of
513
+ # distinct values and value count distribution.
540
514
  class GooglePrivacyDlpV2CategoricalStatsConfig
541
515
  include Google::Apis::Core::Hashable
542
516
 
@@ -569,8 +543,8 @@ module Google
569
543
  # @return [Fixnum]
570
544
  attr_accessor :bucket_value_count
571
545
 
572
- # Sample of value frequencies in this bucket. The total number of
573
- # values returned per bucket is capped at 20.
546
+ # Sample of value frequencies in this bucket. The total number of values
547
+ # returned per bucket is capped at 20.
574
548
  # Corresponds to the JSON property `bucketValues`
575
549
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ValueFrequency>]
576
550
  attr_accessor :bucket_values
@@ -618,12 +592,11 @@ module Google
618
592
  end
619
593
  end
620
594
 
621
- # Partially mask a string by replacing a given number of characters with a
622
- # fixed character. Masking can start from the beginning or end of the string.
623
- # This can be used on data of any type (numbers, longs, and so on) and when
624
- # de-identifying structured data we'll attempt to preserve the original data's
625
- # type. (This allows you to take a long like 123 and modify it to a string like
626
- # **3.
595
+ # Partially mask a string by replacing a given number of characters with a fixed
596
+ # character. Masking can start from the beginning or end of the string. This can
597
+ # be used on data of any type (numbers, longs, and so on) and when de-
598
+ # identifying structured data we'll attempt to preserve the original data's type.
599
+ # (This allows you to take a long like 123 and modify it to a string like **3.
627
600
  class GooglePrivacyDlpV2CharacterMaskConfig
628
601
  include Google::Apis::Core::Hashable
629
602
 
@@ -635,25 +608,25 @@ module Google
635
608
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CharsToIgnore>]
636
609
  attr_accessor :characters_to_ignore
637
610
 
638
- # Character to use to mask the sensitive values&mdash;for example, `*` for an
639
- # alphabetic string such as a name, or `0` for a numeric string such as ZIP
640
- # code or credit card number. This string must have a length of 1. If not
641
- # supplied, this value defaults to `*` for strings, and `0` for digits.
611
+ # Character to use to mask the sensitive valuesfor example, `*` for an
612
+ # alphabetic string such as a name, or `0` for a numeric string such as ZIP code
613
+ # or credit card number. This string must have a length of 1. If not supplied,
614
+ # this value defaults to `*` for strings, and `0` for digits.
642
615
  # Corresponds to the JSON property `maskingCharacter`
643
616
  # @return [String]
644
617
  attr_accessor :masking_character
645
618
 
646
- # Number of characters to mask. If not set, all matching chars will be
647
- # masked. Skipped characters do not count towards this tally.
619
+ # Number of characters to mask. If not set, all matching chars will be masked.
620
+ # Skipped characters do not count towards this tally.
648
621
  # Corresponds to the JSON property `numberToMask`
649
622
  # @return [Fixnum]
650
623
  attr_accessor :number_to_mask
651
624
 
652
- # Mask characters in reverse order. For example, if `masking_character` is
653
- # `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
654
- # input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
655
- # If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
656
- # is `true`, then the string `12345` is masked as `12***`.
625
+ # Mask characters in reverse order. For example, if `masking_character` is `0`, `
626
+ # number_to_mask` is `14`, and `reverse_order` is `false`, then the input string
627
+ # `1234-5678-9012-3456` is masked as `00000000000000-3456`. If `
628
+ # masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` is `
629
+ # true`, then the string `12345` is masked as `12***`.
657
630
  # Corresponds to the JSON property `reverseOrder`
658
631
  # @return [Boolean]
659
632
  attr_accessor :reverse_order
@@ -703,8 +676,7 @@ module Google
703
676
  class GooglePrivacyDlpV2CloudStorageFileSet
704
677
  include Google::Apis::Core::Hashable
705
678
 
706
- # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
707
- # path is allowed.
679
+ # The url, in the format `gs:///`. Trailing wildcard in the path is allowed.
708
680
  # Corresponds to the JSON property `url`
709
681
  # @return [String]
710
682
  attr_accessor :url
@@ -719,22 +691,21 @@ module Google
719
691
  end
720
692
  end
721
693
 
722
- # Options defining a file or a set of files within a Google Cloud Storage
723
- # bucket.
694
+ # Options defining a file or a set of files within a Google Cloud Storage bucket.
724
695
  class GooglePrivacyDlpV2CloudStorageOptions
725
696
  include Google::Apis::Core::Hashable
726
697
 
727
698
  # Max number of bytes to scan from a file. If a scanned file's size is bigger
728
- # than this value then the rest of the bytes are omitted. Only one
729
- # of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
699
+ # than this value then the rest of the bytes are omitted. Only one of
700
+ # bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
730
701
  # Corresponds to the JSON property `bytesLimitPerFile`
731
702
  # @return [Fixnum]
732
703
  attr_accessor :bytes_limit_per_file
733
704
 
734
- # Max percentage of bytes to scan from a file. The rest are omitted. The
735
- # number of bytes scanned is rounded down. Must be between 0 and 100,
736
- # inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one
737
- # of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
705
+ # Max percentage of bytes to scan from a file. The rest are omitted. The number
706
+ # of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both
707
+ # 0 and 100 means no limit. Defaults to 0. Only one of bytes_limit_per_file and
708
+ # bytes_limit_per_file_percent can be specified.
738
709
  # Corresponds to the JSON property `bytesLimitPerFilePercent`
739
710
  # @return [Fixnum]
740
711
  attr_accessor :bytes_limit_per_file_percent
@@ -744,13 +715,12 @@ module Google
744
715
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet]
745
716
  attr_accessor :file_set
746
717
 
747
- # List of file type groups to include in the scan.
748
- # If empty, all files are scanned and available data format processors
749
- # are applied. In addition, the binary content of the selected files
750
- # is always scanned as well.
751
- # Images are scanned only as binary if the specified region
752
- # does not support image inspection and no file_types were specified.
753
- # Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
718
+ # List of file type groups to include in the scan. If empty, all files are
719
+ # scanned and available data format processors are applied. In addition, the
720
+ # binary content of the selected files is always scanned as well. Images are
721
+ # scanned only as binary if the specified region does not support image
722
+ # inspection and no file_types were specified. Image inspection is restricted to
723
+ # 'global', 'us', 'asia', and 'europe'.
754
724
  # Corresponds to the JSON property `fileTypes`
755
725
  # @return [Array<String>]
756
726
  attr_accessor :file_types
@@ -786,8 +756,8 @@ module Google
786
756
  class GooglePrivacyDlpV2CloudStoragePath
787
757
  include Google::Apis::Core::Hashable
788
758
 
789
- # A url representing a file or path (no wildcards) in Cloud Storage.
790
- # Example: gs://[BUCKET_NAME]/dictionary.txt
759
+ # A url representing a file or path (no wildcards) in Cloud Storage. Example: gs:
760
+ # //[BUCKET_NAME]/dictionary.txt
791
761
  # Corresponds to the JSON property `path`
792
762
  # @return [String]
793
763
  attr_accessor :path
@@ -804,30 +774,23 @@ module Google
804
774
 
805
775
  # Message representing a set of files in a Cloud Storage bucket. Regular
806
776
  # expressions are used to allow fine-grained control over which files in the
807
- # bucket to include.
808
- # Included files are those that match at least one item in `include_regex` and
809
- # do not match any items in `exclude_regex`. Note that a file that matches
810
- # items from both lists will _not_ be included. For a match to occur, the
811
- # entire file path (i.e., everything in the url after the bucket name) must
812
- # match the regular expression.
813
- # For example, given the input ``bucket_name: "mybucket", include_regex:
814
- # ["directory1/.*"], exclude_regex:
815
- # ["directory1/excluded.*"]``:
816
- # * `gs://mybucket/directory1/myfile` will be included
817
- # * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
818
- # across `/`)
819
- # * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
820
- # full path doesn't match any items in `include_regex`)
821
- # * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
822
- # matches an item in `exclude_regex`)
823
- # If `include_regex` is left empty, it will match all files by default
824
- # (this is equivalent to setting `include_regex: [".*"]`).
825
- # Some other common use cases:
826
- # * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]`` will include all
827
- # files in `mybucket` except for .pdf files
828
- # * ``bucket_name: "mybucket", include_regex: ["directory/[^/]+"]`` will
829
- # include all files directly under `gs://mybucket/directory/`, without matching
830
- # across `/`
777
+ # bucket to include. Included files are those that match at least one item in `
778
+ # include_regex` and do not match any items in `exclude_regex`. Note that a file
779
+ # that matches items from both lists will _not_ be included. For a match to
780
+ # occur, the entire file path (i.e., everything in the url after the bucket name)
781
+ # must match the regular expression. For example, given the input ``bucket_name:
782
+ # "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/
783
+ # excluded.*"]``: * `gs://mybucket/directory1/myfile` will be included * `gs://
784
+ # mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/
785
+ # `) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
786
+ # full path doesn't match any items in `include_regex`) * `gs://mybucket/
787
+ # directory1/excludedfile` will _not_ be included (the path matches an item in `
788
+ # exclude_regex`) If `include_regex` is left empty, it will match all files by
789
+ # default (this is equivalent to setting `include_regex: [".*"]`). Some other
790
+ # common use cases: * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]``
791
+ # will include all files in `mybucket` except for .pdf files * ``bucket_name: "
792
+ # mybucket", include_regex: ["directory/[^/]+"]`` will include all files
793
+ # directly under `gs://mybucket/directory/`, without matching across `/`
831
794
  class GooglePrivacyDlpV2CloudStorageRegexFileSet
832
795
  include Google::Apis::Core::Hashable
833
796
 
@@ -836,24 +799,22 @@ module Google
836
799
  # @return [String]
837
800
  attr_accessor :bucket_name
838
801
 
839
- # A list of regular expressions matching file paths to exclude. All files in
840
- # the bucket that match at least one of these regular expressions will be
841
- # excluded from the scan.
842
- # Regular expressions use RE2
843
- # [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
844
- # under the google/re2 repository on GitHub.
802
+ # A list of regular expressions matching file paths to exclude. All files in the
803
+ # bucket that match at least one of these regular expressions will be excluded
804
+ # from the scan. Regular expressions use RE2 [syntax](https://github.com/google/
805
+ # re2/wiki/Syntax); a guide can be found under the google/re2 repository on
806
+ # GitHub.
845
807
  # Corresponds to the JSON property `excludeRegex`
846
808
  # @return [Array<String>]
847
809
  attr_accessor :exclude_regex
848
810
 
849
- # A list of regular expressions matching file paths to include. All files in
850
- # the bucket that match at least one of these regular expressions will be
851
- # included in the set of files, except for those that also match an item in
852
- # `exclude_regex`. Leaving this field empty will match all files by default
853
- # (this is equivalent to including `.*` in the list).
854
- # Regular expressions use RE2
855
- # [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
856
- # under the google/re2 repository on GitHub.
811
+ # A list of regular expressions matching file paths to include. All files in the
812
+ # bucket that match at least one of these regular expressions will be included
813
+ # in the set of files, except for those that also match an item in `
814
+ # exclude_regex`. Leaving this field empty will match all files by default (this
815
+ # is equivalent to including `.*` in the list). Regular expressions use RE2 [
816
+ # syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under
817
+ # the google/re2 repository on GitHub.
857
818
  # Corresponds to the JSON property `includeRegex`
858
819
  # @return [Array<String>]
859
820
  attr_accessor :include_regex
@@ -901,23 +862,18 @@ module Google
901
862
  end
902
863
  end
903
864
 
904
- # The field type of `value` and `field` do not need to match to be
905
- # considered equal, but not all comparisons are possible.
906
- # EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
907
- # but all other comparisons are invalid with incompatible types.
908
- # A `value` of type:
909
- # - `string` can be compared against all other types
910
- # - `boolean` can only be compared against other booleans
911
- # - `integer` can be compared against doubles or a string if the string value
912
- # can be parsed as an integer.
913
- # - `double` can be compared against integers or a string if the string can
914
- # be parsed as a double.
915
- # - `Timestamp` can be compared against strings in RFC 3339 date string
916
- # format.
917
- # - `TimeOfDay` can be compared against timestamps and strings in the format
918
- # of 'HH:mm:ss'.
919
- # If we fail to compare do to type mismatch, a warning will be given and
920
- # the condition will evaluate to false.
865
+ # The field type of `value` and `field` do not need to match to be considered
866
+ # equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt
867
+ # to compare even with incompatible types, but all other comparisons are invalid
868
+ # with incompatible types. A `value` of type: - `string` can be compared against
869
+ # all other types - `boolean` can only be compared against other booleans - `
870
+ # integer` can be compared against doubles or a string if the string value can
871
+ # be parsed as an integer. - `double` can be compared against integers or a
872
+ # string if the string can be parsed as a double. - `Timestamp` can be compared
873
+ # against strings in RFC 3339 date string format. - `TimeOfDay` can be compared
874
+ # against timestamps and strings in the format of 'HH:mm:ss'. If we fail to
875
+ # compare do to type mismatch, a warning will be given and the condition will
876
+ # evaluate to false.
921
877
  class GooglePrivacyDlpV2Condition
922
878
  include Google::Apis::Core::Hashable
923
879
 
@@ -931,12 +887,11 @@ module Google
931
887
  # @return [String]
932
888
  attr_accessor :operator
933
889
 
934
- # Set of primitive values supported by the system.
935
- # Note that for the purposes of inspection or transformation, the number
936
- # of bytes considered to comprise a 'Value' is based on its representation
937
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
938
- # 123456789, the number of bytes would be counted as 9, even though an
939
- # int64 only holds up to 8 bytes of data.
890
+ # Set of primitive values supported by the system. Note that for the purposes of
891
+ # inspection or transformation, the number of bytes considered to comprise a '
892
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
893
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
894
+ # as 9, even though an int64 only holds up to 8 bytes of data.
940
895
  # Corresponds to the JSON property `value`
941
896
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
942
897
  attr_accessor :value
@@ -972,41 +927,35 @@ module Google
972
927
  end
973
928
  end
974
929
 
975
- # Represents a container that may contain DLP findings.
976
- # Examples of a container include a file, table, or database record.
930
+ # Represents a container that may contain DLP findings. Examples of a container
931
+ # include a file, table, or database record.
977
932
  class GooglePrivacyDlpV2Container
978
933
  include Google::Apis::Core::Hashable
979
934
 
980
- # A string representation of the full container name.
981
- # Examples:
982
- # - BigQuery: 'Project:DataSetId.TableId'
983
- # - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
935
+ # A string representation of the full container name. Examples: - BigQuery: '
936
+ # Project:DataSetId.TableId' - Google Cloud Storage: 'gs://Bucket/folders/
937
+ # filename.txt'
984
938
  # Corresponds to the JSON property `fullPath`
985
939
  # @return [String]
986
940
  attr_accessor :full_path
987
941
 
988
- # Project where the finding was found.
989
- # Can be different from the project that owns the finding.
942
+ # Project where the finding was found. Can be different from the project that
943
+ # owns the finding.
990
944
  # Corresponds to the JSON property `projectId`
991
945
  # @return [String]
992
946
  attr_accessor :project_id
993
947
 
994
- # The rest of the path after the root.
995
- # Examples:
996
- # - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
997
- # `table_id`
998
- # - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
999
- # path is `folder/filename.txt`
948
+ # The rest of the path after the root. Examples: - For BigQuery table `
949
+ # project_id:dataset_id.table_id`, the relative path is `table_id` - Google
950
+ # Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `
951
+ # folder/filename.txt`
1000
952
  # Corresponds to the JSON property `relativePath`
1001
953
  # @return [String]
1002
954
  attr_accessor :relative_path
1003
955
 
1004
- # The root of the container.
1005
- # Examples:
1006
- # - For BigQuery table `project_id:dataset_id.table_id`, the root is
1007
- # `dataset_id`
1008
- # - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
1009
- # is `gs://bucket`
956
+ # The root of the container. Examples: - For BigQuery table `project_id:
957
+ # dataset_id.table_id`, the root is `dataset_id` - For Google Cloud Storage file
958
+ # `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
1010
959
  # Corresponds to the JSON property `rootPath`
1011
960
  # @return [String]
1012
961
  attr_accessor :root_path
@@ -1016,16 +965,15 @@ module Google
1016
965
  # @return [String]
1017
966
  attr_accessor :type
1018
967
 
1019
- # Findings container modification timestamp, if applicable.
1020
- # For Google Cloud Storage contains last file modification timestamp.
1021
- # For BigQuery table contains last_modified_time property.
1022
- # For Datastore - not populated.
968
+ # Findings container modification timestamp, if applicable. For Google Cloud
969
+ # Storage contains last file modification timestamp. For BigQuery table contains
970
+ # last_modified_time property. For Datastore - not populated.
1023
971
  # Corresponds to the JSON property `updateTime`
1024
972
  # @return [String]
1025
973
  attr_accessor :update_time
1026
974
 
1027
- # Findings container version, if available
1028
- # ("generation" for Google Cloud Storage).
975
+ # Findings container version, if available ("generation" for Google Cloud
976
+ # Storage).
1029
977
  # Corresponds to the JSON property `version`
1030
978
  # @return [String]
1031
979
  attr_accessor :version
@@ -1055,9 +1003,9 @@ module Google
1055
1003
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]
1056
1004
  attr_accessor :byte_item
1057
1005
 
1058
- # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
1059
- # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
1060
- # learn more.
1006
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
1007
+ # https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn
1008
+ # more.
1061
1009
  # Corresponds to the JSON property `table`
1062
1010
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]
1063
1011
  attr_accessor :table
@@ -1084,28 +1032,25 @@ module Google
1084
1032
  class GooglePrivacyDlpV2ContentLocation
1085
1033
  include Google::Apis::Core::Hashable
1086
1034
 
1087
- # Name of the container where the finding is located.
1088
- # The top level name is the source file name or table name. Names of some
1089
- # common storage containers are formatted as follows:
1090
- # * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
1091
- # * Cloud Storage files: `gs://`bucket`/`path``
1092
- # * Datastore namespace: `namespace`
1093
- # Nested names could be absent if the embedded object has no string
1035
+ # Name of the container where the finding is located. The top level name is the
1036
+ # source file name or table name. Names of some common storage containers are
1037
+ # formatted as follows: * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
1038
+ # * Cloud Storage files: `gs://`bucket`/`path`` * Datastore namespace: `
1039
+ # namespace` Nested names could be absent if the embedded object has no string
1094
1040
  # identifier (for an example an image contained within a document).
1095
1041
  # Corresponds to the JSON property `containerName`
1096
1042
  # @return [String]
1097
1043
  attr_accessor :container_name
1098
1044
 
1099
- # Findings container modification timestamp, if applicable.
1100
- # For Google Cloud Storage contains last file modification timestamp.
1101
- # For BigQuery table contains last_modified_time property.
1102
- # For Datastore - not populated.
1045
+ # Findings container modification timestamp, if applicable. For Google Cloud
1046
+ # Storage contains last file modification timestamp. For BigQuery table contains
1047
+ # last_modified_time property. For Datastore - not populated.
1103
1048
  # Corresponds to the JSON property `containerTimestamp`
1104
1049
  # @return [String]
1105
1050
  attr_accessor :container_timestamp
1106
1051
 
1107
- # Findings container version, if available
1108
- # ("generation" for Google Cloud Storage).
1052
+ # Findings container version, if available ("generation" for Google Cloud
1053
+ # Storage).
1109
1054
  # Corresponds to the JSON property `containerVersion`
1110
1055
  # @return [String]
1111
1056
  attr_accessor :container_version
@@ -1150,8 +1095,8 @@ module Google
1150
1095
  class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
1151
1096
  include Google::Apis::Core::Hashable
1152
1097
 
1153
- # DeidentifyTemplates contains instructions on how to de-identify content.
1154
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1098
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
1099
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1155
1100
  # Corresponds to the JSON property `deidentifyTemplate`
1156
1101
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
1157
1102
  attr_accessor :deidentify_template
@@ -1161,10 +1106,10 @@ module Google
1161
1106
  # @return [String]
1162
1107
  attr_accessor :location_id
1163
1108
 
1164
- # The template id can contain uppercase and lowercase letters,
1165
- # numbers, and hyphens; that is, it must match the regular
1166
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1167
- # characters. Can be empty to allow the system to generate one.
1109
+ # The template id can contain uppercase and lowercase letters, numbers, and
1110
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The
1111
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1112
+ # one.
1168
1113
  # Corresponds to the JSON property `templateId`
1169
1114
  # @return [String]
1170
1115
  attr_accessor :template_id
@@ -1181,9 +1126,8 @@ module Google
1181
1126
  end
1182
1127
  end
1183
1128
 
1184
- # Request message for CreateDlpJobRequest. Used to initiate long running
1185
- # jobs such as calculating risk metrics or inspecting Google Cloud
1186
- # Storage.
1129
+ # Request message for CreateDlpJobRequest. Used to initiate long running jobs
1130
+ # such as calculating risk metrics or inspecting Google Cloud Storage.
1187
1131
  class GooglePrivacyDlpV2CreateDlpJobRequest
1188
1132
  include Google::Apis::Core::Hashable
1189
1133
 
@@ -1192,10 +1136,9 @@ module Google
1192
1136
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig]
1193
1137
  attr_accessor :inspect_job
1194
1138
 
1195
- # The job id can contain uppercase and lowercase letters,
1196
- # numbers, and hyphens; that is, it must match the regular
1197
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1198
- # characters. Can be empty to allow the system to generate one.
1139
+ # The job id can contain uppercase and lowercase letters, numbers, and hyphens;
1140
+ # that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum
1141
+ # length is 100 characters. Can be empty to allow the system to generate one.
1199
1142
  # Corresponds to the JSON property `jobId`
1200
1143
  # @return [String]
1201
1144
  attr_accessor :job_id
@@ -1205,8 +1148,8 @@ module Google
1205
1148
  # @return [String]
1206
1149
  attr_accessor :location_id
1207
1150
 
1208
- # Configuration for a risk analysis job. See
1209
- # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
1151
+ # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
1152
+ # concepts-risk-analysis to learn more.
1210
1153
  # Corresponds to the JSON property `riskJob`
1211
1154
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
1212
1155
  attr_accessor :risk_job
@@ -1230,8 +1173,8 @@ module Google
1230
1173
 
1231
1174
  # The inspectTemplate contains a configuration (set of types of sensitive data
1232
1175
  # to be detected) to be used anywhere you otherwise would normally specify
1233
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
1234
- # to learn more.
1176
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
1177
+ # learn more.
1235
1178
  # Corresponds to the JSON property `inspectTemplate`
1236
1179
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
1237
1180
  attr_accessor :inspect_template
@@ -1241,10 +1184,10 @@ module Google
1241
1184
  # @return [String]
1242
1185
  attr_accessor :location_id
1243
1186
 
1244
- # The template id can contain uppercase and lowercase letters,
1245
- # numbers, and hyphens; that is, it must match the regular
1246
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1247
- # characters. Can be empty to allow the system to generate one.
1187
+ # The template id can contain uppercase and lowercase letters, numbers, and
1188
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The
1189
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1190
+ # one.
1248
1191
  # Corresponds to the JSON property `templateId`
1249
1192
  # @return [String]
1250
1193
  attr_accessor :template_id
@@ -1265,8 +1208,8 @@ module Google
1265
1208
  class GooglePrivacyDlpV2CreateJobTriggerRequest
1266
1209
  include Google::Apis::Core::Hashable
1267
1210
 
1268
- # Contains a configuration to make dlp api calls on a repeating basis.
1269
- # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
1211
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
1212
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
1270
1213
  # Corresponds to the JSON property `jobTrigger`
1271
1214
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1272
1215
  attr_accessor :job_trigger
@@ -1276,10 +1219,10 @@ module Google
1276
1219
  # @return [String]
1277
1220
  attr_accessor :location_id
1278
1221
 
1279
- # The trigger id can contain uppercase and lowercase letters,
1280
- # numbers, and hyphens; that is, it must match the regular
1281
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1282
- # characters. Can be empty to allow the system to generate one.
1222
+ # The trigger id can contain uppercase and lowercase letters, numbers, and
1223
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The
1224
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1225
+ # one.
1283
1226
  # Corresponds to the JSON property `triggerId`
1284
1227
  # @return [String]
1285
1228
  attr_accessor :trigger_id
@@ -1300,9 +1243,9 @@ module Google
1300
1243
  class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
1301
1244
  include Google::Apis::Core::Hashable
1302
1245
 
1303
- # Configuration for stored infoTypes. All fields and subfield are provided
1304
- # by the user. For more information, see
1305
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
1246
+ # Configuration for stored infoTypes. All fields and subfield are provided by
1247
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
1248
+ # custom-infotypes.
1306
1249
  # Corresponds to the JSON property `config`
1307
1250
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
1308
1251
  attr_accessor :config
@@ -1312,10 +1255,10 @@ module Google
1312
1255
  # @return [String]
1313
1256
  attr_accessor :location_id
1314
1257
 
1315
- # The storedInfoType ID can contain uppercase and lowercase letters,
1316
- # numbers, and hyphens; that is, it must match the regular
1317
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1318
- # characters. Can be empty to allow the system to generate one.
1258
+ # The storedInfoType ID can contain uppercase and lowercase letters, numbers,
1259
+ # and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`.
1260
+ # The maximum length is 100 characters. Can be empty to allow the system to
1261
+ # generate one.
1319
1262
  # Corresponds to the JSON property `storedInfoTypeId`
1320
1263
  # @return [String]
1321
1264
  attr_accessor :stored_info_type_id
@@ -1333,8 +1276,8 @@ module Google
1333
1276
  end
1334
1277
 
1335
1278
  # Pseudonymization method that generates deterministic encryption for the given
1336
- # input. Outputs a base64 encoded representation of the encrypted output.
1337
- # Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
1279
+ # input. Outputs a base64 encoded representation of the encrypted output. Uses
1280
+ # AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
1338
1281
  class GooglePrivacyDlpV2CryptoDeterministicConfig
1339
1282
  include Google::Apis::Core::Hashable
1340
1283
 
@@ -1343,10 +1286,9 @@ module Google
1343
1286
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1344
1287
  attr_accessor :context
1345
1288
 
1346
- # This is a data encryption key (DEK) (as opposed to
1347
- # a key encryption key (KEK) stored by KMS).
1348
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1349
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1289
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1290
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1291
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1350
1292
  # unwrap the data crypto key.
1351
1293
  # Corresponds to the JSON property `cryptoKey`
1352
1294
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1370,19 +1312,17 @@ module Google
1370
1312
  end
1371
1313
 
1372
1314
  # Pseudonymization method that generates surrogates via cryptographic hashing.
1373
- # Uses SHA-256.
1374
- # The key size must be either 32 or 64 bytes.
1375
- # Outputs a base64 encoded representation of the hashed output
1376
- # (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
1377
- # Currently, only string and integer values can be hashed.
1378
- # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
1315
+ # Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
1316
+ # encoded representation of the hashed output (for example,
1317
+ # L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
1318
+ # integer values can be hashed. See https://cloud.google.com/dlp/docs/
1319
+ # pseudonymization to learn more.
1379
1320
  class GooglePrivacyDlpV2CryptoHashConfig
1380
1321
  include Google::Apis::Core::Hashable
1381
1322
 
1382
- # This is a data encryption key (DEK) (as opposed to
1383
- # a key encryption key (KEK) stored by KMS).
1384
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1385
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1323
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1324
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1325
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1386
1326
  # unwrap the data crypto key.
1387
1327
  # Corresponds to the JSON property `cryptoKey`
1388
1328
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1398,31 +1338,29 @@ module Google
1398
1338
  end
1399
1339
  end
1400
1340
 
1401
- # This is a data encryption key (DEK) (as opposed to
1402
- # a key encryption key (KEK) stored by KMS).
1403
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1404
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1341
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1342
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1343
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1405
1344
  # unwrap the data crypto key.
1406
1345
  class GooglePrivacyDlpV2CryptoKey
1407
1346
  include Google::Apis::Core::Hashable
1408
1347
 
1409
- # Include to use an existing data crypto key wrapped by KMS.
1410
- # The wrapped key must be a 128/192/256 bit key.
1411
- # Authorization requires the following IAM permissions when sending a request
1412
- # to perform a crypto transformation using a kms-wrapped crypto key:
1413
- # dlp.kms.encrypt
1348
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
1349
+ # must be a 128/192/256 bit key. Authorization requires the following IAM
1350
+ # permissions when sending a request to perform a crypto transformation using a
1351
+ # kms-wrapped crypto key: dlp.kms.encrypt
1414
1352
  # Corresponds to the JSON property `kmsWrapped`
1415
1353
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KmsWrappedCryptoKey]
1416
1354
  attr_accessor :kms_wrapped
1417
1355
 
1418
- # Use this to have a random data crypto key generated.
1419
- # It will be discarded after the request finishes.
1356
+ # Use this to have a random data crypto key generated. It will be discarded
1357
+ # after the request finishes.
1420
1358
  # Corresponds to the JSON property `transient`
1421
1359
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransientCryptoKey]
1422
1360
  attr_accessor :transient
1423
1361
 
1424
- # Using raw keys is prone to security risks due to accidentally
1425
- # leaking the key. Choose another type of key if possible.
1362
+ # Using raw keys is prone to security risks due to accidentally leaking the key.
1363
+ # Choose another type of key if possible.
1426
1364
  # Corresponds to the JSON property `unwrapped`
1427
1365
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2UnwrappedCryptoKey]
1428
1366
  attr_accessor :unwrapped
@@ -1439,18 +1377,17 @@ module Google
1439
1377
  end
1440
1378
  end
1441
1379
 
1442
- # Replaces an identifier with a surrogate using Format Preserving Encryption
1443
- # (FPE) with the FFX mode of operation; however when used in the
1444
- # `ReidentifyContent` API method, it serves the opposite function by reversing
1380
+ # Replaces an identifier with a surrogate using Format Preserving Encryption (
1381
+ # FPE) with the FFX mode of operation; however when used in the `
1382
+ # ReidentifyContent` API method, it serves the opposite function by reversing
1445
1383
  # the surrogate back into the original identifier. The identifier must be
1446
- # encoded as ASCII. For a given crypto key and context, the same identifier
1447
- # will be replaced with the same surrogate. Identifiers must be at least two
1384
+ # encoded as ASCII. For a given crypto key and context, the same identifier will
1385
+ # be replaced with the same surrogate. Identifiers must be at least two
1448
1386
  # characters long. In the case that the identifier is the empty string, it will
1449
1387
  # be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn
1450
- # more.
1451
- # Note: We recommend using CryptoDeterministicConfig for all use cases which
1452
- # do not require preserving the input alphabet space and size, plus warrant
1453
- # referential integrity.
1388
+ # more. Note: We recommend using CryptoDeterministicConfig for all use cases
1389
+ # which do not require preserving the input alphabet space and size, plus
1390
+ # warrant referential integrity.
1454
1391
  class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
1455
1392
  include Google::Apis::Core::Hashable
1456
1393
 
@@ -1464,22 +1401,21 @@ module Google
1464
1401
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1465
1402
  attr_accessor :context
1466
1403
 
1467
- # This is a data encryption key (DEK) (as opposed to
1468
- # a key encryption key (KEK) stored by KMS).
1469
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1470
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1404
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1405
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1406
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1471
1407
  # unwrap the data crypto key.
1472
1408
  # Corresponds to the JSON property `cryptoKey`
1473
1409
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
1474
1410
  attr_accessor :crypto_key
1475
1411
 
1476
- # This is supported by mapping these to the alphanumeric characters
1477
- # that the FFX mode natively supports. This happens before/after
1478
- # encryption/decryption.
1479
- # Each character listed must appear only once.
1480
- # Number of characters must be in the range [2, 95].
1481
- # This must be encoded as ASCII.
1482
- # The order of characters does not matter.
1412
+ # This is supported by mapping these to the alphanumeric characters that the FFX
1413
+ # mode natively supports. This happens before/after encryption/decryption. Each
1414
+ # character listed must appear only once. Number of characters must be in the
1415
+ # range [2, 95]. This must be encoded as ASCII. The order of characters does not
1416
+ # matter. The full list of allowed characters is:
1417
+ # 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+=
1418
+ # `[`]|\:;"'<,>.?/
1483
1419
  # Corresponds to the JSON property `customAlphabet`
1484
1420
  # @return [String]
1485
1421
  attr_accessor :custom_alphabet
@@ -1514,41 +1450,37 @@ module Google
1514
1450
  class GooglePrivacyDlpV2CustomInfoType
1515
1451
  include Google::Apis::Core::Hashable
1516
1452
 
1517
- # Set of detection rules to apply to all findings of this CustomInfoType.
1518
- # Rules are applied in order that they are specified. Not supported for the
1519
- # `surrogate_type` CustomInfoType.
1453
+ # Set of detection rules to apply to all findings of this CustomInfoType. Rules
1454
+ # are applied in order that they are specified. Not supported for the `
1455
+ # surrogate_type` CustomInfoType.
1520
1456
  # Corresponds to the JSON property `detectionRules`
1521
1457
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule>]
1522
1458
  attr_accessor :detection_rules
1523
1459
 
1524
- # Custom information type based on a dictionary of words or phrases. This can
1525
- # be used to match sensitive information specific to the data, such as a list
1526
- # of employee IDs or job titles.
1527
- # Dictionary words are case-insensitive and all characters other than letters
1528
- # and digits in the unicode [Basic Multilingual
1460
+ # Custom information type based on a dictionary of words or phrases. This can be
1461
+ # used to match sensitive information specific to the data, such as a list of
1462
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
1463
+ # characters other than letters and digits in the unicode [Basic Multilingual
1529
1464
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
1530
- # Basic_Multilingual_Plane)
1531
- # will be replaced with whitespace when scanning for matches, so the
1532
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
1533
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
1534
- # surrounding any match must be of a different type than the adjacent
1535
- # characters within the word, so letters must be next to non-letters and
1536
- # digits next to non-digits. For example, the dictionary word "jen" will
1537
- # match the first three letters of the text "jen123" but will return no
1538
- # matches for "jennifer".
1539
- # Dictionary words containing a large number of characters that are not
1540
- # letters or digits may result in unexpected findings because such characters
1541
- # are treated as whitespace. The
1542
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
1543
- # the size limits of dictionaries. For dictionaries that do not fit within
1544
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
1545
- # `StoredInfoType` API.
1465
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
1466
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
1467
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
1468
+ # characters surrounding any match must be of a different type than the adjacent
1469
+ # characters within the word, so letters must be next to non-letters and digits
1470
+ # next to non-digits. For example, the dictionary word "jen" will match the
1471
+ # first three letters of the text "jen123" but will return no matches for "
1472
+ # jennifer". Dictionary words containing a large number of characters that are
1473
+ # not letters or digits may result in unexpected findings because such
1474
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
1475
+ # dlp/limits) page contains details about the size limits of dictionaries. For
1476
+ # dictionaries that do not fit within these constraints, consider using `
1477
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
1546
1478
  # Corresponds to the JSON property `dictionary`
1547
1479
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
1548
1480
  attr_accessor :dictionary
1549
1481
 
1550
- # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
1551
- # to be returned. It still can be used for rules matching.
1482
+ # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be
1483
+ # returned. It still can be used for rules matching.
1552
1484
  # Corresponds to the JSON property `exclusionType`
1553
1485
  # @return [String]
1554
1486
  attr_accessor :exclusion_type
@@ -1558,9 +1490,9 @@ module Google
1558
1490
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
1559
1491
  attr_accessor :info_type
1560
1492
 
1561
- # Likelihood to return for this CustomInfoType. This base value can be
1562
- # altered by a detection rule if the finding meets the criteria specified by
1563
- # the rule. Defaults to `VERY_LIKELY` if not specified.
1493
+ # Likelihood to return for this CustomInfoType. This base value can be altered
1494
+ # by a detection rule if the finding meets the criteria specified by the rule.
1495
+ # Defaults to `VERY_LIKELY` if not specified.
1564
1496
  # Corresponds to the JSON property `likelihood`
1565
1497
  # @return [String]
1566
1498
  attr_accessor :likelihood
@@ -1575,15 +1507,13 @@ module Google
1575
1507
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType]
1576
1508
  attr_accessor :stored_type
1577
1509
 
1578
- # Message for detecting output from deidentification transformations
1579
- # such as
1580
- # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
1581
- # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
1582
- # These types of transformations are
1583
- # those that perform pseudonymization, thereby producing a "surrogate" as
1584
- # output. This should be used in conjunction with a field on the
1585
- # transformation such as `surrogate_info_type`. This CustomInfoType does
1586
- # not support the use of `detection_rules`.
1510
+ # Message for detecting output from deidentification transformations such as [`
1511
+ # CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
1512
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types
1513
+ # of transformations are those that perform pseudonymization, thereby producing
1514
+ # a "surrogate" as output. This should be used in conjunction with a field on
1515
+ # the transformation such as `surrogate_info_type`. This CustomInfoType does not
1516
+ # support the use of `detection_rules`.
1587
1517
  # Corresponds to the JSON property `surrogateType`
1588
1518
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType]
1589
1519
  attr_accessor :surrogate_type
@@ -1609,9 +1539,8 @@ module Google
1609
1539
  class GooglePrivacyDlpV2DatastoreKey
1610
1540
  include Google::Apis::Core::Hashable
1611
1541
 
1612
- # A unique identifier for a Datastore entity.
1613
- # If a key's partition ID or any of its path kinds or names are
1614
- # reserved/read-only, the key is reserved/read-only.
1542
+ # A unique identifier for a Datastore entity. If a key's partition ID or any of
1543
+ # its path kinds or names are reserved/read-only, the key is reserved/read-only.
1615
1544
  # A reserved/read-only key is forbidden in certain documented contexts.
1616
1545
  # Corresponds to the JSON property `entityKey`
1617
1546
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Key]
@@ -1636,11 +1565,9 @@ module Google
1636
1565
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KindExpression]
1637
1566
  attr_accessor :kind
1638
1567
 
1639
- # Datastore partition ID.
1640
- # A partition ID identifies a grouping of entities. The grouping is always
1641
- # by project and namespace, however the namespace ID may be empty.
1642
- # A partition ID contains several dimensions:
1643
- # project ID and namespace ID.
1568
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
1569
+ # grouping is always by project and namespace, however the namespace ID may be
1570
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
1644
1571
  # Corresponds to the JSON property `partitionId`
1645
1572
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PartitionId]
1646
1573
  attr_accessor :partition_id
@@ -1657,8 +1584,8 @@ module Google
1657
1584
  end
1658
1585
 
1659
1586
  # Shifts dates by random number of days, with option to be consistent for the
1660
- # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
1661
- # to learn more.
1587
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to
1588
+ # learn more.
1662
1589
  class GooglePrivacyDlpV2DateShiftConfig
1663
1590
  include Google::Apis::Core::Hashable
1664
1591
 
@@ -1667,10 +1594,9 @@ module Google
1667
1594
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1668
1595
  attr_accessor :context
1669
1596
 
1670
- # This is a data encryption key (DEK) (as opposed to
1671
- # a key encryption key (KEK) stored by KMS).
1672
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1673
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1597
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1598
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1599
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1674
1600
  # unwrap the data crypto key.
1675
1601
  # Corresponds to the JSON property `cryptoKey`
1676
1602
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1682,10 +1608,9 @@ module Google
1682
1608
  attr_accessor :lower_bound_days
1683
1609
 
1684
1610
  # Required. Range of shift in days. Actual shift will be selected at random
1685
- # within this
1686
- # range (inclusive ends). Negative means shift to earlier in time. Must not
1687
- # be more than 365250 days (1000 years) each direction.
1688
- # For example, 3 means shift date to at most 3 days into the future.
1611
+ # within this range (inclusive ends). Negative means shift to earlier in time.
1612
+ # Must not be more than 365250 days (1000 years) each direction. For example, 3
1613
+ # means shift date to at most 3 days into the future.
1689
1614
  # Corresponds to the JSON property `upperBoundDays`
1690
1615
  # @return [Fixnum]
1691
1616
  attr_accessor :upper_bound_days
@@ -1703,19 +1628,18 @@ module Google
1703
1628
  end
1704
1629
  end
1705
1630
 
1706
- # Message for a date time object.
1707
- # e.g. 2018-01-01, 5th August.
1631
+ # Message for a date time object. e.g. 2018-01-01, 5th August.
1708
1632
  class GooglePrivacyDlpV2DateTime
1709
1633
  include Google::Apis::Core::Hashable
1710
1634
 
1711
1635
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1712
1636
  # and time zone are either specified elsewhere or are not significant. The date
1713
- # is relative to the Proleptic Gregorian Calendar. This can represent:
1714
- # * A full date, with non-zero year, month and day values
1715
- # * A month and day value, with a zero year, e.g. an anniversary
1716
- # * A year on its own, with zero month and day values
1717
- # * A year and month value, with a zero day, e.g. a credit card expiration date
1718
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
1637
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1638
+ # date, with non-zero year, month and day values * A month and day value, with a
1639
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
1640
+ # values * A year and month value, with a zero day, e.g. a credit card
1641
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1642
+ # Timestamp`.
1719
1643
  # Corresponds to the JSON property `date`
1720
1644
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
1721
1645
  attr_accessor :date
@@ -1725,8 +1649,8 @@ module Google
1725
1649
  # @return [String]
1726
1650
  attr_accessor :day_of_week
1727
1651
 
1728
- # Represents a time of day. The date and time zone are either not significant
1729
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
1652
+ # Represents a time of day. The date and time zone are either not significant or
1653
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1730
1654
  # types are google.type.Date and `google.protobuf.Timestamp`.
1731
1655
  # Corresponds to the JSON property `time`
1732
1656
  # @return [Google::Apis::DlpV2::GoogleTypeTimeOfDay]
@@ -1754,28 +1678,25 @@ module Google
1754
1678
  class GooglePrivacyDlpV2DeidentifyConfig
1755
1679
  include Google::Apis::Core::Hashable
1756
1680
 
1757
- # A type of transformation that will scan unstructured text and
1758
- # apply various `PrimitiveTransformation`s to each finding, where the
1759
- # transformation is applied to only values that were identified as a specific
1760
- # info_type.
1681
+ # A type of transformation that will scan unstructured text and apply various `
1682
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
1683
+ # to only values that were identified as a specific info_type.
1761
1684
  # Corresponds to the JSON property `infoTypeTransformations`
1762
1685
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations]
1763
1686
  attr_accessor :info_type_transformations
1764
1687
 
1765
- # A type of transformation that is applied over structured data such as a
1766
- # table.
1688
+ # A type of transformation that is applied over structured data such as a table.
1767
1689
  # Corresponds to the JSON property `recordTransformations`
1768
1690
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations]
1769
1691
  attr_accessor :record_transformations
1770
1692
 
1771
- # How to handle transformation errors during de-identification. A
1772
- # transformation error occurs when the requested transformation is incompatible
1773
- # with the data. For example, trying to de-identify an IP address using a
1774
- # `DateShift` transformation would result in a transformation error, since date
1775
- # info cannot be extracted from an IP address.
1776
- # Information about any incompatible transformations, and how they were
1777
- # handled, is returned in the response as part of the
1778
- # `TransformationOverviews`.
1693
+ # How to handle transformation errors during de-identification. A transformation
1694
+ # error occurs when the requested transformation is incompatible with the data.
1695
+ # For example, trying to de-identify an IP address using a `DateShift`
1696
+ # transformation would result in a transformation error, since date info cannot
1697
+ # be extracted from an IP address. Information about any incompatible
1698
+ # transformations, and how they were handled, is returned in the response as
1699
+ # part of the `TransformationOverviews`.
1779
1700
  # Corresponds to the JSON property `transformationErrorHandling`
1780
1701
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling]
1781
1702
  attr_accessor :transformation_error_handling
@@ -1801,27 +1722,24 @@ module Google
1801
1722
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig]
1802
1723
  attr_accessor :deidentify_config
1803
1724
 
1804
- # Template to use. Any configuration directly specified in
1805
- # deidentify_config will override those set in the template. Singular fields
1806
- # that are set in this request will replace their corresponding fields in the
1807
- # template. Repeated fields are appended. Singular sub-messages and groups
1808
- # are recursively merged.
1725
+ # Template to use. Any configuration directly specified in deidentify_config
1726
+ # will override those set in the template. Singular fields that are set in this
1727
+ # request will replace their corresponding fields in the template. Repeated
1728
+ # fields are appended. Singular sub-messages and groups are recursively merged.
1809
1729
  # Corresponds to the JSON property `deidentifyTemplateName`
1810
1730
  # @return [String]
1811
1731
  attr_accessor :deidentify_template_name
1812
1732
 
1813
- # Configuration description of the scanning process.
1814
- # When used with redactContent only info_types and min_likelihood are currently
1815
- # used.
1733
+ # Configuration description of the scanning process. When used with
1734
+ # redactContent only info_types and min_likelihood are currently used.
1816
1735
  # Corresponds to the JSON property `inspectConfig`
1817
1736
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
1818
1737
  attr_accessor :inspect_config
1819
1738
 
1820
- # Template to use. Any configuration directly specified in
1821
- # inspect_config will override those set in the template. Singular fields
1822
- # that are set in this request will replace their corresponding fields in the
1823
- # template. Repeated fields are appended. Singular sub-messages and groups
1824
- # are recursively merged.
1739
+ # Template to use. Any configuration directly specified in inspect_config will
1740
+ # override those set in the template. Singular fields that are set in this
1741
+ # request will replace their corresponding fields in the template. Repeated
1742
+ # fields are appended. Singular sub-messages and groups are recursively merged.
1825
1743
  # Corresponds to the JSON property `inspectTemplateName`
1826
1744
  # @return [String]
1827
1745
  attr_accessor :inspect_template_name
@@ -1876,8 +1794,8 @@ module Google
1876
1794
  end
1877
1795
  end
1878
1796
 
1879
- # DeidentifyTemplates contains instructions on how to de-identify content.
1880
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1797
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
1798
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1881
1799
  class GooglePrivacyDlpV2DeidentifyTemplate
1882
1800
  include Google::Apis::Core::Hashable
1883
1801
 
@@ -1901,10 +1819,9 @@ module Google
1901
1819
  # @return [String]
1902
1820
  attr_accessor :display_name
1903
1821
 
1904
- # Output only. The template name.
1905
- # The template will have one of the following formats:
1906
- # `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
1907
- # `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
1822
+ # Output only. The template name. The template will have one of the following
1823
+ # formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR `
1824
+ # organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
1908
1825
  # Corresponds to the JSON property `name`
1909
1826
  # @return [String]
1910
1827
  attr_accessor :name
@@ -1929,30 +1846,29 @@ module Google
1929
1846
  end
1930
1847
  end
1931
1848
 
1932
- # δ-presence metric, used to estimate how likely it is for an attacker to
1933
- # figure out that one given individual appears in a de-identified dataset.
1934
- # Similarly to the k-map metric, we cannot compute δ-presence exactly without
1935
- # knowing the attack dataset, so we use a statistical model instead.
1849
+ # δ-presence metric, used to estimate how likely it is for an attacker to figure
1850
+ # out that one given individual appears in a de-identified dataset. Similarly to
1851
+ # the k-map metric, we cannot compute δ-presence exactly without knowing the
1852
+ # attack dataset, so we use a statistical model instead.
1936
1853
  class GooglePrivacyDlpV2DeltaPresenceEstimationConfig
1937
1854
  include Google::Apis::Core::Hashable
1938
1855
 
1939
- # Several auxiliary tables can be used in the analysis. Each custom_tag
1940
- # used to tag a quasi-identifiers field must appear in exactly one
1941
- # field of one auxiliary table.
1856
+ # Several auxiliary tables can be used in the analysis. Each custom_tag used to
1857
+ # tag a quasi-identifiers field must appear in exactly one field of one
1858
+ # auxiliary table.
1942
1859
  # Corresponds to the JSON property `auxiliaryTables`
1943
1860
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable>]
1944
1861
  attr_accessor :auxiliary_tables
1945
1862
 
1946
1863
  # Required. Fields considered to be quasi-identifiers. No two fields can have
1947
- # the
1948
- # same tag.
1864
+ # the same tag.
1949
1865
  # Corresponds to the JSON property `quasiIds`
1950
1866
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId>]
1951
1867
  attr_accessor :quasi_ids
1952
1868
 
1953
- # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
1954
- # Set if no column is tagged with a region-specific InfoType (like
1955
- # US_ZIP_5) or a region code.
1869
+ # ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no
1870
+ # column is tagged with a region-specific InfoType (like US_ZIP_5) or a region
1871
+ # code.
1956
1872
  # Corresponds to the JSON property `regionCode`
1957
1873
  # @return [String]
1958
1874
  attr_accessor :region_code
@@ -1969,15 +1885,11 @@ module Google
1969
1885
  end
1970
1886
  end
1971
1887
 
1972
- # A DeltaPresenceEstimationHistogramBucket message with the following
1973
- # values:
1974
- # min_probability: 0.1
1975
- # max_probability: 0.2
1976
- # frequency: 42
1977
- # means that there are 42 records for which δ is in [0.1, 0.2). An
1978
- # important particular case is when min_probability = max_probability = 1:
1979
- # then, every individual who shares this quasi-identifier combination is in
1980
- # the dataset.
1888
+ # A DeltaPresenceEstimationHistogramBucket message with the following values:
1889
+ # min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are
1890
+ # 42 records for which δ is in [0.1, 0.2). An important particular case is when
1891
+ # min_probability = max_probability = 1: then, every individual who shares this
1892
+ # quasi-identifier combination is in the dataset.
1981
1893
  class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
1982
1894
  include Google::Apis::Core::Hashable
1983
1895
 
@@ -1991,8 +1903,8 @@ module Google
1991
1903
  # @return [Fixnum]
1992
1904
  attr_accessor :bucket_value_count
1993
1905
 
1994
- # Sample of quasi-identifier tuple values in this bucket. The total
1995
- # number of classes returned per bucket is capped at 20.
1906
+ # Sample of quasi-identifier tuple values in this bucket. The total number of
1907
+ # classes returned per bucket is capped at 20.
1996
1908
  # Corresponds to the JSON property `bucketValues`
1997
1909
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>]
1998
1910
  attr_accessor :bucket_values
@@ -2025,14 +1937,13 @@ module Google
2025
1937
  class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues
2026
1938
  include Google::Apis::Core::Hashable
2027
1939
 
2028
- # The estimated probability that a given individual sharing these
2029
- # quasi-identifier values is in the dataset. This value, typically called
2030
- # δ, is the ratio between the number of records in the dataset with these
2031
- # quasi-identifier values, and the total number of individuals (inside
2032
- # *and* outside the dataset) with these quasi-identifier values.
2033
- # For example, if there are 15 individuals in the dataset who share the
2034
- # same quasi-identifier values, and an estimated 100 people in the entire
2035
- # population with these values, then δ is 0.15.
1940
+ # The estimated probability that a given individual sharing these quasi-
1941
+ # identifier values is in the dataset. This value, typically called δ, is the
1942
+ # ratio between the number of records in the dataset with these quasi-identifier
1943
+ # values, and the total number of individuals (inside *and* outside the dataset)
1944
+ # with these quasi-identifier values. For example, if there are 15 individuals
1945
+ # in the dataset who share the same quasi-identifier values, and an estimated
1946
+ # 100 people in the entire population with these values, then δ is 0.15.
2036
1947
  # Corresponds to the JSON property `estimatedProbability`
2037
1948
  # @return [Float]
2038
1949
  attr_accessor :estimated_probability
@@ -2058,14 +1969,13 @@ module Google
2058
1969
  class GooglePrivacyDlpV2DeltaPresenceEstimationResult
2059
1970
  include Google::Apis::Core::Hashable
2060
1971
 
2061
- # The intervals [min_probability, max_probability) do not overlap. If a
2062
- # value doesn't correspond to any such interval, the associated frequency
2063
- # is zero. For example, the following records:
2064
- # `min_probability: 0, max_probability: 0.1, frequency: 17`
2065
- # `min_probability: 0.2, max_probability: 0.3, frequency: 42`
2066
- # `min_probability: 0.3, max_probability: 0.4, frequency: 99`
2067
- # mean that there are no record with an estimated probability in [0.1, 0.2)
2068
- # nor larger or equal to 0.4.
1972
+ # The intervals [min_probability, max_probability) do not overlap. If a value
1973
+ # doesn't correspond to any such interval, the associated frequency is zero. For
1974
+ # example, the following records: `min_probability: 0, max_probability: 0.1,
1975
+ # frequency: 17` `min_probability: 0.2, max_probability: 0.3, frequency: 42` `
1976
+ # min_probability: 0.3, max_probability: 0.4, frequency: 99` mean that there are
1977
+ # no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.
1978
+ # 4.
2069
1979
  # Corresponds to the JSON property `deltaPresenceEstimationHistogram`
2070
1980
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket>]
2071
1981
  attr_accessor :delta_presence_estimation_histogram
@@ -2080,15 +1990,15 @@ module Google
2080
1990
  end
2081
1991
  end
2082
1992
 
2083
- # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
2084
- # `CustomInfoType` to alter behavior under certain circumstances, depending
2085
- # on the specific details of the rule. Not supported for the `surrogate_type`
1993
+ # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `
1994
+ # CustomInfoType` to alter behavior under certain circumstances, depending on
1995
+ # the specific details of the rule. Not supported for the `surrogate_type`
2086
1996
  # custom infoType.
2087
1997
  class GooglePrivacyDlpV2DetectionRule
2088
1998
  include Google::Apis::Core::Hashable
2089
1999
 
2090
- # The rule that adjusts the likelihood of findings within a certain
2091
- # proximity of hotwords.
2000
+ # The rule that adjusts the likelihood of findings within a certain proximity of
2001
+ # hotwords.
2092
2002
  # Corresponds to the JSON property `hotwordRule`
2093
2003
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
2094
2004
  attr_accessor :hotword_rule
@@ -2103,28 +2013,24 @@ module Google
2103
2013
  end
2104
2014
  end
2105
2015
 
2106
- # Custom information type based on a dictionary of words or phrases. This can
2107
- # be used to match sensitive information specific to the data, such as a list
2108
- # of employee IDs or job titles.
2109
- # Dictionary words are case-insensitive and all characters other than letters
2110
- # and digits in the unicode [Basic Multilingual
2016
+ # Custom information type based on a dictionary of words or phrases. This can be
2017
+ # used to match sensitive information specific to the data, such as a list of
2018
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
2019
+ # characters other than letters and digits in the unicode [Basic Multilingual
2111
2020
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
2112
- # Basic_Multilingual_Plane)
2113
- # will be replaced with whitespace when scanning for matches, so the
2114
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
2115
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
2116
- # surrounding any match must be of a different type than the adjacent
2117
- # characters within the word, so letters must be next to non-letters and
2118
- # digits next to non-digits. For example, the dictionary word "jen" will
2119
- # match the first three letters of the text "jen123" but will return no
2120
- # matches for "jennifer".
2121
- # Dictionary words containing a large number of characters that are not
2122
- # letters or digits may result in unexpected findings because such characters
2123
- # are treated as whitespace. The
2124
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
2125
- # the size limits of dictionaries. For dictionaries that do not fit within
2126
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
2127
- # `StoredInfoType` API.
2021
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
2022
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
2023
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
2024
+ # characters surrounding any match must be of a different type than the adjacent
2025
+ # characters within the word, so letters must be next to non-letters and digits
2026
+ # next to non-digits. For example, the dictionary word "jen" will match the
2027
+ # first three letters of the text "jen123" but will return no matches for "
2028
+ # jennifer". Dictionary words containing a large number of characters that are
2029
+ # not letters or digits may result in unexpected findings because such
2030
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
2031
+ # dlp/limits) page contains details about the size limits of dictionaries. For
2032
+ # dictionaries that do not fit within these constraints, consider using `
2033
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
2128
2034
  class GooglePrivacyDlpV2Dictionary
2129
2035
  include Google::Apis::Core::Hashable
2130
2036
 
@@ -2227,8 +2133,8 @@ module Google
2227
2133
  class GooglePrivacyDlpV2DocumentLocation
2228
2134
  include Google::Apis::Core::Hashable
2229
2135
 
2230
- # Offset of the line, from the beginning of the file, where the finding
2231
- # is located.
2136
+ # Offset of the line, from the beginning of the file, where the finding is
2137
+ # located.
2232
2138
  # Corresponds to the JSON property `fileOffset`
2233
2139
  # @return [Fixnum]
2234
2140
  attr_accessor :file_offset
@@ -2243,11 +2149,11 @@ module Google
2243
2149
  end
2244
2150
  end
2245
2151
 
2246
- # An entity in a dataset is a field or set of fields that correspond to a
2247
- # single person. For example, in medical records the `EntityId` might be a
2248
- # patient identifier, or for financial records it might be an account
2249
- # identifier. This message is used when generalizations or analysis must take
2250
- # into account that multiple rows correspond to the same entity.
2152
+ # An entity in a dataset is a field or set of fields that correspond to a single
2153
+ # person. For example, in medical records the `EntityId` might be a patient
2154
+ # identifier, or for financial records it might be an account identifier. This
2155
+ # message is used when generalizations or analysis must take into account that
2156
+ # multiple rows correspond to the same entity.
2251
2157
  class GooglePrivacyDlpV2EntityId
2252
2158
  include Google::Apis::Core::Hashable
2253
2159
 
@@ -2266,17 +2172,17 @@ module Google
2266
2172
  end
2267
2173
  end
2268
2174
 
2269
- # Details information about an error encountered during job execution or
2270
- # the results of an unsuccessful activation of the JobTrigger.
2175
+ # Details information about an error encountered during job execution or the
2176
+ # results of an unsuccessful activation of the JobTrigger.
2271
2177
  class GooglePrivacyDlpV2Error
2272
2178
  include Google::Apis::Core::Hashable
2273
2179
 
2274
- # The `Status` type defines a logical error model that is suitable for
2275
- # different programming environments, including REST APIs and RPC APIs. It is
2276
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2277
- # three pieces of data: error code, error message, and error details.
2278
- # You can find out more about this error model and how to work with it in the
2279
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2180
+ # The `Status` type defines a logical error model that is suitable for different
2181
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2182
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2183
+ # data: error code, error message, and error details. You can find out more
2184
+ # about this error model and how to work with it in the [API Design Guide](https:
2185
+ # //cloud.google.com/apis/design/errors).
2280
2186
  # Corresponds to the JSON property `details`
2281
2187
  # @return [Google::Apis::DlpV2::GoogleRpcStatus]
2282
2188
  attr_accessor :details
@@ -2302,12 +2208,11 @@ module Google
2302
2208
  include Google::Apis::Core::Hashable
2303
2209
 
2304
2210
  # InfoType list in ExclusionRule rule drops a finding when it overlaps or
2305
- # contained within with a finding of an infoType from this list. For
2306
- # example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
2307
- # `exclusion_rule` containing `exclude_info_types.info_types` with
2308
- # "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
2309
- # with EMAIL_ADDRESS finding.
2310
- # That leads to "555-222-2222@example.org" to generate only a single
2211
+ # contained within with a finding of an infoType from this list. For example,
2212
+ # for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and `
2213
+ # exclusion_rule` containing `exclude_info_types.info_types` with "EMAIL_ADDRESS"
2214
+ # the phone number findings are dropped if they overlap with EMAIL_ADDRESS
2215
+ # finding. That leads to "555-222-2222@example.org" to generate only a single
2311
2216
  # finding, namely email address.
2312
2217
  # Corresponds to the JSON property `infoTypes`
2313
2218
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
@@ -2323,33 +2228,29 @@ module Google
2323
2228
  end
2324
2229
  end
2325
2230
 
2326
- # The rule that specifies conditions when findings of infoTypes specified in
2327
- # `InspectionRuleSet` are removed from results.
2231
+ # The rule that specifies conditions when findings of infoTypes specified in `
2232
+ # InspectionRuleSet` are removed from results.
2328
2233
  class GooglePrivacyDlpV2ExclusionRule
2329
2234
  include Google::Apis::Core::Hashable
2330
2235
 
2331
- # Custom information type based on a dictionary of words or phrases. This can
2332
- # be used to match sensitive information specific to the data, such as a list
2333
- # of employee IDs or job titles.
2334
- # Dictionary words are case-insensitive and all characters other than letters
2335
- # and digits in the unicode [Basic Multilingual
2236
+ # Custom information type based on a dictionary of words or phrases. This can be
2237
+ # used to match sensitive information specific to the data, such as a list of
2238
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
2239
+ # characters other than letters and digits in the unicode [Basic Multilingual
2336
2240
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
2337
- # Basic_Multilingual_Plane)
2338
- # will be replaced with whitespace when scanning for matches, so the
2339
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
2340
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
2341
- # surrounding any match must be of a different type than the adjacent
2342
- # characters within the word, so letters must be next to non-letters and
2343
- # digits next to non-digits. For example, the dictionary word "jen" will
2344
- # match the first three letters of the text "jen123" but will return no
2345
- # matches for "jennifer".
2346
- # Dictionary words containing a large number of characters that are not
2347
- # letters or digits may result in unexpected findings because such characters
2348
- # are treated as whitespace. The
2349
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
2350
- # the size limits of dictionaries. For dictionaries that do not fit within
2351
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
2352
- # `StoredInfoType` API.
2241
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
2242
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
2243
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
2244
+ # characters surrounding any match must be of a different type than the adjacent
2245
+ # characters within the word, so letters must be next to non-letters and digits
2246
+ # next to non-digits. For example, the dictionary word "jen" will match the
2247
+ # first three letters of the text "jen123" but will return no matches for "
2248
+ # jennifer". Dictionary words containing a large number of characters that are
2249
+ # not letters or digits may result in unexpected findings because such
2250
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
2251
+ # dlp/limits) page contains details about the size limits of dictionaries. For
2252
+ # dictionaries that do not fit within these constraints, consider using `
2253
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
2353
2254
  # Corresponds to the JSON property `dictionary`
2354
2255
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
2355
2256
  attr_accessor :dictionary
@@ -2391,8 +2292,8 @@ module Google
2391
2292
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions]
2392
2293
  attr_accessor :conditions
2393
2294
 
2394
- # The operator to apply to the result of conditions. Default and currently
2395
- # only supported value is `AND`.
2295
+ # The operator to apply to the result of conditions. Default and currently only
2296
+ # supported value is `AND`.
2396
2297
  # Corresponds to the JSON property `logicalOperator`
2397
2298
  # @return [String]
2398
2299
  attr_accessor :logical_operator
@@ -2431,8 +2332,8 @@ module Google
2431
2332
  class GooglePrivacyDlpV2FieldTransformation
2432
2333
  include Google::Apis::Core::Hashable
2433
2334
 
2434
- # A condition for determining whether a transformation should be applied to
2435
- # a field.
2335
+ # A condition for determining whether a transformation should be applied to a
2336
+ # field.
2436
2337
  # Corresponds to the JSON property `condition`
2437
2338
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition]
2438
2339
  attr_accessor :condition
@@ -2442,10 +2343,9 @@ module Google
2442
2343
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
2443
2344
  attr_accessor :fields
2444
2345
 
2445
- # A type of transformation that will scan unstructured text and
2446
- # apply various `PrimitiveTransformation`s to each finding, where the
2447
- # transformation is applied to only values that were identified as a specific
2448
- # info_type.
2346
+ # A type of transformation that will scan unstructured text and apply various `
2347
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
2348
+ # to only values that were identified as a specific info_type.
2449
2349
  # Corresponds to the JSON property `infoTypeTransformations`
2450
2350
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations]
2451
2351
  attr_accessor :info_type_transformations
@@ -2474,42 +2374,34 @@ module Google
2474
2374
 
2475
2375
  # Message representing a set of files in a Cloud Storage bucket. Regular
2476
2376
  # expressions are used to allow fine-grained control over which files in the
2477
- # bucket to include.
2478
- # Included files are those that match at least one item in `include_regex` and
2479
- # do not match any items in `exclude_regex`. Note that a file that matches
2480
- # items from both lists will _not_ be included. For a match to occur, the
2481
- # entire file path (i.e., everything in the url after the bucket name) must
2482
- # match the regular expression.
2483
- # For example, given the input ``bucket_name: "mybucket", include_regex:
2484
- # ["directory1/.*"], exclude_regex:
2485
- # ["directory1/excluded.*"]``:
2486
- # * `gs://mybucket/directory1/myfile` will be included
2487
- # * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
2488
- # across `/`)
2489
- # * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
2490
- # full path doesn't match any items in `include_regex`)
2491
- # * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
2492
- # matches an item in `exclude_regex`)
2493
- # If `include_regex` is left empty, it will match all files by default
2494
- # (this is equivalent to setting `include_regex: [".*"]`).
2495
- # Some other common use cases:
2496
- # * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]`` will include all
2497
- # files in `mybucket` except for .pdf files
2498
- # * ``bucket_name: "mybucket", include_regex: ["directory/[^/]+"]`` will
2499
- # include all files directly under `gs://mybucket/directory/`, without matching
2500
- # across `/`
2377
+ # bucket to include. Included files are those that match at least one item in `
2378
+ # include_regex` and do not match any items in `exclude_regex`. Note that a file
2379
+ # that matches items from both lists will _not_ be included. For a match to
2380
+ # occur, the entire file path (i.e., everything in the url after the bucket name)
2381
+ # must match the regular expression. For example, given the input ``bucket_name:
2382
+ # "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/
2383
+ # excluded.*"]``: * `gs://mybucket/directory1/myfile` will be included * `gs://
2384
+ # mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/
2385
+ # `) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
2386
+ # full path doesn't match any items in `include_regex`) * `gs://mybucket/
2387
+ # directory1/excludedfile` will _not_ be included (the path matches an item in `
2388
+ # exclude_regex`) If `include_regex` is left empty, it will match all files by
2389
+ # default (this is equivalent to setting `include_regex: [".*"]`). Some other
2390
+ # common use cases: * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]``
2391
+ # will include all files in `mybucket` except for .pdf files * ``bucket_name: "
2392
+ # mybucket", include_regex: ["directory/[^/]+"]`` will include all files
2393
+ # directly under `gs://mybucket/directory/`, without matching across `/`
2501
2394
  # Corresponds to the JSON property `regexFileSet`
2502
2395
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegexFileSet]
2503
2396
  attr_accessor :regex_file_set
2504
2397
 
2505
- # The Cloud Storage url of the file(s) to scan, in the format
2506
- # `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
2507
- # If the url ends in a trailing slash, the bucket or directory represented
2508
- # by the url will be scanned non-recursively (content in sub-directories
2509
- # will not be scanned). This means that `gs://mybucket/` is equivalent to
2510
- # `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
2511
- # `gs://mybucket/directory/*`.
2512
- # Exactly one of `url` or `regex_file_set` must be set.
2398
+ # The Cloud Storage url of the file(s) to scan, in the format `gs:///`. Trailing
2399
+ # wildcard in the path is allowed. If the url ends in a trailing slash, the
2400
+ # bucket or directory represented by the url will be scanned non-recursively (
2401
+ # content in sub-directories will not be scanned). This means that `gs://
2402
+ # mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/`
2403
+ # is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `
2404
+ # regex_file_set` must be set.
2513
2405
  # Corresponds to the JSON property `url`
2514
2406
  # @return [String]
2515
2407
  attr_accessor :url
@@ -2549,15 +2441,12 @@ module Google
2549
2441
  # @return [String]
2550
2442
  attr_accessor :job_name
2551
2443
 
2552
- # The labels associated with this `Finding`.
2553
- # Label keys must be between 1 and 63 characters long and must conform
2554
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2555
- # Label values must be between 0 and 63 characters long and must conform
2556
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2557
- # No more than 10 labels can be associated with a given finding.
2558
- # Examples:
2559
- # * `"environment" : "production"`
2560
- # * `"pipeline" : "etl"`
2444
+ # The labels associated with this `Finding`. Label keys must be between 1 and 63
2445
+ # characters long and must conform to the following regular expression: `[a-z]([-
2446
+ # a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and
2447
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No
2448
+ # more than 10 labels can be associated with a given finding. Examples: * `"
2449
+ # environment" : "production"` * `"pipeline" : "etl"`
2561
2450
  # Corresponds to the JSON property `labels`
2562
2451
  # @return [Hash<String,String>]
2563
2452
  attr_accessor :labels
@@ -2572,18 +2461,16 @@ module Google
2572
2461
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Location]
2573
2462
  attr_accessor :location
2574
2463
 
2575
- # Resource name in format
2576
- # projects/`project`/locations/`location`/findings/`finding` Populated only
2577
- # when viewing persisted findings.
2464
+ # Resource name in format projects/`project`/locations/`location`/findings/`
2465
+ # finding` Populated only when viewing persisted findings.
2578
2466
  # Corresponds to the JSON property `name`
2579
2467
  # @return [String]
2580
2468
  attr_accessor :name
2581
2469
 
2582
- # The content that was found. Even if the content is not textual, it
2583
- # may be converted to a textual representation here.
2584
- # Provided if `include_quote` is true and the finding is
2585
- # less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
2586
- # in length, the quote may be omitted.
2470
+ # The content that was found. Even if the content is not textual, it may be
2471
+ # converted to a textual representation here. Provided if `include_quote` is
2472
+ # true and the finding is less than or equal to 4096 bytes long. If the finding
2473
+ # exceeds 4096 bytes in length, the quote may be omitted.
2587
2474
  # Corresponds to the JSON property `quote`
2588
2475
  # @return [String]
2589
2476
  attr_accessor :quote
@@ -2633,17 +2520,16 @@ module Google
2633
2520
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit>]
2634
2521
  attr_accessor :max_findings_per_info_type
2635
2522
 
2636
- # Max number of findings that will be returned for each item scanned.
2637
- # When set within `InspectJobConfig`,
2638
- # the maximum returned is 2000 regardless if this is set higher.
2639
- # When set within `InspectContentRequest`, this field is ignored.
2523
+ # Max number of findings that will be returned for each item scanned. When set
2524
+ # within `InspectJobConfig`, the maximum returned is 2000 regardless if this is
2525
+ # set higher. When set within `InspectContentRequest`, this field is ignored.
2640
2526
  # Corresponds to the JSON property `maxFindingsPerItem`
2641
2527
  # @return [Fixnum]
2642
2528
  attr_accessor :max_findings_per_item
2643
2529
 
2644
- # Max number of findings that will be returned per request/job.
2645
- # When set within `InspectContentRequest`, the maximum returned is 2000
2646
- # regardless if this is set higher.
2530
+ # Max number of findings that will be returned per request/job. When set within `
2531
+ # InspectContentRequest`, the maximum returned is 2000 regardless if this is set
2532
+ # higher.
2647
2533
  # Corresponds to the JSON property `maxFindingsPerRequest`
2648
2534
  # @return [Fixnum]
2649
2535
  attr_accessor :max_findings_per_request
@@ -2673,45 +2559,41 @@ module Google
2673
2559
  end
2674
2560
  end
2675
2561
 
2676
- # Buckets values based on fixed size ranges. The
2677
- # Bucketing transformation can provide all of this functionality,
2678
- # but requires more configuration. This message is provided as a convenience to
2679
- # the user for simple bucketing strategies.
2680
- # The transformed value will be a hyphenated string of
2681
- # `lower_bound`-`upper_bound`, i.e if lower_bound = 10 and upper_bound = 20
2682
- # all values that are within this bucket will be replaced with "10-20".
2683
- # This can be used on data of type: double, long.
2684
- # If the bound Value type differs from the type of data
2685
- # being transformed, we will first attempt converting the type of the data to
2686
- # be transformed to match the type of the bound before comparing.
2687
- # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
2562
+ # Buckets values based on fixed size ranges. The Bucketing transformation can
2563
+ # provide all of this functionality, but requires more configuration. This
2564
+ # message is provided as a convenience to the user for simple bucketing
2565
+ # strategies. The transformed value will be a hyphenated string of `lower_bound`-
2566
+ # `upper_bound`, i.e if lower_bound = 10 and upper_bound = 20 all values that
2567
+ # are within this bucket will be replaced with "10-20". This can be used on data
2568
+ # of type: double, long. If the bound Value type differs from the type of data
2569
+ # being transformed, we will first attempt converting the type of the data to be
2570
+ # transformed to match the type of the bound before comparing. See https://cloud.
2571
+ # google.com/dlp/docs/concepts-bucketing to learn more.
2688
2572
  class GooglePrivacyDlpV2FixedSizeBucketingConfig
2689
2573
  include Google::Apis::Core::Hashable
2690
2574
 
2691
- # Required. Size of each bucket (except for minimum and maximum buckets). So if
2692
- # `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
2693
- # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
2694
- # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
2575
+ # Required. Size of each bucket (except for minimum and maximum buckets). So if `
2576
+ # lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
2577
+ # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,
2578
+ # 70-80, 80-89, 89+. Precision up to 2 decimals works.
2695
2579
  # Corresponds to the JSON property `bucketSize`
2696
2580
  # @return [Float]
2697
2581
  attr_accessor :bucket_size
2698
2582
 
2699
- # Set of primitive values supported by the system.
2700
- # Note that for the purposes of inspection or transformation, the number
2701
- # of bytes considered to comprise a 'Value' is based on its representation
2702
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
2703
- # 123456789, the number of bytes would be counted as 9, even though an
2704
- # int64 only holds up to 8 bytes of data.
2583
+ # Set of primitive values supported by the system. Note that for the purposes of
2584
+ # inspection or transformation, the number of bytes considered to comprise a '
2585
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
2586
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
2587
+ # as 9, even though an int64 only holds up to 8 bytes of data.
2705
2588
  # Corresponds to the JSON property `lowerBound`
2706
2589
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
2707
2590
  attr_accessor :lower_bound
2708
2591
 
2709
- # Set of primitive values supported by the system.
2710
- # Note that for the purposes of inspection or transformation, the number
2711
- # of bytes considered to comprise a 'Value' is based on its representation
2712
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
2713
- # 123456789, the number of bytes would be counted as 9, even though an
2714
- # int64 only holds up to 8 bytes of data.
2592
+ # Set of primitive values supported by the system. Note that for the purposes of
2593
+ # inspection or transformation, the number of bytes considered to comprise a '
2594
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
2595
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
2596
+ # as 9, even though an int64 only holds up to 8 bytes of data.
2715
2597
  # Corresponds to the JSON property `upperBound`
2716
2598
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
2717
2599
  attr_accessor :upper_bound
@@ -2728,8 +2610,8 @@ module Google
2728
2610
  end
2729
2611
  end
2730
2612
 
2731
- # The rule that adjusts the likelihood of findings within a certain
2732
- # proximity of hotwords.
2613
+ # The rule that adjusts the likelihood of findings within a certain proximity of
2614
+ # hotwords.
2733
2615
  class GooglePrivacyDlpV2HotwordRule
2734
2616
  include Google::Apis::Core::Hashable
2735
2617
 
@@ -2738,14 +2620,13 @@ module Google
2738
2620
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
2739
2621
  attr_accessor :hotword_regex
2740
2622
 
2741
- # Message for specifying an adjustment to the likelihood of a finding as
2742
- # part of a detection rule.
2623
+ # Message for specifying an adjustment to the likelihood of a finding as part of
2624
+ # a detection rule.
2743
2625
  # Corresponds to the JSON property `likelihoodAdjustment`
2744
2626
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LikelihoodAdjustment]
2745
2627
  attr_accessor :likelihood_adjustment
2746
2628
 
2747
- # Message for specifying a window around a finding to apply a detection
2748
- # rule.
2629
+ # Message for specifying a window around a finding to apply a detection rule.
2749
2630
  # Corresponds to the JSON property `proximity`
2750
2631
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity]
2751
2632
  attr_accessor :proximity
@@ -2792,39 +2673,34 @@ module Google
2792
2673
  class GooglePrivacyDlpV2HybridFindingDetails
2793
2674
  include Google::Apis::Core::Hashable
2794
2675
 
2795
- # Represents a container that may contain DLP findings.
2796
- # Examples of a container include a file, table, or database record.
2676
+ # Represents a container that may contain DLP findings. Examples of a container
2677
+ # include a file, table, or database record.
2797
2678
  # Corresponds to the JSON property `containerDetails`
2798
2679
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
2799
2680
  attr_accessor :container_details
2800
2681
 
2801
- # Offset in bytes of the line, from the beginning of the file, where the
2802
- # finding is located. Populate if the item being scanned is only part of a
2803
- # bigger item, such as a shard of a file and you want to track the absolute
2804
- # position of the finding.
2682
+ # Offset in bytes of the line, from the beginning of the file, where the finding
2683
+ # is located. Populate if the item being scanned is only part of a bigger item,
2684
+ # such as a shard of a file and you want to track the absolute position of the
2685
+ # finding.
2805
2686
  # Corresponds to the JSON property `fileOffset`
2806
2687
  # @return [Fixnum]
2807
2688
  attr_accessor :file_offset
2808
2689
 
2809
- # Labels to represent user provided metadata about the data being inspected.
2810
- # If configured by the job, some key values may be required.
2811
- # The labels associated with `Finding`'s produced by hybrid
2812
- # inspection.
2813
- # Label keys must be between 1 and 63 characters long and must conform
2814
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2815
- # Label values must be between 0 and 63 characters long and must conform
2816
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2817
- # No more than 10 labels can be associated with a given finding.
2818
- # Examples:
2819
- # * `"environment" : "production"`
2820
- # * `"pipeline" : "etl"`
2690
+ # Labels to represent user provided metadata about the data being inspected. If
2691
+ # configured by the job, some key values may be required. The labels associated
2692
+ # with `Finding`'s produced by hybrid inspection. Label keys must be between 1
2693
+ # and 63 characters long and must conform to the following regular expression: `[
2694
+ # a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters
2695
+ # long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`
2696
+ # . No more than 10 labels can be associated with a given finding. Examples: * `"
2697
+ # environment" : "production"` * `"pipeline" : "etl"`
2821
2698
  # Corresponds to the JSON property `labels`
2822
2699
  # @return [Hash<String,String>]
2823
2700
  attr_accessor :labels
2824
2701
 
2825
- # Offset of the row for tables. Populate if the row(s) being scanned are
2826
- # part of a bigger dataset and you want to keep track of their absolute
2827
- # position.
2702
+ # Offset of the row for tables. Populate if the row(s) being scanned are part of
2703
+ # a bigger dataset and you want to keep track of their absolute position.
2828
2704
  # Corresponds to the JSON property `rowOffset`
2829
2705
  # @return [Fixnum]
2830
2706
  attr_accessor :row_offset
@@ -2905,17 +2781,16 @@ module Google
2905
2781
  class GooglePrivacyDlpV2HybridInspectStatistics
2906
2782
  include Google::Apis::Core::Hashable
2907
2783
 
2908
- # The number of hybrid inspection requests aborted because the job ran
2909
- # out of quota or was ended before they could be processed.
2784
+ # The number of hybrid inspection requests aborted because the job ran out of
2785
+ # quota or was ended before they could be processed.
2910
2786
  # Corresponds to the JSON property `abortedCount`
2911
2787
  # @return [Fixnum]
2912
2788
  attr_accessor :aborted_count
2913
2789
 
2914
- # The number of hybrid requests currently being processed. Only populated
2915
- # when called via method `getDlpJob`.
2916
- # A burst of traffic may cause hybrid inspect requests to be enqueued.
2917
- # Processing will take place as quickly as possible, but resource limitations
2918
- # may impact how long a request is enqueued for.
2790
+ # The number of hybrid requests currently being processed. Only populated when
2791
+ # called via method `getDlpJob`. A burst of traffic may cause hybrid inspect
2792
+ # requests to be enqueued. Processing will take place as quickly as possible,
2793
+ # but resource limitations may impact how long a request is enqueued for.
2919
2794
  # Corresponds to the JSON property `pendingCount`
2920
2795
  # @return [Fixnum]
2921
2796
  attr_accessor :pending_count
@@ -2937,36 +2812,32 @@ module Google
2937
2812
  end
2938
2813
  end
2939
2814
 
2940
- # Configuration to control jobs where the content being inspected is outside
2941
- # of Google Cloud Platform.
2815
+ # Configuration to control jobs where the content being inspected is outside of
2816
+ # Google Cloud Platform.
2942
2817
  class GooglePrivacyDlpV2HybridOptions
2943
2818
  include Google::Apis::Core::Hashable
2944
2819
 
2945
- # A short description of where the data is coming from. Will be stored once
2946
- # in the job. 256 max length.
2820
+ # A short description of where the data is coming from. Will be stored once in
2821
+ # the job. 256 max length.
2947
2822
  # Corresponds to the JSON property `description`
2948
2823
  # @return [String]
2949
2824
  attr_accessor :description
2950
2825
 
2951
- # To organize findings, these labels will be added to each finding.
2952
- # Label keys must be between 1 and 63 characters long and must conform
2953
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2954
- # Label values must be between 0 and 63 characters long and must conform
2955
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2956
- # No more than 10 labels can be associated with a given finding.
2957
- # Examples:
2958
- # * `"environment" : "production"`
2959
- # * `"pipeline" : "etl"`
2826
+ # To organize findings, these labels will be added to each finding. Label keys
2827
+ # must be between 1 and 63 characters long and must conform to the following
2828
+ # regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between
2829
+ # 0 and 63 characters long and must conform to the regular expression `([a-z]([-
2830
+ # a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given
2831
+ # finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
2960
2832
  # Corresponds to the JSON property `labels`
2961
2833
  # @return [Hash<String,String>]
2962
2834
  attr_accessor :labels
2963
2835
 
2964
- # These are labels that each inspection request must include within their
2965
- # 'finding_labels' map. Request may contain others, but any missing one of
2966
- # these will be rejected.
2967
- # Label keys must be between 1 and 63 characters long and must conform
2968
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2969
- # No more than 10 keys can be required.
2836
+ # These are labels that each inspection request must include within their '
2837
+ # finding_labels' map. Request may contain others, but any missing one of these
2838
+ # will be rejected. Label keys must be between 1 and 63 characters long and must
2839
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No
2840
+ # more than 10 keys can be required.
2970
2841
  # Corresponds to the JSON property `requiredFindingLabelKeys`
2971
2842
  # @return [Array<String>]
2972
2843
  attr_accessor :required_finding_label_keys
@@ -3045,11 +2916,11 @@ module Google
3045
2916
  class GooglePrivacyDlpV2InfoType
3046
2917
  include Google::Apis::Core::Hashable
3047
2918
 
3048
- # Name of the information type. Either a name of your choosing when
3049
- # creating a CustomInfoType, or one of the names listed
3050
- # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
3051
- # a built-in type. InfoType names should conform to the pattern
3052
- # `[a-zA-Z0-9_]`1,64``.
2919
+ # Name of the information type. Either a name of your choosing when creating a
2920
+ # CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/
2921
+ # docs/infotypes-reference when specifying a built-in type. When sending Cloud
2922
+ # DLP results to Data Catalog, infoType names should conform to the pattern `[A-
2923
+ # Za-z0-9$-_]`1,64``.
3053
2924
  # Corresponds to the JSON property `name`
3054
2925
  # @return [String]
3055
2926
  attr_accessor :name
@@ -3102,8 +2973,8 @@ module Google
3102
2973
  end
3103
2974
  end
3104
2975
 
3105
- # Max findings configuration per infoType, per content item or long
3106
- # running DlpJob.
2976
+ # Max findings configuration per infoType, per content item or long running
2977
+ # DlpJob.
3107
2978
  class GooglePrivacyDlpV2InfoTypeLimit
3108
2979
  include Google::Apis::Core::Hashable
3109
2980
 
@@ -3153,14 +3024,13 @@ module Google
3153
3024
  end
3154
3025
  end
3155
3026
 
3156
- # A transformation to apply to text that is identified as a specific
3157
- # info_type.
3027
+ # A transformation to apply to text that is identified as a specific info_type.
3158
3028
  class GooglePrivacyDlpV2InfoTypeTransformation
3159
3029
  include Google::Apis::Core::Hashable
3160
3030
 
3161
- # InfoTypes to apply the transformation to. An empty list will cause
3162
- # this transformation to apply to all findings that correspond to
3163
- # infoTypes that were requested in `InspectConfig`.
3031
+ # InfoTypes to apply the transformation to. An empty list will cause this
3032
+ # transformation to apply to all findings that correspond to infoTypes that were
3033
+ # requested in `InspectConfig`.
3164
3034
  # Corresponds to the JSON property `infoTypes`
3165
3035
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
3166
3036
  attr_accessor :info_types
@@ -3181,15 +3051,14 @@ module Google
3181
3051
  end
3182
3052
  end
3183
3053
 
3184
- # A type of transformation that will scan unstructured text and
3185
- # apply various `PrimitiveTransformation`s to each finding, where the
3186
- # transformation is applied to only values that were identified as a specific
3187
- # info_type.
3054
+ # A type of transformation that will scan unstructured text and apply various `
3055
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
3056
+ # to only values that were identified as a specific info_type.
3188
3057
  class GooglePrivacyDlpV2InfoTypeTransformations
3189
3058
  include Google::Apis::Core::Hashable
3190
3059
 
3191
- # Required. Transformation for each infoType. Cannot specify more than one
3192
- # for a given infoType.
3060
+ # Required. Transformation for each infoType. Cannot specify more than one for a
3061
+ # given infoType.
3193
3062
  # Corresponds to the JSON property `transformations`
3194
3063
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation>]
3195
3064
  attr_accessor :transformations
@@ -3204,20 +3073,19 @@ module Google
3204
3073
  end
3205
3074
  end
3206
3075
 
3207
- # Configuration description of the scanning process.
3208
- # When used with redactContent only info_types and min_likelihood are currently
3209
- # used.
3076
+ # Configuration description of the scanning process. When used with
3077
+ # redactContent only info_types and min_likelihood are currently used.
3210
3078
  class GooglePrivacyDlpV2InspectConfig
3211
3079
  include Google::Apis::Core::Hashable
3212
3080
 
3213
- # List of options defining data content to scan.
3214
- # If empty, text, images, and other content will be included.
3081
+ # List of options defining data content to scan. If empty, text, images, and
3082
+ # other content will be included.
3215
3083
  # Corresponds to the JSON property `contentOptions`
3216
3084
  # @return [Array<String>]
3217
3085
  attr_accessor :content_options
3218
3086
 
3219
- # CustomInfoTypes provided by the user. See
3220
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
3087
+ # CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/
3088
+ # creating-custom-infotypes to learn more.
3221
3089
  # Corresponds to the JSON property `customInfoTypes`
3222
3090
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
3223
3091
  attr_accessor :custom_info_types
@@ -3235,14 +3103,13 @@ module Google
3235
3103
  attr_accessor :include_quote
3236
3104
  alias_method :include_quote?, :include_quote
3237
3105
 
3238
- # Restricts what info_types to look for. The values must correspond to
3239
- # InfoType values returned by ListInfoTypes or listed at
3240
- # https://cloud.google.com/dlp/docs/infotypes-reference.
3241
- # When no InfoTypes or CustomInfoTypes are specified in a request, the
3242
- # system may automatically choose what detectors to run. By default this may
3243
- # be all types, but may change over time as detectors are updated.
3244
- # If you need precise control and predictability as to what detectors are
3245
- # run you should specify specific InfoTypes listed in the reference,
3106
+ # Restricts what info_types to look for. The values must correspond to InfoType
3107
+ # values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/
3108
+ # docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified
3109
+ # in a request, the system may automatically choose what detectors to run. By
3110
+ # default this may be all types, but may change over time as detectors are
3111
+ # updated. If you need precise control and predictability as to what detectors
3112
+ # are run you should specify specific InfoTypes listed in the reference,
3246
3113
  # otherwise a default list will be used, which may change over time.
3247
3114
  # Corresponds to the JSON property `infoTypes`
3248
3115
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
@@ -3253,16 +3120,15 @@ module Google
3253
3120
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits]
3254
3121
  attr_accessor :limits
3255
3122
 
3256
- # Only returns findings equal or above this threshold. The default is
3257
- # POSSIBLE.
3123
+ # Only returns findings equal or above this threshold. The default is POSSIBLE.
3258
3124
  # See https://cloud.google.com/dlp/docs/likelihood to learn more.
3259
3125
  # Corresponds to the JSON property `minLikelihood`
3260
3126
  # @return [String]
3261
3127
  attr_accessor :min_likelihood
3262
3128
 
3263
- # Set of rules to apply to the findings for this InspectConfig.
3264
- # Exclusion rules, contained in the set are executed in the end, other
3265
- # rules are executed in the order they are specified for each info type.
3129
+ # Set of rules to apply to the findings for this InspectConfig. Exclusion rules,
3130
+ # contained in the set are executed in the end, other rules are executed in the
3131
+ # order they are specified for each info type.
3266
3132
  # Corresponds to the JSON property `ruleSet`
3267
3133
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet>]
3268
3134
  attr_accessor :rule_set
@@ -3288,18 +3154,16 @@ module Google
3288
3154
  class GooglePrivacyDlpV2InspectContentRequest
3289
3155
  include Google::Apis::Core::Hashable
3290
3156
 
3291
- # Configuration description of the scanning process.
3292
- # When used with redactContent only info_types and min_likelihood are currently
3293
- # used.
3157
+ # Configuration description of the scanning process. When used with
3158
+ # redactContent only info_types and min_likelihood are currently used.
3294
3159
  # Corresponds to the JSON property `inspectConfig`
3295
3160
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3296
3161
  attr_accessor :inspect_config
3297
3162
 
3298
- # Template to use. Any configuration directly specified in
3299
- # inspect_config will override those set in the template. Singular fields
3300
- # that are set in this request will replace their corresponding fields in the
3301
- # template. Repeated fields are appended. Singular sub-messages and groups
3302
- # are recursively merged.
3163
+ # Template to use. Any configuration directly specified in inspect_config will
3164
+ # override those set in the template. Singular fields that are set in this
3165
+ # request will replace their corresponding fields in the template. Repeated
3166
+ # fields are appended. Singular sub-messages and groups are recursively merged.
3303
3167
  # Corresponds to the JSON property `inspectTemplateName`
3304
3168
  # @return [String]
3305
3169
  attr_accessor :inspect_template_name
@@ -3380,15 +3244,14 @@ module Google
3380
3244
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Action>]
3381
3245
  attr_accessor :actions
3382
3246
 
3383
- # Configuration description of the scanning process.
3384
- # When used with redactContent only info_types and min_likelihood are currently
3385
- # used.
3247
+ # Configuration description of the scanning process. When used with
3248
+ # redactContent only info_types and min_likelihood are currently used.
3386
3249
  # Corresponds to the JSON property `inspectConfig`
3387
3250
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3388
3251
  attr_accessor :inspect_config
3389
3252
 
3390
- # If provided, will be used as the default for all values in InspectConfig.
3391
- # `inspect_config` will be merged into the values persisted as part of the
3253
+ # If provided, will be used as the default for all values in InspectConfig. `
3254
+ # inspect_config` will be merged into the values persisted as part of the
3392
3255
  # template.
3393
3256
  # Corresponds to the JSON property `inspectTemplateName`
3394
3257
  # @return [String]
@@ -3421,12 +3284,11 @@ module Google
3421
3284
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Finding>]
3422
3285
  attr_accessor :findings
3423
3286
 
3424
- # If true, then this item might have more findings than were returned,
3425
- # and the findings returned are an arbitrary subset of all findings.
3426
- # The findings list might be truncated because the input items were too
3427
- # large, or because the server reached the maximum amount of resources
3428
- # allowed for a single API call. For best results, divide the input into
3429
- # smaller batches.
3287
+ # If true, then this item might have more findings than were returned, and the
3288
+ # findings returned are an arbitrary subset of all findings. The findings list
3289
+ # might be truncated because the input items were too large, or because the
3290
+ # server reached the maximum amount of resources allowed for a single API call.
3291
+ # For best results, divide the input into smaller batches.
3430
3292
  # Corresponds to the JSON property `findingsTruncated`
3431
3293
  # @return [Boolean]
3432
3294
  attr_accessor :findings_truncated
@@ -3445,8 +3307,8 @@ module Google
3445
3307
 
3446
3308
  # The inspectTemplate contains a configuration (set of types of sensitive data
3447
3309
  # to be detected) to be used anywhere you otherwise would normally specify
3448
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
3449
- # to learn more.
3310
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
3311
+ # learn more.
3450
3312
  class GooglePrivacyDlpV2InspectTemplate
3451
3313
  include Google::Apis::Core::Hashable
3452
3314
 
@@ -3465,17 +3327,15 @@ module Google
3465
3327
  # @return [String]
3466
3328
  attr_accessor :display_name
3467
3329
 
3468
- # Configuration description of the scanning process.
3469
- # When used with redactContent only info_types and min_likelihood are currently
3470
- # used.
3330
+ # Configuration description of the scanning process. When used with
3331
+ # redactContent only info_types and min_likelihood are currently used.
3471
3332
  # Corresponds to the JSON property `inspectConfig`
3472
3333
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3473
3334
  attr_accessor :inspect_config
3474
3335
 
3475
- # Output only. The template name.
3476
- # The template will have one of the following formats:
3477
- # `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
3478
- # `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
3336
+ # Output only. The template name. The template will have one of the following
3337
+ # formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/
3338
+ # ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
3479
3339
  # Corresponds to the JSON property `name`
3480
3340
  # @return [String]
3481
3341
  attr_accessor :name
@@ -3500,19 +3360,19 @@ module Google
3500
3360
  end
3501
3361
  end
3502
3362
 
3503
- # A single inspection rule to be applied to infoTypes, specified in
3504
- # `InspectionRuleSet`.
3363
+ # A single inspection rule to be applied to infoTypes, specified in `
3364
+ # InspectionRuleSet`.
3505
3365
  class GooglePrivacyDlpV2InspectionRule
3506
3366
  include Google::Apis::Core::Hashable
3507
3367
 
3508
- # The rule that specifies conditions when findings of infoTypes specified in
3509
- # `InspectionRuleSet` are removed from results.
3368
+ # The rule that specifies conditions when findings of infoTypes specified in `
3369
+ # InspectionRuleSet` are removed from results.
3510
3370
  # Corresponds to the JSON property `exclusionRule`
3511
3371
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule]
3512
3372
  attr_accessor :exclusion_rule
3513
3373
 
3514
- # The rule that adjusts the likelihood of findings within a certain
3515
- # proximity of hotwords.
3374
+ # The rule that adjusts the likelihood of findings within a certain proximity of
3375
+ # hotwords.
3516
3376
  # Corresponds to the JSON property `hotwordRule`
3517
3377
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
3518
3378
  attr_accessor :hotword_rule
@@ -3554,8 +3414,8 @@ module Google
3554
3414
  end
3555
3415
  end
3556
3416
 
3557
- # Enable email notification to project owners and editors on jobs's
3558
- # completion/failure.
3417
+ # Enable email notification to project owners and editors on jobs's completion/
3418
+ # failure.
3559
3419
  class GooglePrivacyDlpV2JobNotificationEmails
3560
3420
  include Google::Apis::Core::Hashable
3561
3421
 
@@ -3568,8 +3428,8 @@ module Google
3568
3428
  end
3569
3429
  end
3570
3430
 
3571
- # Contains a configuration to make dlp api calls on a repeating basis.
3572
- # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
3431
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
3432
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
3573
3433
  class GooglePrivacyDlpV2JobTrigger
3574
3434
  include Google::Apis::Core::Hashable
3575
3435
 
@@ -3589,10 +3449,9 @@ module Google
3589
3449
  attr_accessor :display_name
3590
3450
 
3591
3451
  # Output only. A stream of errors encountered when the trigger was activated.
3592
- # Repeated
3593
- # errors may result in the JobTrigger automatically being paused.
3594
- # Will return the last 100 errors. Whenever the JobTrigger is modified
3595
- # this list will be cleared.
3452
+ # Repeated errors may result in the JobTrigger automatically being paused. Will
3453
+ # return the last 100 errors. Whenever the JobTrigger is modified this list will
3454
+ # be cleared.
3596
3455
  # Corresponds to the JSON property `errors`
3597
3456
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
3598
3457
  attr_accessor :errors
@@ -3608,8 +3467,8 @@ module Google
3608
3467
  attr_accessor :last_run_time
3609
3468
 
3610
3469
  # Unique resource name for the triggeredJob, assigned by the service when the
3611
- # triggeredJob is created, for example
3612
- # `projects/dlp-test-project/jobTriggers/53234423`.
3470
+ # triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/
3471
+ # 53234423`.
3613
3472
  # Corresponds to the JSON property `name`
3614
3473
  # @return [String]
3615
3474
  attr_accessor :name
@@ -3619,9 +3478,9 @@ module Google
3619
3478
  # @return [String]
3620
3479
  attr_accessor :status
3621
3480
 
3622
- # A list of triggers which will be OR'ed together. Only one in the list
3623
- # needs to trigger for a job to be started. The list may contain only
3624
- # a single Schedule trigger and must have at least one object.
3481
+ # A list of triggers which will be OR'ed together. Only one in the list needs to
3482
+ # trigger for a job to be started. The list may contain only a single Schedule
3483
+ # trigger and must have at least one object.
3625
3484
  # Corresponds to the JSON property `triggers`
3626
3485
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger>]
3627
3486
  attr_accessor :triggers
@@ -3654,20 +3513,19 @@ module Google
3654
3513
  class GooglePrivacyDlpV2KAnonymityConfig
3655
3514
  include Google::Apis::Core::Hashable
3656
3515
 
3657
- # An entity in a dataset is a field or set of fields that correspond to a
3658
- # single person. For example, in medical records the `EntityId` might be a
3659
- # patient identifier, or for financial records it might be an account
3660
- # identifier. This message is used when generalizations or analysis must take
3661
- # into account that multiple rows correspond to the same entity.
3516
+ # An entity in a dataset is a field or set of fields that correspond to a single
3517
+ # person. For example, in medical records the `EntityId` might be a patient
3518
+ # identifier, or for financial records it might be an account identifier. This
3519
+ # message is used when generalizations or analysis must take into account that
3520
+ # multiple rows correspond to the same entity.
3662
3521
  # Corresponds to the JSON property `entityId`
3663
3522
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId]
3664
3523
  attr_accessor :entity_id
3665
3524
 
3666
- # Set of fields to compute k-anonymity over. When multiple fields are
3667
- # specified, they are considered a single composite key. Structs and
3668
- # repeated data types are not supported; however, nested fields are
3669
- # supported so long as they are not structs themselves or nested within
3670
- # a repeated field.
3525
+ # Set of fields to compute k-anonymity over. When multiple fields are specified,
3526
+ # they are considered a single composite key. Structs and repeated data types
3527
+ # are not supported; however, nested fields are supported so long as they are
3528
+ # not structs themselves or nested within a repeated field.
3671
3529
  # Corresponds to the JSON property `quasiIds`
3672
3530
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
3673
3531
  attr_accessor :quasi_ids
@@ -3687,15 +3545,15 @@ module Google
3687
3545
  class GooglePrivacyDlpV2KAnonymityEquivalenceClass
3688
3546
  include Google::Apis::Core::Hashable
3689
3547
 
3690
- # Size of the equivalence class, for example number of rows with the
3691
- # above set of values.
3548
+ # Size of the equivalence class, for example number of rows with the above set
3549
+ # of values.
3692
3550
  # Corresponds to the JSON property `equivalenceClassSize`
3693
3551
  # @return [Fixnum]
3694
3552
  attr_accessor :equivalence_class_size
3695
3553
 
3696
- # Set of values defining the equivalence class. One value per
3697
- # quasi-identifier column in the original KAnonymity metric message.
3698
- # The order is always the same as the original request.
3554
+ # Set of values defining the equivalence class. One value per quasi-identifier
3555
+ # column in the original KAnonymity metric message. The order is always the same
3556
+ # as the original request.
3699
3557
  # Corresponds to the JSON property `quasiIdsValues`
3700
3558
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
3701
3559
  attr_accessor :quasi_ids_values
@@ -3725,8 +3583,8 @@ module Google
3725
3583
  # @return [Fixnum]
3726
3584
  attr_accessor :bucket_value_count
3727
3585
 
3728
- # Sample of equivalence classes in this bucket. The total number of
3729
- # classes returned per bucket is capped at 20.
3586
+ # Sample of equivalence classes in this bucket. The total number of classes
3587
+ # returned per bucket is capped at 20.
3730
3588
  # Corresponds to the JSON property `bucketValues`
3731
3589
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityEquivalenceClass>]
3732
3590
  attr_accessor :bucket_values
@@ -3774,32 +3632,31 @@ module Google
3774
3632
  end
3775
3633
  end
3776
3634
 
3777
- # Reidentifiability metric. This corresponds to a risk model similar to what
3778
- # is called "journalist risk" in the literature, except the attack dataset is
3779
- # statistically modeled instead of being perfectly known. This can be done
3780
- # using publicly available data (like the US Census), or using a custom
3781
- # statistical model (indicated as one or several BigQuery tables), or by
3782
- # extrapolating from the distribution of values in the input dataset.
3635
+ # Reidentifiability metric. This corresponds to a risk model similar to what is
3636
+ # called "journalist risk" in the literature, except the attack dataset is
3637
+ # statistically modeled instead of being perfectly known. This can be done using
3638
+ # publicly available data (like the US Census), or using a custom statistical
3639
+ # model (indicated as one or several BigQuery tables), or by extrapolating from
3640
+ # the distribution of values in the input dataset.
3783
3641
  class GooglePrivacyDlpV2KMapEstimationConfig
3784
3642
  include Google::Apis::Core::Hashable
3785
3643
 
3786
- # Several auxiliary tables can be used in the analysis. Each custom_tag
3787
- # used to tag a quasi-identifiers column must appear in exactly one column
3788
- # of one auxiliary table.
3644
+ # Several auxiliary tables can be used in the analysis. Each custom_tag used to
3645
+ # tag a quasi-identifiers column must appear in exactly one column of one
3646
+ # auxiliary table.
3789
3647
  # Corresponds to the JSON property `auxiliaryTables`
3790
3648
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2AuxiliaryTable>]
3791
3649
  attr_accessor :auxiliary_tables
3792
3650
 
3793
3651
  # Required. Fields considered to be quasi-identifiers. No two columns can have
3794
- # the
3795
- # same tag.
3652
+ # the same tag.
3796
3653
  # Corresponds to the JSON property `quasiIds`
3797
3654
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TaggedField>]
3798
3655
  attr_accessor :quasi_ids
3799
3656
 
3800
- # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
3801
- # Set if no column is tagged with a region-specific InfoType (like
3802
- # US_ZIP_5) or a region code.
3657
+ # ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no
3658
+ # column is tagged with a region-specific InfoType (like US_ZIP_5) or a region
3659
+ # code.
3803
3660
  # Corresponds to the JSON property `regionCode`
3804
3661
  # @return [String]
3805
3662
  attr_accessor :region_code
@@ -3817,13 +3674,11 @@ module Google
3817
3674
  end
3818
3675
 
3819
3676
  # A KMapEstimationHistogramBucket message with the following values:
3820
- # min_anonymity: 3
3821
- # max_anonymity: 5
3822
- # frequency: 42
3823
- # means that there are 42 records whose quasi-identifier values correspond
3824
- # to 3, 4 or 5 people in the overlying population. An important particular
3825
- # case is when min_anonymity = max_anonymity = 1: the frequency field then
3826
- # corresponds to the number of uniquely identifiable records.
3677
+ # min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42
3678
+ # records whose quasi-identifier values correspond to 3, 4 or 5 people in the
3679
+ # overlying population. An important particular case is when min_anonymity =
3680
+ # max_anonymity = 1: the frequency field then corresponds to the number of
3681
+ # uniquely identifiable records.
3827
3682
  class GooglePrivacyDlpV2KMapEstimationHistogramBucket
3828
3683
  include Google::Apis::Core::Hashable
3829
3684
 
@@ -3837,8 +3692,8 @@ module Google
3837
3692
  # @return [Fixnum]
3838
3693
  attr_accessor :bucket_value_count
3839
3694
 
3840
- # Sample of quasi-identifier tuple values in this bucket. The total
3841
- # number of classes returned per bucket is capped at 20.
3695
+ # Sample of quasi-identifier tuple values in this bucket. The total number of
3696
+ # classes returned per bucket is capped at 20.
3842
3697
  # Corresponds to the JSON property `bucketValues`
3843
3698
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationQuasiIdValues>]
3844
3699
  attr_accessor :bucket_values
@@ -3897,14 +3752,12 @@ module Google
3897
3752
  class GooglePrivacyDlpV2KMapEstimationResult
3898
3753
  include Google::Apis::Core::Hashable
3899
3754
 
3900
- # The intervals [min_anonymity, max_anonymity] do not overlap. If a value
3901
- # doesn't correspond to any such interval, the associated frequency is
3902
- # zero. For example, the following records:
3903
- # `min_anonymity: 1, max_anonymity: 1, frequency: 17`
3904
- # `min_anonymity: 2, max_anonymity: 3, frequency: 42`
3905
- # `min_anonymity: 5, max_anonymity: 10, frequency: 99`
3906
- # mean that there are no record with an estimated anonymity of 4, 5, or
3907
- # larger than 10.
3755
+ # The intervals [min_anonymity, max_anonymity] do not overlap. If a value doesn'
3756
+ # t correspond to any such interval, the associated frequency is zero. For
3757
+ # example, the following records: `min_anonymity: 1, max_anonymity: 1, frequency:
3758
+ # 17` `min_anonymity: 2, max_anonymity: 3, frequency: 42` `min_anonymity: 5,
3759
+ # max_anonymity: 10, frequency: 99` mean that there are no record with an
3760
+ # estimated anonymity of 4, 5, or larger than 10.
3908
3761
  # Corresponds to the JSON property `kMapEstimationHistogram`
3909
3762
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationHistogramBucket>]
3910
3763
  attr_accessor :k_map_estimation_histogram
@@ -3919,30 +3772,26 @@ module Google
3919
3772
  end
3920
3773
  end
3921
3774
 
3922
- # A unique identifier for a Datastore entity.
3923
- # If a key's partition ID or any of its path kinds or names are
3924
- # reserved/read-only, the key is reserved/read-only.
3775
+ # A unique identifier for a Datastore entity. If a key's partition ID or any of
3776
+ # its path kinds or names are reserved/read-only, the key is reserved/read-only.
3925
3777
  # A reserved/read-only key is forbidden in certain documented contexts.
3926
3778
  class GooglePrivacyDlpV2Key
3927
3779
  include Google::Apis::Core::Hashable
3928
3780
 
3929
- # Datastore partition ID.
3930
- # A partition ID identifies a grouping of entities. The grouping is always
3931
- # by project and namespace, however the namespace ID may be empty.
3932
- # A partition ID contains several dimensions:
3933
- # project ID and namespace ID.
3781
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
3782
+ # grouping is always by project and namespace, however the namespace ID may be
3783
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
3934
3784
  # Corresponds to the JSON property `partitionId`
3935
3785
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PartitionId]
3936
3786
  attr_accessor :partition_id
3937
3787
 
3938
- # The entity path.
3939
- # An entity path consists of one or more elements composed of a kind and a
3940
- # string or numerical identifier, which identify entities. The first
3941
- # element identifies a _root entity_, the second element identifies
3942
- # a _child_ of the root entity, the third element identifies a child of the
3943
- # second entity, and so forth. The entities identified by all prefixes of
3944
- # the path are called the element's _ancestors_.
3945
- # A path can never be empty, and a path can have at most 100 elements.
3788
+ # The entity path. An entity path consists of one or more elements composed of a
3789
+ # kind and a string or numerical identifier, which identify entities. The first
3790
+ # element identifies a _root entity_, the second element identifies a _child_ of
3791
+ # the root entity, the third element identifies a child of the second entity,
3792
+ # and so forth. The entities identified by all prefixes of the path are called
3793
+ # the element's _ancestors_. A path can never be empty, and a path can have at
3794
+ # most 100 elements.
3946
3795
  # Corresponds to the JSON property `path`
3947
3796
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PathElement>]
3948
3797
  attr_accessor :path
@@ -3977,11 +3826,10 @@ module Google
3977
3826
  end
3978
3827
  end
3979
3828
 
3980
- # Include to use an existing data crypto key wrapped by KMS.
3981
- # The wrapped key must be a 128/192/256 bit key.
3982
- # Authorization requires the following IAM permissions when sending a request
3983
- # to perform a crypto transformation using a kms-wrapped crypto key:
3984
- # dlp.kms.encrypt
3829
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
3830
+ # must be a 128/192/256 bit key. Authorization requires the following IAM
3831
+ # permissions when sending a request to perform a crypto transformation using a
3832
+ # kms-wrapped crypto key: dlp.kms.encrypt
3985
3833
  class GooglePrivacyDlpV2KmsWrappedCryptoKey
3986
3834
  include Google::Apis::Core::Hashable
3987
3835
 
@@ -4011,9 +3859,9 @@ module Google
4011
3859
  class GooglePrivacyDlpV2LDiversityConfig
4012
3860
  include Google::Apis::Core::Hashable
4013
3861
 
4014
- # Set of quasi-identifiers indicating how equivalence classes are
4015
- # defined for the l-diversity computation. When multiple fields are
4016
- # specified, they are considered a single composite key.
3862
+ # Set of quasi-identifiers indicating how equivalence classes are defined for
3863
+ # the l-diversity computation. When multiple fields are specified, they are
3864
+ # considered a single composite key.
4017
3865
  # Corresponds to the JSON property `quasiIds`
4018
3866
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
4019
3867
  attr_accessor :quasi_ids
@@ -4048,8 +3896,8 @@ module Google
4048
3896
  # @return [Fixnum]
4049
3897
  attr_accessor :num_distinct_sensitive_values
4050
3898
 
4051
- # Quasi-identifier values defining the k-anonymity equivalence
4052
- # class. The order is always the same as the original request.
3899
+ # Quasi-identifier values defining the k-anonymity equivalence class. The order
3900
+ # is always the same as the original request.
4053
3901
  # Corresponds to the JSON property `quasiIdsValues`
4054
3902
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
4055
3903
  attr_accessor :quasi_ids_values
@@ -4086,20 +3934,20 @@ module Google
4086
3934
  # @return [Fixnum]
4087
3935
  attr_accessor :bucket_value_count
4088
3936
 
4089
- # Sample of equivalence classes in this bucket. The total number of
4090
- # classes returned per bucket is capped at 20.
3937
+ # Sample of equivalence classes in this bucket. The total number of classes
3938
+ # returned per bucket is capped at 20.
4091
3939
  # Corresponds to the JSON property `bucketValues`
4092
3940
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityEquivalenceClass>]
4093
3941
  attr_accessor :bucket_values
4094
3942
 
4095
- # Lower bound on the sensitive value frequencies of the equivalence
4096
- # classes in this bucket.
3943
+ # Lower bound on the sensitive value frequencies of the equivalence classes in
3944
+ # this bucket.
4097
3945
  # Corresponds to the JSON property `sensitiveValueFrequencyLowerBound`
4098
3946
  # @return [Fixnum]
4099
3947
  attr_accessor :sensitive_value_frequency_lower_bound
4100
3948
 
4101
- # Upper bound on the sensitive value frequencies of the equivalence
4102
- # classes in this bucket.
3949
+ # Upper bound on the sensitive value frequencies of the equivalence classes in
3950
+ # this bucket.
4103
3951
  # Corresponds to the JSON property `sensitiveValueFrequencyUpperBound`
4104
3952
  # @return [Fixnum]
4105
3953
  attr_accessor :sensitive_value_frequency_upper_bound
@@ -4138,11 +3986,10 @@ module Google
4138
3986
  end
4139
3987
 
4140
3988
  # Configuration for a custom dictionary created from a data source of any size
4141
- # up to the maximum size defined in the
4142
- # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
4143
- # dictionary creation are stored in the specified Google Cloud Storage
4144
- # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
4145
- # that satisfy the size requirements.
3989
+ # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
3990
+ # limits) page. The artifacts of dictionary creation are stored in the specified
3991
+ # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
3992
+ # smaller dictionaries that satisfy the size requirements.
4146
3993
  class GooglePrivacyDlpV2LargeCustomDictionaryConfig
4147
3994
  include Google::Apis::Core::Hashable
4148
3995
 
@@ -4193,9 +4040,8 @@ module Google
4193
4040
  end
4194
4041
 
4195
4042
  # Skips the data without modifying it if the requested transformation would
4196
- # cause an error. For example, if a `DateShift` transformation were applied
4197
- # an an IP address, this mode would leave the IP address unchanged in the
4198
- # response.
4043
+ # cause an error. For example, if a `DateShift` transformation were applied an
4044
+ # an IP address, this mode would leave the IP address unchanged in the response.
4199
4045
  class GooglePrivacyDlpV2LeaveUntransformed
4200
4046
  include Google::Apis::Core::Hashable
4201
4047
 
@@ -4208,8 +4054,8 @@ module Google
4208
4054
  end
4209
4055
  end
4210
4056
 
4211
- # Message for specifying an adjustment to the likelihood of a finding as
4212
- # part of a detection rule.
4057
+ # Message for specifying an adjustment to the likelihood of a finding as part of
4058
+ # a detection rule.
4213
4059
  class GooglePrivacyDlpV2LikelihoodAdjustment
4214
4060
  include Google::Apis::Core::Hashable
4215
4061
 
@@ -4218,14 +4064,13 @@ module Google
4218
4064
  # @return [String]
4219
4065
  attr_accessor :fixed_likelihood
4220
4066
 
4221
- # Increase or decrease the likelihood by the specified number of
4222
- # levels. For example, if a finding would be `POSSIBLE` without the
4223
- # detection rule and `relative_likelihood` is 1, then it is upgraded to
4224
- # `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
4225
- # Likelihood may never drop below `VERY_UNLIKELY` or exceed
4226
- # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
4227
- # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
4228
- # a final likelihood of `LIKELY`.
4067
+ # Increase or decrease the likelihood by the specified number of levels. For
4068
+ # example, if a finding would be `POSSIBLE` without the detection rule and `
4069
+ # relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -
4070
+ # 1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `
4071
+ # VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1
4072
+ # followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will
4073
+ # result in a final likelihood of `LIKELY`.
4229
4074
  # Corresponds to the JSON property `relativeLikelihood`
4230
4075
  # @return [Fixnum]
4231
4076
  attr_accessor :relative_likelihood
@@ -4251,8 +4096,8 @@ module Google
4251
4096
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate>]
4252
4097
  attr_accessor :deidentify_templates
4253
4098
 
4254
- # If the next page is available then the next page token to be used
4255
- # in following ListDeidentifyTemplates request.
4099
+ # If the next page is available then the next page token to be used in following
4100
+ # ListDeidentifyTemplates request.
4256
4101
  # Corresponds to the JSON property `nextPageToken`
4257
4102
  # @return [String]
4258
4103
  attr_accessor :next_page_token
@@ -4321,8 +4166,8 @@ module Google
4321
4166
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate>]
4322
4167
  attr_accessor :inspect_templates
4323
4168
 
4324
- # If the next page is available then the next page token to be used
4325
- # in following ListInspectTemplates request.
4169
+ # If the next page is available then the next page token to be used in following
4170
+ # ListInspectTemplates request.
4326
4171
  # Corresponds to the JSON property `nextPageToken`
4327
4172
  # @return [String]
4328
4173
  attr_accessor :next_page_token
@@ -4347,8 +4192,8 @@ module Google
4347
4192
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger>]
4348
4193
  attr_accessor :job_triggers
4349
4194
 
4350
- # If the next page is available then the next page token to be used
4351
- # in following ListJobTriggers request.
4195
+ # If the next page is available then the next page token to be used in following
4196
+ # ListJobTriggers request.
4352
4197
  # Corresponds to the JSON property `nextPageToken`
4353
4198
  # @return [String]
4354
4199
  attr_accessor :next_page_token
@@ -4368,8 +4213,8 @@ module Google
4368
4213
  class GooglePrivacyDlpV2ListStoredInfoTypesResponse
4369
4214
  include Google::Apis::Core::Hashable
4370
4215
 
4371
- # If the next page is available then the next page token to be used
4372
- # in following ListStoredInfoTypes request.
4216
+ # If the next page is available then the next page token to be used in following
4217
+ # ListStoredInfoTypes request.
4373
4218
  # Corresponds to the JSON property `nextPageToken`
4374
4219
  # @return [String]
4375
4220
  attr_accessor :next_page_token
@@ -4404,14 +4249,14 @@ module Google
4404
4249
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Range]
4405
4250
  attr_accessor :codepoint_range
4406
4251
 
4407
- # Represents a container that may contain DLP findings.
4408
- # Examples of a container include a file, table, or database record.
4252
+ # Represents a container that may contain DLP findings. Examples of a container
4253
+ # include a file, table, or database record.
4409
4254
  # Corresponds to the JSON property `container`
4410
4255
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
4411
4256
  attr_accessor :container
4412
4257
 
4413
- # List of nested objects pointing to the precise location of the finding
4414
- # within the file or record.
4258
+ # List of nested objects pointing to the precise location of the finding within
4259
+ # the file or record.
4415
4260
  # Corresponds to the JSON property `contentLocations`
4416
4261
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>]
4417
4262
  attr_accessor :content_locations
@@ -4429,8 +4274,7 @@ module Google
4429
4274
  end
4430
4275
  end
4431
4276
 
4432
- # Job trigger option for hybrid jobs. Jobs must be manually created
4433
- # and finished.
4277
+ # Job trigger option for hybrid jobs. Jobs must be manually created and finished.
4434
4278
  class GooglePrivacyDlpV2Manual
4435
4279
  include Google::Apis::Core::Hashable
4436
4280
 
@@ -4468,8 +4312,8 @@ module Google
4468
4312
  end
4469
4313
  end
4470
4314
 
4471
- # Compute numerical stats over an individual column, including
4472
- # min, max, and quantiles.
4315
+ # Compute numerical stats over an individual column, including min, max, and
4316
+ # quantiles.
4473
4317
  class GooglePrivacyDlpV2NumericalStatsConfig
4474
4318
  include Google::Apis::Core::Hashable
4475
4319
 
@@ -4492,28 +4336,26 @@ module Google
4492
4336
  class GooglePrivacyDlpV2NumericalStatsResult
4493
4337
  include Google::Apis::Core::Hashable
4494
4338
 
4495
- # Set of primitive values supported by the system.
4496
- # Note that for the purposes of inspection or transformation, the number
4497
- # of bytes considered to comprise a 'Value' is based on its representation
4498
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
4499
- # 123456789, the number of bytes would be counted as 9, even though an
4500
- # int64 only holds up to 8 bytes of data.
4339
+ # Set of primitive values supported by the system. Note that for the purposes of
4340
+ # inspection or transformation, the number of bytes considered to comprise a '
4341
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
4342
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
4343
+ # as 9, even though an int64 only holds up to 8 bytes of data.
4501
4344
  # Corresponds to the JSON property `maxValue`
4502
4345
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
4503
4346
  attr_accessor :max_value
4504
4347
 
4505
- # Set of primitive values supported by the system.
4506
- # Note that for the purposes of inspection or transformation, the number
4507
- # of bytes considered to comprise a 'Value' is based on its representation
4508
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
4509
- # 123456789, the number of bytes would be counted as 9, even though an
4510
- # int64 only holds up to 8 bytes of data.
4348
+ # Set of primitive values supported by the system. Note that for the purposes of
4349
+ # inspection or transformation, the number of bytes considered to comprise a '
4350
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
4351
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
4352
+ # as 9, even though an int64 only holds up to 8 bytes of data.
4511
4353
  # Corresponds to the JSON property `minValue`
4512
4354
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
4513
4355
  attr_accessor :min_value
4514
4356
 
4515
- # List of 99 values that partition the set of field values into 100 equal
4516
- # sized buckets.
4357
+ # List of 99 values that partition the set of field values into 100 equal sized
4358
+ # buckets.
4517
4359
  # Corresponds to the JSON property `quantileValues`
4518
4360
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
4519
4361
  attr_accessor :quantile_values
@@ -4534,24 +4376,21 @@ module Google
4534
4376
  class GooglePrivacyDlpV2OutputStorageConfig
4535
4377
  include Google::Apis::Core::Hashable
4536
4378
 
4537
- # Schema used for writing the findings for Inspect jobs. This field is only
4538
- # used for Inspect and must be unspecified for Risk jobs. Columns are derived
4539
- # from the `Finding` object. If appending to an existing table, any columns
4540
- # from the predefined schema that are missing will be added. No columns in
4541
- # the existing table will be deleted.
4542
- # If unspecified, then all available columns will be used for a new table or
4543
- # an (existing) table with no schema, and no changes will be made to an
4544
- # existing table that has a schema.
4545
- # Only for use with external storage.
4379
+ # Schema used for writing the findings for Inspect jobs. This field is only used
4380
+ # for Inspect and must be unspecified for Risk jobs. Columns are derived from
4381
+ # the `Finding` object. If appending to an existing table, any columns from the
4382
+ # predefined schema that are missing will be added. No columns in the existing
4383
+ # table will be deleted. If unspecified, then all available columns will be used
4384
+ # for a new table or an (existing) table with no schema, and no changes will be
4385
+ # made to an existing table that has a schema. Only for use with external
4386
+ # storage.
4546
4387
  # Corresponds to the JSON property `outputSchema`
4547
4388
  # @return [String]
4548
4389
  attr_accessor :output_schema
4549
4390
 
4550
4391
  # Message defining the location of a BigQuery table. A table is uniquely
4551
- # identified by its project_id, dataset_id, and table_name. Within a query
4552
- # a table is often referenced with a string in the format of:
4553
- # `<project_id>:<dataset_id>.<table_id>` or
4554
- # `<project_id>.<dataset_id>.<table_id>`.
4392
+ # identified by its project_id, dataset_id, and table_name. Within a query a
4393
+ # table is often referenced with a string in the format of: `:.` or `..`.
4555
4394
  # Corresponds to the JSON property `table`
4556
4395
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
4557
4396
  attr_accessor :table
@@ -4567,11 +4406,9 @@ module Google
4567
4406
  end
4568
4407
  end
4569
4408
 
4570
- # Datastore partition ID.
4571
- # A partition ID identifies a grouping of entities. The grouping is always
4572
- # by project and namespace, however the namespace ID may be empty.
4573
- # A partition ID contains several dimensions:
4574
- # project ID and namespace ID.
4409
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
4410
+ # grouping is always by project and namespace, however the namespace ID may be
4411
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
4575
4412
  class GooglePrivacyDlpV2PartitionId
4576
4413
  include Google::Apis::Core::Hashable
4577
4414
 
@@ -4596,31 +4433,26 @@ module Google
4596
4433
  end
4597
4434
  end
4598
4435
 
4599
- # A (kind, ID/name) pair used to construct a key path.
4600
- # If either name or ID is set, the element is complete.
4601
- # If neither is set, the element is incomplete.
4436
+ # A (kind, ID/name) pair used to construct a key path. If either name or ID is
4437
+ # set, the element is complete. If neither is set, the element is incomplete.
4602
4438
  class GooglePrivacyDlpV2PathElement
4603
4439
  include Google::Apis::Core::Hashable
4604
4440
 
4605
- # The auto-allocated ID of the entity.
4606
- # Never equal to zero. Values less than zero are discouraged and may not
4607
- # be supported in the future.
4441
+ # The auto-allocated ID of the entity. Never equal to zero. Values less than
4442
+ # zero are discouraged and may not be supported in the future.
4608
4443
  # Corresponds to the JSON property `id`
4609
4444
  # @return [Fixnum]
4610
4445
  attr_accessor :id
4611
4446
 
4612
- # The kind of the entity.
4613
- # A kind matching regex `__.*__` is reserved/read-only.
4614
- # A kind must not contain more than 1500 bytes when UTF-8 encoded.
4615
- # Cannot be `""`.
4447
+ # The kind of the entity. A kind matching regex `__.*__` is reserved/read-only.
4448
+ # A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`
4449
+ # .
4616
4450
  # Corresponds to the JSON property `kind`
4617
4451
  # @return [String]
4618
4452
  attr_accessor :kind
4619
4453
 
4620
- # The name of the entity.
4621
- # A name matching regex `__.*__` is reserved/read-only.
4622
- # A name must not be more than 1500 bytes when UTF-8 encoded.
4623
- # Cannot be `""`.
4454
+ # The name of the entity. A name matching regex `__.*__` is reserved/read-only.
4455
+ # A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
4624
4456
  # Corresponds to the JSON property `name`
4625
4457
  # @return [String]
4626
4458
  attr_accessor :name
@@ -4643,80 +4475,73 @@ module Google
4643
4475
 
4644
4476
  # Generalization function that buckets values based on ranges. The ranges and
4645
4477
  # replacement values are dynamically provided by the user for custom behavior,
4646
- # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH
4647
- # This can be used on
4648
- # data of type: number, long, string, timestamp.
4649
- # If the bound `Value` type differs from the type of data being transformed, we
4650
- # will first attempt converting the type of the data to be transformed to match
4651
- # the type of the bound before comparing.
4478
+ # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
4479
+ # type: number, long, string, timestamp. If the bound `Value` type differs from
4480
+ # the type of data being transformed, we will first attempt converting the type
4481
+ # of the data to be transformed to match the type of the bound before comparing.
4652
4482
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
4653
4483
  # Corresponds to the JSON property `bucketingConfig`
4654
4484
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
4655
4485
  attr_accessor :bucketing_config
4656
4486
 
4657
- # Partially mask a string by replacing a given number of characters with a
4658
- # fixed character. Masking can start from the beginning or end of the string.
4659
- # This can be used on data of any type (numbers, longs, and so on) and when
4660
- # de-identifying structured data we'll attempt to preserve the original data's
4661
- # type. (This allows you to take a long like 123 and modify it to a string like
4662
- # **3.
4487
+ # Partially mask a string by replacing a given number of characters with a fixed
4488
+ # character. Masking can start from the beginning or end of the string. This can
4489
+ # be used on data of any type (numbers, longs, and so on) and when de-
4490
+ # identifying structured data we'll attempt to preserve the original data's type.
4491
+ # (This allows you to take a long like 123 and modify it to a string like **3.
4663
4492
  # Corresponds to the JSON property `characterMaskConfig`
4664
4493
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CharacterMaskConfig]
4665
4494
  attr_accessor :character_mask_config
4666
4495
 
4667
4496
  # Pseudonymization method that generates deterministic encryption for the given
4668
- # input. Outputs a base64 encoded representation of the encrypted output.
4669
- # Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
4497
+ # input. Outputs a base64 encoded representation of the encrypted output. Uses
4498
+ # AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
4670
4499
  # Corresponds to the JSON property `cryptoDeterministicConfig`
4671
4500
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig]
4672
4501
  attr_accessor :crypto_deterministic_config
4673
4502
 
4674
4503
  # Pseudonymization method that generates surrogates via cryptographic hashing.
4675
- # Uses SHA-256.
4676
- # The key size must be either 32 or 64 bytes.
4677
- # Outputs a base64 encoded representation of the hashed output
4678
- # (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
4679
- # Currently, only string and integer values can be hashed.
4680
- # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
4504
+ # Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
4505
+ # encoded representation of the hashed output (for example,
4506
+ # L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
4507
+ # integer values can be hashed. See https://cloud.google.com/dlp/docs/
4508
+ # pseudonymization to learn more.
4681
4509
  # Corresponds to the JSON property `cryptoHashConfig`
4682
4510
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
4683
4511
  attr_accessor :crypto_hash_config
4684
4512
 
4685
- # Replaces an identifier with a surrogate using Format Preserving Encryption
4686
- # (FPE) with the FFX mode of operation; however when used in the
4687
- # `ReidentifyContent` API method, it serves the opposite function by reversing
4513
+ # Replaces an identifier with a surrogate using Format Preserving Encryption (
4514
+ # FPE) with the FFX mode of operation; however when used in the `
4515
+ # ReidentifyContent` API method, it serves the opposite function by reversing
4688
4516
  # the surrogate back into the original identifier. The identifier must be
4689
- # encoded as ASCII. For a given crypto key and context, the same identifier
4690
- # will be replaced with the same surrogate. Identifiers must be at least two
4517
+ # encoded as ASCII. For a given crypto key and context, the same identifier will
4518
+ # be replaced with the same surrogate. Identifiers must be at least two
4691
4519
  # characters long. In the case that the identifier is the empty string, it will
4692
4520
  # be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn
4693
- # more.
4694
- # Note: We recommend using CryptoDeterministicConfig for all use cases which
4695
- # do not require preserving the input alphabet space and size, plus warrant
4696
- # referential integrity.
4521
+ # more. Note: We recommend using CryptoDeterministicConfig for all use cases
4522
+ # which do not require preserving the input alphabet space and size, plus
4523
+ # warrant referential integrity.
4697
4524
  # Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
4698
4525
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]
4699
4526
  attr_accessor :crypto_replace_ffx_fpe_config
4700
4527
 
4701
4528
  # Shifts dates by random number of days, with option to be consistent for the
4702
- # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
4703
- # to learn more.
4529
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to
4530
+ # learn more.
4704
4531
  # Corresponds to the JSON property `dateShiftConfig`
4705
4532
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateShiftConfig]
4706
4533
  attr_accessor :date_shift_config
4707
4534
 
4708
- # Buckets values based on fixed size ranges. The
4709
- # Bucketing transformation can provide all of this functionality,
4710
- # but requires more configuration. This message is provided as a convenience to
4711
- # the user for simple bucketing strategies.
4712
- # The transformed value will be a hyphenated string of
4713
- # `lower_bound`-`upper_bound`, i.e if lower_bound = 10 and upper_bound = 20
4714
- # all values that are within this bucket will be replaced with "10-20".
4715
- # This can be used on data of type: double, long.
4716
- # If the bound Value type differs from the type of data
4717
- # being transformed, we will first attempt converting the type of the data to
4718
- # be transformed to match the type of the bound before comparing.
4719
- # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
4535
+ # Buckets values based on fixed size ranges. The Bucketing transformation can
4536
+ # provide all of this functionality, but requires more configuration. This
4537
+ # message is provided as a convenience to the user for simple bucketing
4538
+ # strategies. The transformed value will be a hyphenated string of `lower_bound`-
4539
+ # `upper_bound`, i.e if lower_bound = 10 and upper_bound = 20 all values that
4540
+ # are within this bucket will be replaced with "10-20". This can be used on data
4541
+ # of type: double, long. If the bound Value type differs from the type of data
4542
+ # being transformed, we will first attempt converting the type of the data to be
4543
+ # transformed to match the type of the bound before comparing. See https://cloud.
4544
+ # google.com/dlp/docs/concepts-bucketing to learn more.
4720
4545
  # Corresponds to the JSON property `fixedSizeBucketingConfig`
4721
4546
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FixedSizeBucketingConfig]
4722
4547
  attr_accessor :fixed_size_bucketing_config
@@ -4768,16 +4593,16 @@ module Google
4768
4593
  class GooglePrivacyDlpV2PrivacyMetric
4769
4594
  include Google::Apis::Core::Hashable
4770
4595
 
4771
- # Compute numerical stats over an individual column, including
4772
- # number of distinct values and value count distribution.
4596
+ # Compute numerical stats over an individual column, including number of
4597
+ # distinct values and value count distribution.
4773
4598
  # Corresponds to the JSON property `categoricalStatsConfig`
4774
4599
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig]
4775
4600
  attr_accessor :categorical_stats_config
4776
4601
 
4777
- # δ-presence metric, used to estimate how likely it is for an attacker to
4778
- # figure out that one given individual appears in a de-identified dataset.
4779
- # Similarly to the k-map metric, we cannot compute δ-presence exactly without
4780
- # knowing the attack dataset, so we use a statistical model instead.
4602
+ # δ-presence metric, used to estimate how likely it is for an attacker to figure
4603
+ # out that one given individual appears in a de-identified dataset. Similarly to
4604
+ # the k-map metric, we cannot compute δ-presence exactly without knowing the
4605
+ # attack dataset, so we use a statistical model instead.
4781
4606
  # Corresponds to the JSON property `deltaPresenceEstimationConfig`
4782
4607
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig]
4783
4608
  attr_accessor :delta_presence_estimation_config
@@ -4787,12 +4612,12 @@ module Google
4787
4612
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig]
4788
4613
  attr_accessor :k_anonymity_config
4789
4614
 
4790
- # Reidentifiability metric. This corresponds to a risk model similar to what
4791
- # is called "journalist risk" in the literature, except the attack dataset is
4792
- # statistically modeled instead of being perfectly known. This can be done
4793
- # using publicly available data (like the US Census), or using a custom
4794
- # statistical model (indicated as one or several BigQuery tables), or by
4795
- # extrapolating from the distribution of values in the input dataset.
4615
+ # Reidentifiability metric. This corresponds to a risk model similar to what is
4616
+ # called "journalist risk" in the literature, except the attack dataset is
4617
+ # statistically modeled instead of being perfectly known. This can be done using
4618
+ # publicly available data (like the US Census), or using a custom statistical
4619
+ # model (indicated as one or several BigQuery tables), or by extrapolating from
4620
+ # the distribution of values in the input dataset.
4796
4621
  # Corresponds to the JSON property `kMapEstimationConfig`
4797
4622
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig]
4798
4623
  attr_accessor :k_map_estimation_config
@@ -4802,8 +4627,8 @@ module Google
4802
4627
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityConfig]
4803
4628
  attr_accessor :l_diversity_config
4804
4629
 
4805
- # Compute numerical stats over an individual column, including
4806
- # min, max, and quantiles.
4630
+ # Compute numerical stats over an individual column, including min, max, and
4631
+ # quantiles.
4807
4632
  # Corresponds to the JSON property `numericalStatsConfig`
4808
4633
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsConfig]
4809
4634
  attr_accessor :numerical_stats_config
@@ -4823,8 +4648,7 @@ module Google
4823
4648
  end
4824
4649
  end
4825
4650
 
4826
- # Message for specifying a window around a finding to apply a detection
4827
- # rule.
4651
+ # Message for specifying a window around a finding to apply a detection rule.
4828
4652
  class GooglePrivacyDlpV2Proximity
4829
4653
  include Google::Apis::Core::Hashable
4830
4654
 
@@ -4850,15 +4674,14 @@ module Google
4850
4674
  end
4851
4675
 
4852
4676
  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
4853
- # results of the DlpJob will be applied to the entry for the resource scanned
4854
- # in Cloud Data Catalog. Any labels previously written by another DlpJob will
4855
- # be deleted. InfoType naming patterns are strictly enforced when using this
4677
+ # results of the DlpJob will be applied to the entry for the resource scanned in
4678
+ # Cloud Data Catalog. Any labels previously written by another DlpJob will be
4679
+ # deleted. InfoType naming patterns are strictly enforced when using this
4856
4680
  # feature. Note that the findings will be persisted in Cloud Data Catalog
4857
- # storage and are governed by Data Catalog service-specific policy, see
4858
- # https://cloud.google.com/terms/service-terms
4859
- # Only a single instance of this action can be specified and only allowed if
4860
- # all resources being scanned are BigQuery tables.
4861
- # Compatible with: Inspect
4681
+ # storage and are governed by Data Catalog service-specific policy, see https://
4682
+ # cloud.google.com/terms/service-terms Only a single instance of this action can
4683
+ # be specified and only allowed if all resources being scanned are BigQuery
4684
+ # tables. Compatible with: Inspect
4862
4685
  class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
4863
4686
  include Google::Apis::Core::Hashable
4864
4687
 
@@ -4871,16 +4694,13 @@ module Google
4871
4694
  end
4872
4695
  end
4873
4696
 
4874
- # Publish the result summary of a DlpJob to the Cloud Security
4875
- # Command Center (CSCC Alpha).
4876
- # This action is only available for projects which are parts of
4877
- # an organization and whitelisted for the alpha Cloud Security Command
4878
- # Center.
4879
- # The action will publish count of finding instances and their info types.
4880
- # The summary of findings will be persisted in CSCC and are governed by CSCC
4881
- # service-specific policy, see https://cloud.google.com/terms/service-terms
4882
- # Only a single instance of this action can be specified.
4883
- # Compatible with: Inspect
4697
+ # Publish the result summary of a DlpJob to the Cloud Security Command Center (
4698
+ # CSCC Alpha). This action is only available for projects which are parts of an
4699
+ # organization and whitelisted for the alpha Cloud Security Command Center. The
4700
+ # action will publish count of finding instances and their info types. The
4701
+ # summary of findings will be persisted in CSCC and are governed by CSCC service-
4702
+ # specific policy, see https://cloud.google.com/terms/service-terms Only a
4703
+ # single instance of this action can be specified. Compatible with: Inspect
4884
4704
  class GooglePrivacyDlpV2PublishSummaryToCscc
4885
4705
  include Google::Apis::Core::Hashable
4886
4706
 
@@ -4894,18 +4714,16 @@ module Google
4894
4714
  end
4895
4715
 
4896
4716
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
4897
- # message contains a single field, `DlpJobName`, which is equal to the
4898
- # finished job's
4899
- # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
4900
- # dlpJobs#DlpJob).
4901
- # Compatible with: Inspect, Risk
4717
+ # message contains a single field, `DlpJobName`, which is equal to the finished
4718
+ # job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/
4719
+ # projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
4902
4720
  class GooglePrivacyDlpV2PublishToPubSub
4903
4721
  include Google::Apis::Core::Hashable
4904
4722
 
4905
4723
  # Cloud Pub/Sub topic to send notifications to. The topic must have given
4906
- # publishing access rights to the DLP API service account executing
4907
- # the long running DlpJob sending the notifications.
4908
- # Format is projects/`project`/topics/`topic`.
4724
+ # publishing access rights to the DLP API service account executing the long
4725
+ # running DlpJob sending the notifications. Format is projects/`project`/topics/`
4726
+ # topic`.
4909
4727
  # Corresponds to the JSON property `topic`
4910
4728
  # @return [String]
4911
4729
  attr_accessor :topic
@@ -4920,10 +4738,10 @@ module Google
4920
4738
  end
4921
4739
  end
4922
4740
 
4923
- # Enable Stackdriver metric dlp.googleapis.com/finding_count. This
4924
- # will publish a metric to stack driver on each infotype requested and
4925
- # how many findings were found for it. CustomDetectors will be bucketed
4926
- # as 'Custom' under the Stackdriver label 'info_type'.
4741
+ # Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish
4742
+ # a metric to stack driver on each infotype requested and how many findings were
4743
+ # found for it. CustomDetectors will be bucketed as 'Custom' under the
4744
+ # Stackdriver label 'info_type'.
4927
4745
  class GooglePrivacyDlpV2PublishToStackdriver
4928
4746
  include Google::Apis::Core::Hashable
4929
4747
 
@@ -4940,9 +4758,9 @@ module Google
4940
4758
  class GooglePrivacyDlpV2QuasiId
4941
4759
  include Google::Apis::Core::Hashable
4942
4760
 
4943
- # A column can be tagged with a custom tag. In this case, the user must
4944
- # indicate an auxiliary table that contains statistical information on
4945
- # the possible values of this column (below).
4761
+ # A column can be tagged with a custom tag. In this case, the user must indicate
4762
+ # an auxiliary table that contains statistical information on the possible
4763
+ # values of this column (below).
4946
4764
  # Corresponds to the JSON property `customTag`
4947
4765
  # @return [String]
4948
4766
  attr_accessor :custom_tag
@@ -4952,13 +4770,11 @@ module Google
4952
4770
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
4953
4771
  attr_accessor :field
4954
4772
 
4955
- # A generic empty message that you can re-use to avoid defining duplicated
4956
- # empty messages in your APIs. A typical example is to use it as the request
4957
- # or the response type of an API method. For instance:
4958
- # service Foo `
4959
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
4960
- # `
4961
- # The JSON representation for `Empty` is empty JSON object ````.
4773
+ # A generic empty message that you can re-use to avoid defining duplicated empty
4774
+ # messages in your APIs. A typical example is to use it as the request or the
4775
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
4776
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
4777
+ # `Empty` is empty JSON object ````.
4962
4778
  # Corresponds to the JSON property `inferred`
4963
4779
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
4964
4780
  attr_accessor :inferred
@@ -4981,8 +4797,8 @@ module Google
4981
4797
  end
4982
4798
  end
4983
4799
 
4984
- # A quasi-identifier column has a custom_tag, used to know which column
4985
- # in the data corresponds to which column in the statistical model.
4800
+ # A quasi-identifier column has a custom_tag, used to know which column in the
4801
+ # data corresponds to which column in the statistical model.
4986
4802
  class GooglePrivacyDlpV2QuasiIdField
4987
4803
  include Google::Apis::Core::Hashable
4988
4804
 
@@ -5007,14 +4823,14 @@ module Google
5007
4823
  end
5008
4824
  end
5009
4825
 
5010
- # A quasi-identifier column has a custom_tag, used to know which column
5011
- # in the data corresponds to which column in the statistical model.
4826
+ # A quasi-identifier column has a custom_tag, used to know which column in the
4827
+ # data corresponds to which column in the statistical model.
5012
4828
  class GooglePrivacyDlpV2QuasiIdentifierField
5013
4829
  include Google::Apis::Core::Hashable
5014
4830
 
5015
- # A column can be tagged with a custom tag. In this case, the user must
5016
- # indicate an auxiliary table that contains statistical information on
5017
- # the possible values of this column (below).
4831
+ # A column can be tagged with a custom tag. In this case, the user must indicate
4832
+ # an auxiliary table that contains statistical information on the possible
4833
+ # values of this column (below).
5018
4834
  # Corresponds to the JSON property `customTag`
5019
4835
  # @return [String]
5020
4836
  attr_accessor :custom_tag
@@ -5039,8 +4855,7 @@ module Google
5039
4855
  class GooglePrivacyDlpV2QuoteInfo
5040
4856
  include Google::Apis::Core::Hashable
5041
4857
 
5042
- # Message for a date time object.
5043
- # e.g. 2018-01-01, 5th August.
4858
+ # Message for a date time object. e.g. 2018-01-01, 5th August.
5044
4859
  # Corresponds to the JSON property `dateTime`
5045
4860
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateTime]
5046
4861
  attr_accessor :date_time
@@ -5080,8 +4895,8 @@ module Google
5080
4895
  end
5081
4896
  end
5082
4897
 
5083
- # A condition for determining whether a transformation should be applied to
5084
- # a field.
4898
+ # A condition for determining whether a transformation should be applied to a
4899
+ # field.
5085
4900
  class GooglePrivacyDlpV2RecordCondition
5086
4901
  include Google::Apis::Core::Hashable
5087
4902
 
@@ -5114,8 +4929,8 @@ module Google
5114
4929
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey]
5115
4930
  attr_accessor :datastore_key
5116
4931
 
5117
- # Values of identifying columns in the given row. Order of values matches
5118
- # the order of `identifying_fields` specified in the scanning request.
4932
+ # Values of identifying columns in the given row. Order of values matches the
4933
+ # order of `identifying_fields` specified in the scanning request.
5119
4934
  # Corresponds to the JSON property `idValues`
5120
4935
  # @return [Array<String>]
5121
4936
  attr_accessor :id_values
@@ -5168,8 +4983,8 @@ module Google
5168
4983
  class GooglePrivacyDlpV2RecordSuppression
5169
4984
  include Google::Apis::Core::Hashable
5170
4985
 
5171
- # A condition for determining whether a transformation should be applied to
5172
- # a field.
4986
+ # A condition for determining whether a transformation should be applied to a
4987
+ # field.
5173
4988
  # Corresponds to the JSON property `condition`
5174
4989
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition]
5175
4990
  attr_accessor :condition
@@ -5184,8 +4999,7 @@ module Google
5184
4999
  end
5185
5000
  end
5186
5001
 
5187
- # A type of transformation that is applied over structured data such as a
5188
- # table.
5002
+ # A type of transformation that is applied over structured data such as a table.
5189
5003
  class GooglePrivacyDlpV2RecordTransformations
5190
5004
  include Google::Apis::Core::Hashable
5191
5005
 
@@ -5226,8 +5040,8 @@ module Google
5226
5040
  end
5227
5041
  end
5228
5042
 
5229
- # Request to search for potentially sensitive info in an image and redact it
5230
- # by covering it with a colored rectangle.
5043
+ # Request to search for potentially sensitive info in an image and redact it by
5044
+ # covering it with a colored rectangle.
5231
5045
  class GooglePrivacyDlpV2RedactImageRequest
5232
5046
  include Google::Apis::Core::Hashable
5233
5047
 
@@ -5241,16 +5055,14 @@ module Google
5241
5055
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
5242
5056
  attr_accessor :image_redaction_configs
5243
5057
 
5244
- # Whether the response should include findings along with the redacted
5245
- # image.
5058
+ # Whether the response should include findings along with the redacted image.
5246
5059
  # Corresponds to the JSON property `includeFindings`
5247
5060
  # @return [Boolean]
5248
5061
  attr_accessor :include_findings
5249
5062
  alias_method :include_findings?, :include_findings
5250
5063
 
5251
- # Configuration description of the scanning process.
5252
- # When used with redactContent only info_types and min_likelihood are currently
5253
- # used.
5064
+ # Configuration description of the scanning process. When used with
5065
+ # redactContent only info_types and min_likelihood are currently used.
5254
5066
  # Corresponds to the JSON property `inspectConfig`
5255
5067
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5256
5068
  attr_accessor :inspect_config
@@ -5278,9 +5090,9 @@ module Google
5278
5090
  class GooglePrivacyDlpV2RedactImageResponse
5279
5091
  include Google::Apis::Core::Hashable
5280
5092
 
5281
- # If an image was being inspected and the InspectConfig's include_quote was
5282
- # set to true, then this field will include all text, if any, that was found
5283
- # in the image.
5093
+ # If an image was being inspected and the InspectConfig's include_quote was set
5094
+ # to true, then this field will include all text, if any, that was found in the
5095
+ # image.
5284
5096
  # Corresponds to the JSON property `extractedText`
5285
5097
  # @return [String]
5286
5098
  attr_accessor :extracted_text
@@ -5312,15 +5124,14 @@ module Google
5312
5124
  class GooglePrivacyDlpV2Regex
5313
5125
  include Google::Apis::Core::Hashable
5314
5126
 
5315
- # The index of the submatch to extract as findings. When not
5316
- # specified, the entire match is returned. No more than 3 may be included.
5127
+ # The index of the submatch to extract as findings. When not specified, the
5128
+ # entire match is returned. No more than 3 may be included.
5317
5129
  # Corresponds to the JSON property `groupIndexes`
5318
5130
  # @return [Array<Fixnum>]
5319
5131
  attr_accessor :group_indexes
5320
5132
 
5321
- # Pattern defining the regular expression. Its syntax
5322
- # (https://github.com/google/re2/wiki/Syntax) can be found under the
5323
- # google/re2 repository on GitHub.
5133
+ # Pattern defining the regular expression. Its syntax (https://github.com/google/
5134
+ # re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
5324
5135
  # Corresponds to the JSON property `pattern`
5325
5136
  # @return [String]
5326
5137
  attr_accessor :pattern
@@ -5340,18 +5151,16 @@ module Google
5340
5151
  class GooglePrivacyDlpV2ReidentifyContentRequest
5341
5152
  include Google::Apis::Core::Hashable
5342
5153
 
5343
- # Configuration description of the scanning process.
5344
- # When used with redactContent only info_types and min_likelihood are currently
5345
- # used.
5154
+ # Configuration description of the scanning process. When used with
5155
+ # redactContent only info_types and min_likelihood are currently used.
5346
5156
  # Corresponds to the JSON property `inspectConfig`
5347
5157
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5348
5158
  attr_accessor :inspect_config
5349
5159
 
5350
- # Template to use. Any configuration directly specified in
5351
- # `inspect_config` will override those set in the template. Singular fields
5352
- # that are set in this request will replace their corresponding fields in the
5353
- # template. Repeated fields are appended. Singular sub-messages and groups
5354
- # are recursively merged.
5160
+ # Template to use. Any configuration directly specified in `inspect_config` will
5161
+ # override those set in the template. Singular fields that are set in this
5162
+ # request will replace their corresponding fields in the template. Repeated
5163
+ # fields are appended. Singular sub-messages and groups are recursively merged.
5355
5164
  # Corresponds to the JSON property `inspectTemplateName`
5356
5165
  # @return [String]
5357
5166
  attr_accessor :inspect_template_name
@@ -5371,12 +5180,12 @@ module Google
5371
5180
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig]
5372
5181
  attr_accessor :reidentify_config
5373
5182
 
5374
- # Template to use. References an instance of `DeidentifyTemplate`.
5375
- # Any configuration directly specified in `reidentify_config` or
5376
- # `inspect_config` will override those set in the template. Singular fields
5377
- # that are set in this request will replace their corresponding fields in the
5378
- # template. Repeated fields are appended. Singular sub-messages and groups
5379
- # are recursively merged.
5183
+ # Template to use. References an instance of `DeidentifyTemplate`. Any
5184
+ # configuration directly specified in `reidentify_config` or `inspect_config`
5185
+ # will override those set in the template. The `DeidentifyTemplate` used must
5186
+ # include only reversible transformations. Singular fields that are set in this
5187
+ # request will replace their corresponding fields in the template. Repeated
5188
+ # fields are appended. Singular sub-messages and groups are recursively merged.
5380
5189
  # Corresponds to the JSON property `reidentifyTemplateName`
5381
5190
  # @return [String]
5382
5191
  attr_accessor :reidentify_template_name
@@ -5425,12 +5234,11 @@ module Google
5425
5234
  class GooglePrivacyDlpV2ReplaceValueConfig
5426
5235
  include Google::Apis::Core::Hashable
5427
5236
 
5428
- # Set of primitive values supported by the system.
5429
- # Note that for the purposes of inspection or transformation, the number
5430
- # of bytes considered to comprise a 'Value' is based on its representation
5431
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
5432
- # 123456789, the number of bytes would be counted as 9, even though an
5433
- # int64 only holds up to 8 bytes of data.
5237
+ # Set of primitive values supported by the system. Note that for the purposes of
5238
+ # inspection or transformation, the number of bytes considered to comprise a '
5239
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
5240
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
5241
+ # as 9, even though an int64 only holds up to 8 bytes of data.
5434
5242
  # Corresponds to the JSON property `newValue`
5435
5243
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
5436
5244
  attr_accessor :new_value
@@ -5469,8 +5277,8 @@ module Google
5469
5277
 
5470
5278
  # The inspectTemplate contains a configuration (set of types of sensitive data
5471
5279
  # to be detected) to be used anywhere you otherwise would normally specify
5472
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
5473
- # to learn more.
5280
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
5281
+ # learn more.
5474
5282
  # Corresponds to the JSON property `snapshotInspectTemplate`
5475
5283
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
5476
5284
  attr_accessor :snapshot_inspect_template
@@ -5495,8 +5303,8 @@ module Google
5495
5303
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics]
5496
5304
  attr_accessor :hybrid_stats
5497
5305
 
5498
- # Statistics of how many instances of each info type were found during
5499
- # inspect job.
5306
+ # Statistics of how many instances of each info type were found during inspect
5307
+ # job.
5500
5308
  # Corresponds to the JSON property `infoTypeStats`
5501
5309
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats>]
5502
5310
  attr_accessor :info_type_stats
@@ -5524,8 +5332,8 @@ module Google
5524
5332
  end
5525
5333
  end
5526
5334
 
5527
- # Configuration for a risk analysis job. See
5528
- # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
5335
+ # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
5336
+ # concepts-risk-analysis to learn more.
5529
5337
  class GooglePrivacyDlpV2RiskAnalysisJobConfig
5530
5338
  include Google::Apis::Core::Hashable
5531
5339
 
@@ -5541,10 +5349,8 @@ module Google
5541
5349
  attr_accessor :privacy_metric
5542
5350
 
5543
5351
  # Message defining the location of a BigQuery table. A table is uniquely
5544
- # identified by its project_id, dataset_id, and table_name. Within a query
5545
- # a table is often referenced with a string in the format of:
5546
- # `<project_id>:<dataset_id>.<table_id>` or
5547
- # `<project_id>.<dataset_id>.<table_id>`.
5352
+ # identified by its project_id, dataset_id, and table_name. Within a query a
5353
+ # table is often referenced with a string in the format of: `:.` or `..`.
5548
5354
  # Corresponds to the JSON property `sourceTable`
5549
5355
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
5550
5356
  attr_accessor :source_table
@@ -5581,8 +5387,7 @@ module Google
5581
5387
  end
5582
5388
 
5583
5389
  # If set, the detailed findings will be persisted to the specified
5584
- # OutputStorageConfig. Only a single instance of this action can be
5585
- # specified.
5390
+ # OutputStorageConfig. Only a single instance of this action can be specified.
5586
5391
  # Compatible with: Inspect, Risk
5587
5392
  class GooglePrivacyDlpV2SaveFindings
5588
5393
  include Google::Apis::Core::Hashable
@@ -5606,12 +5411,11 @@ module Google
5606
5411
  class GooglePrivacyDlpV2Schedule
5607
5412
  include Google::Apis::Core::Hashable
5608
5413
 
5609
- # With this option a job is started a regular periodic basis. For
5610
- # example: every day (86400 seconds).
5611
- # A scheduled start time will be skipped if the previous
5612
- # execution has not ended when its scheduled time occurs.
5613
- # This value must be set to a time duration greater than or equal
5614
- # to 1 day and can be no longer than 60 days.
5414
+ # With this option a job is started a regular periodic basis. For example: every
5415
+ # day (86400 seconds). A scheduled start time will be skipped if the previous
5416
+ # execution has not ended when its scheduled time occurs. This value must be set
5417
+ # to a time duration greater than or equal to 1 day and can be no longer than 60
5418
+ # days.
5615
5419
  # Corresponds to the JSON property `recurrencePeriodDuration`
5616
5420
  # @return [String]
5617
5421
  attr_accessor :recurrence_period_duration
@@ -5627,12 +5431,11 @@ module Google
5627
5431
  end
5628
5432
 
5629
5433
  # An auxiliary table containing statistical information on the relative
5630
- # frequency of different quasi-identifiers values. It has one or several
5631
- # quasi-identifiers columns, and one column that indicates the relative
5632
- # frequency of each quasi-identifier tuple.
5633
- # If a tuple is present in the data but not in the auxiliary table, the
5634
- # corresponding relative frequency is assumed to be zero (and thus, the
5635
- # tuple is highly reidentifiable).
5434
+ # frequency of different quasi-identifiers values. It has one or several quasi-
5435
+ # identifiers columns, and one column that indicates the relative frequency of
5436
+ # each quasi-identifier tuple. If a tuple is present in the data but not in the
5437
+ # auxiliary table, the corresponding relative frequency is assumed to be zero (
5438
+ # and thus, the tuple is highly reidentifiable).
5636
5439
  class GooglePrivacyDlpV2StatisticalTable
5637
5440
  include Google::Apis::Core::Hashable
5638
5441
 
@@ -5647,10 +5450,8 @@ module Google
5647
5450
  attr_accessor :relative_frequency
5648
5451
 
5649
5452
  # Message defining the location of a BigQuery table. A table is uniquely
5650
- # identified by its project_id, dataset_id, and table_name. Within a query
5651
- # a table is often referenced with a string in the format of:
5652
- # `<project_id>:<dataset_id>.<table_id>` or
5653
- # `<project_id>.<dataset_id>.<table_id>`.
5453
+ # identified by its project_id, dataset_id, and table_name. Within a query a
5454
+ # table is often referenced with a string in the format of: `:.` or `..`.
5654
5455
  # Corresponds to the JSON property `table`
5655
5456
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
5656
5457
  attr_accessor :table
@@ -5676,8 +5477,7 @@ module Google
5676
5477
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]
5677
5478
  attr_accessor :big_query_options
5678
5479
 
5679
- # Options defining a file or a set of files within a Google Cloud Storage
5680
- # bucket.
5480
+ # Options defining a file or a set of files within a Google Cloud Storage bucket.
5681
5481
  # Corresponds to the JSON property `cloudStorageOptions`
5682
5482
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]
5683
5483
  attr_accessor :cloud_storage_options
@@ -5687,14 +5487,14 @@ module Google
5687
5487
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions]
5688
5488
  attr_accessor :datastore_options
5689
5489
 
5690
- # Configuration to control jobs where the content being inspected is outside
5691
- # of Google Cloud Platform.
5490
+ # Configuration to control jobs where the content being inspected is outside of
5491
+ # Google Cloud Platform.
5692
5492
  # Corresponds to the JSON property `hybridOptions`
5693
5493
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions]
5694
5494
  attr_accessor :hybrid_options
5695
5495
 
5696
- # Configuration of the timespan of the items to include in scanning.
5697
- # Currently only supported when inspecting Google Cloud Storage and BigQuery.
5496
+ # Configuration of the timespan of the items to include in scanning. Currently
5497
+ # only supported when inspecting Google Cloud Storage and BigQuery.
5698
5498
  # Corresponds to the JSON property `timespanConfig`
5699
5499
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig]
5700
5500
  attr_accessor :timespan_config
@@ -5748,8 +5548,7 @@ module Google
5748
5548
  # @return [String]
5749
5549
  attr_accessor :name
5750
5550
 
5751
- # Pending versions of the stored info type. Empty if no versions are
5752
- # pending.
5551
+ # Pending versions of the stored info type. Empty if no versions are pending.
5753
5552
  # Corresponds to the JSON property `pendingVersions`
5754
5553
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion>]
5755
5554
  attr_accessor :pending_versions
@@ -5766,9 +5565,9 @@ module Google
5766
5565
  end
5767
5566
  end
5768
5567
 
5769
- # Configuration for stored infoTypes. All fields and subfield are provided
5770
- # by the user. For more information, see
5771
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5568
+ # Configuration for stored infoTypes. All fields and subfield are provided by
5569
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
5570
+ # custom-infotypes.
5772
5571
  class GooglePrivacyDlpV2StoredInfoTypeConfig
5773
5572
  include Google::Apis::Core::Hashable
5774
5573
 
@@ -5777,28 +5576,24 @@ module Google
5777
5576
  # @return [String]
5778
5577
  attr_accessor :description
5779
5578
 
5780
- # Custom information type based on a dictionary of words or phrases. This can
5781
- # be used to match sensitive information specific to the data, such as a list
5782
- # of employee IDs or job titles.
5783
- # Dictionary words are case-insensitive and all characters other than letters
5784
- # and digits in the unicode [Basic Multilingual
5579
+ # Custom information type based on a dictionary of words or phrases. This can be
5580
+ # used to match sensitive information specific to the data, such as a list of
5581
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
5582
+ # characters other than letters and digits in the unicode [Basic Multilingual
5785
5583
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
5786
- # Basic_Multilingual_Plane)
5787
- # will be replaced with whitespace when scanning for matches, so the
5788
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
5789
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
5790
- # surrounding any match must be of a different type than the adjacent
5791
- # characters within the word, so letters must be next to non-letters and
5792
- # digits next to non-digits. For example, the dictionary word "jen" will
5793
- # match the first three letters of the text "jen123" but will return no
5794
- # matches for "jennifer".
5795
- # Dictionary words containing a large number of characters that are not
5796
- # letters or digits may result in unexpected findings because such characters
5797
- # are treated as whitespace. The
5798
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
5799
- # the size limits of dictionaries. For dictionaries that do not fit within
5800
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
5801
- # `StoredInfoType` API.
5584
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
5585
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
5586
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
5587
+ # characters surrounding any match must be of a different type than the adjacent
5588
+ # characters within the word, so letters must be next to non-letters and digits
5589
+ # next to non-digits. For example, the dictionary word "jen" will match the
5590
+ # first three letters of the text "jen123" but will return no matches for "
5591
+ # jennifer". Dictionary words containing a large number of characters that are
5592
+ # not letters or digits may result in unexpected findings because such
5593
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
5594
+ # dlp/limits) page contains details about the size limits of dictionaries. For
5595
+ # dictionaries that do not fit within these constraints, consider using `
5596
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
5802
5597
  # Corresponds to the JSON property `dictionary`
5803
5598
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
5804
5599
  attr_accessor :dictionary
@@ -5809,11 +5604,10 @@ module Google
5809
5604
  attr_accessor :display_name
5810
5605
 
5811
5606
  # Configuration for a custom dictionary created from a data source of any size
5812
- # up to the maximum size defined in the
5813
- # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
5814
- # dictionary creation are stored in the specified Google Cloud Storage
5815
- # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
5816
- # that satisfy the size requirements.
5607
+ # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
5608
+ # limits) page. The artifacts of dictionary creation are stored in the specified
5609
+ # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
5610
+ # smaller dictionaries that satisfy the size requirements.
5817
5611
  # Corresponds to the JSON property `largeCustomDictionary`
5818
5612
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
5819
5613
  attr_accessor :large_custom_dictionary
@@ -5861,36 +5655,35 @@ module Google
5861
5655
  class GooglePrivacyDlpV2StoredInfoTypeVersion
5862
5656
  include Google::Apis::Core::Hashable
5863
5657
 
5864
- # Configuration for stored infoTypes. All fields and subfield are provided
5865
- # by the user. For more information, see
5866
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5658
+ # Configuration for stored infoTypes. All fields and subfield are provided by
5659
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
5660
+ # custom-infotypes.
5867
5661
  # Corresponds to the JSON property `config`
5868
5662
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
5869
5663
  attr_accessor :config
5870
5664
 
5871
- # Create timestamp of the version. Read-only, determined by the system
5872
- # when the version is created.
5665
+ # Create timestamp of the version. Read-only, determined by the system when the
5666
+ # version is created.
5873
5667
  # Corresponds to the JSON property `createTime`
5874
5668
  # @return [String]
5875
5669
  attr_accessor :create_time
5876
5670
 
5877
- # Errors that occurred when creating this storedInfoType version, or
5878
- # anomalies detected in the storedInfoType data that render it unusable. Only
5879
- # the five most recent errors will be displayed, with the most recent error
5880
- # appearing first.
5881
- # For example, some of the data for stored custom dictionaries is put in
5671
+ # Errors that occurred when creating this storedInfoType version, or anomalies
5672
+ # detected in the storedInfoType data that render it unusable. Only the five
5673
+ # most recent errors will be displayed, with the most recent error appearing
5674
+ # first. For example, some of the data for stored custom dictionaries is put in
5882
5675
  # the user's Google Cloud Storage bucket, and if this data is modified or
5883
- # deleted by the user or another system, the dictionary becomes invalid.
5884
- # If any errors occur, fix the problem indicated by the error message and
5885
- # use the UpdateStoredInfoType API method to create another version of the
5886
- # storedInfoType to continue using it, reusing the same `config` if it was
5887
- # not the source of the error.
5676
+ # deleted by the user or another system, the dictionary becomes invalid. If any
5677
+ # errors occur, fix the problem indicated by the error message and use the
5678
+ # UpdateStoredInfoType API method to create another version of the
5679
+ # storedInfoType to continue using it, reusing the same `config` if it was not
5680
+ # the source of the error.
5888
5681
  # Corresponds to the JSON property `errors`
5889
5682
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
5890
5683
  attr_accessor :errors
5891
5684
 
5892
- # Stored info type version state. Read-only, updated by the system
5893
- # during dictionary creation.
5685
+ # Stored info type version state. Read-only, updated by the system during
5686
+ # dictionary creation.
5894
5687
  # Corresponds to the JSON property `state`
5895
5688
  # @return [String]
5896
5689
  attr_accessor :state
@@ -5924,9 +5717,9 @@ module Google
5924
5717
  # @return [String]
5925
5718
  attr_accessor :create_time
5926
5719
 
5927
- # Resource name of the requested `StoredInfoType`, for example
5928
- # `organizations/433245324/storedInfoTypes/432452342` or
5929
- # `projects/project-id/storedInfoTypes/432452342`.
5720
+ # Resource name of the requested `StoredInfoType`, for example `organizations/
5721
+ # 433245324/storedInfoTypes/432452342` or `projects/project-id/storedInfoTypes/
5722
+ # 432452342`.
5930
5723
  # Corresponds to the JSON property `name`
5931
5724
  # @return [String]
5932
5725
  attr_accessor :name
@@ -5942,8 +5735,8 @@ module Google
5942
5735
  end
5943
5736
  end
5944
5737
 
5945
- # A collection that informs the user the number of times a particular
5946
- # `TransformationResultCode` and error details occurred.
5738
+ # A collection that informs the user the number of times a particular `
5739
+ # TransformationResultCode` and error details occurred.
5947
5740
  class GooglePrivacyDlpV2SummaryResult
5948
5741
  include Google::Apis::Core::Hashable
5949
5742
 
@@ -5957,8 +5750,8 @@ module Google
5957
5750
  # @return [Fixnum]
5958
5751
  attr_accessor :count
5959
5752
 
5960
- # A place for warnings or errors to show up if a transformation didn't
5961
- # work as expected.
5753
+ # A place for warnings or errors to show up if a transformation didn't work as
5754
+ # expected.
5962
5755
  # Corresponds to the JSON property `details`
5963
5756
  # @return [String]
5964
5757
  attr_accessor :details
@@ -5975,15 +5768,13 @@ module Google
5975
5768
  end
5976
5769
  end
5977
5770
 
5978
- # Message for detecting output from deidentification transformations
5979
- # such as
5980
- # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
5981
- # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
5982
- # These types of transformations are
5983
- # those that perform pseudonymization, thereby producing a "surrogate" as
5984
- # output. This should be used in conjunction with a field on the
5985
- # transformation such as `surrogate_info_type`. This CustomInfoType does
5986
- # not support the use of `detection_rules`.
5771
+ # Message for detecting output from deidentification transformations such as [`
5772
+ # CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
5773
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types
5774
+ # of transformations are those that perform pseudonymization, thereby producing
5775
+ # a "surrogate" as output. This should be used in conjunction with a field on
5776
+ # the transformation such as `surrogate_info_type`. This CustomInfoType does not
5777
+ # support the use of `detection_rules`.
5987
5778
  class GooglePrivacyDlpV2SurrogateType
5988
5779
  include Google::Apis::Core::Hashable
5989
5780
 
@@ -5996,9 +5787,9 @@ module Google
5996
5787
  end
5997
5788
  end
5998
5789
 
5999
- # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
6000
- # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
6001
- # learn more.
5790
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
5791
+ # https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn
5792
+ # more.
6002
5793
  class GooglePrivacyDlpV2Table
6003
5794
  include Google::Apis::Core::Hashable
6004
5795
 
@@ -6027,12 +5818,11 @@ module Google
6027
5818
  class GooglePrivacyDlpV2TableLocation
6028
5819
  include Google::Apis::Core::Hashable
6029
5820
 
6030
- # The zero-based index of the row where the finding is located. Only
6031
- # populated for resources that have a natural ordering, not BigQuery. In
6032
- # BigQuery, to identify the row a finding came from, populate
6033
- # BigQueryOptions.identifying_fields with your primary key column names and
6034
- # when you store the findings the value of those columns will be stored
6035
- # inside of Finding.
5821
+ # The zero-based index of the row where the finding is located. Only populated
5822
+ # for resources that have a natural ordering, not BigQuery. In BigQuery, to
5823
+ # identify the row a finding came from, populate BigQueryOptions.
5824
+ # identifying_fields with your primary key column names and when you store the
5825
+ # findings the value of those columns will be stored inside of Finding.
6036
5826
  # Corresponds to the JSON property `rowIndex`
6037
5827
  # @return [Fixnum]
6038
5828
  attr_accessor :row_index
@@ -6052,9 +5842,9 @@ module Google
6052
5842
  include Google::Apis::Core::Hashable
6053
5843
 
6054
5844
  # The columns that are the primary keys for table objects included in
6055
- # ContentItem. A copy of this cell's value will stored alongside alongside
6056
- # each finding so that the finding can be traced to the specific row it came
6057
- # from. No more than 3 may be provided.
5845
+ # ContentItem. A copy of this cell's value will stored alongside alongside each
5846
+ # finding so that the finding can be traced to the specific row it came from. No
5847
+ # more than 3 may be provided.
6058
5848
  # Corresponds to the JSON property `identifyingFields`
6059
5849
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
6060
5850
  attr_accessor :identifying_fields
@@ -6073,9 +5863,9 @@ module Google
6073
5863
  class GooglePrivacyDlpV2TaggedField
6074
5864
  include Google::Apis::Core::Hashable
6075
5865
 
6076
- # A column can be tagged with a custom tag. In this case, the user must
6077
- # indicate an auxiliary table that contains statistical information on
6078
- # the possible values of this column (below).
5866
+ # A column can be tagged with a custom tag. In this case, the user must indicate
5867
+ # an auxiliary table that contains statistical information on the possible
5868
+ # values of this column (below).
6079
5869
  # Corresponds to the JSON property `customTag`
6080
5870
  # @return [String]
6081
5871
  attr_accessor :custom_tag
@@ -6085,13 +5875,11 @@ module Google
6085
5875
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
6086
5876
  attr_accessor :field
6087
5877
 
6088
- # A generic empty message that you can re-use to avoid defining duplicated
6089
- # empty messages in your APIs. A typical example is to use it as the request
6090
- # or the response type of an API method. For instance:
6091
- # service Foo `
6092
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6093
- # `
6094
- # The JSON representation for `Empty` is empty JSON object ````.
5878
+ # A generic empty message that you can re-use to avoid defining duplicated empty
5879
+ # messages in your APIs. A typical example is to use it as the request or the
5880
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
5881
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
5882
+ # `Empty` is empty JSON object ````.
6095
5883
  # Corresponds to the JSON property `inferred`
6096
5884
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
6097
5885
  attr_accessor :inferred
@@ -6151,8 +5939,8 @@ module Google
6151
5939
  class GooglePrivacyDlpV2TimeZone
6152
5940
  include Google::Apis::Core::Hashable
6153
5941
 
6154
- # Set only if the offset can be determined. Positive for time ahead of UTC.
6155
- # E.g. For "UTC-9", this value is -540.
5942
+ # Set only if the offset can be determined. Positive for time ahead of UTC. E.g.
5943
+ # For "UTC-9", this value is -540.
6156
5944
  # Corresponds to the JSON property `offsetMinutes`
6157
5945
  # @return [Fixnum]
6158
5946
  attr_accessor :offset_minutes
@@ -6167,22 +5955,22 @@ module Google
6167
5955
  end
6168
5956
  end
6169
5957
 
6170
- # Configuration of the timespan of the items to include in scanning.
6171
- # Currently only supported when inspecting Google Cloud Storage and BigQuery.
5958
+ # Configuration of the timespan of the items to include in scanning. Currently
5959
+ # only supported when inspecting Google Cloud Storage and BigQuery.
6172
5960
  class GooglePrivacyDlpV2TimespanConfig
6173
5961
  include Google::Apis::Core::Hashable
6174
5962
 
6175
- # When the job is started by a JobTrigger we will automatically figure out
6176
- # a valid start_time to avoid scanning files that have not been modified
6177
- # since the last time the JobTrigger executed. This will be based on the
6178
- # time of the execution of the last run of the JobTrigger.
5963
+ # When the job is started by a JobTrigger we will automatically figure out a
5964
+ # valid start_time to avoid scanning files that have not been modified since the
5965
+ # last time the JobTrigger executed. This will be based on the time of the
5966
+ # execution of the last run of the JobTrigger.
6179
5967
  # Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig`
6180
5968
  # @return [Boolean]
6181
5969
  attr_accessor :enable_auto_population_of_timespan_config
6182
5970
  alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
6183
5971
 
6184
- # Exclude files or rows newer than this value.
6185
- # If set to zero, no upper time limit is applied.
5972
+ # Exclude files or rows newer than this value. If set to zero, no upper time
5973
+ # limit is applied.
6186
5974
  # Corresponds to the JSON property `endTime`
6187
5975
  # @return [String]
6188
5976
  attr_accessor :end_time
@@ -6210,21 +5998,19 @@ module Google
6210
5998
  end
6211
5999
  end
6212
6000
 
6213
- # How to handle transformation errors during de-identification. A
6214
- # transformation error occurs when the requested transformation is incompatible
6215
- # with the data. For example, trying to de-identify an IP address using a
6216
- # `DateShift` transformation would result in a transformation error, since date
6217
- # info cannot be extracted from an IP address.
6218
- # Information about any incompatible transformations, and how they were
6219
- # handled, is returned in the response as part of the
6220
- # `TransformationOverviews`.
6001
+ # How to handle transformation errors during de-identification. A transformation
6002
+ # error occurs when the requested transformation is incompatible with the data.
6003
+ # For example, trying to de-identify an IP address using a `DateShift`
6004
+ # transformation would result in a transformation error, since date info cannot
6005
+ # be extracted from an IP address. Information about any incompatible
6006
+ # transformations, and how they were handled, is returned in the response as
6007
+ # part of the `TransformationOverviews`.
6221
6008
  class GooglePrivacyDlpV2TransformationErrorHandling
6222
6009
  include Google::Apis::Core::Hashable
6223
6010
 
6224
6011
  # Skips the data without modifying it if the requested transformation would
6225
- # cause an error. For example, if a `DateShift` transformation were applied
6226
- # an an IP address, this mode would leave the IP address unchanged in the
6227
- # response.
6012
+ # cause an error. For example, if a `DateShift` transformation were applied an
6013
+ # an IP address, this mode would leave the IP address unchanged in the response.
6228
6014
  # Corresponds to the JSON property `leaveUntransformed`
6229
6015
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LeaveUntransformed]
6230
6016
  attr_accessor :leave_untransformed
@@ -6270,9 +6056,8 @@ module Google
6270
6056
  end
6271
6057
  end
6272
6058
 
6273
- # Summary of a single transformation.
6274
- # Only one of 'transformation', 'field_transformation', or 'record_suppress'
6275
- # will be set.
6059
+ # Summary of a single transformation. Only one of 'transformation', '
6060
+ # field_transformation', or 'record_suppress' will be set.
6276
6061
  class GooglePrivacyDlpV2TransformationSummary
6277
6062
  include Google::Apis::Core::Hashable
6278
6063
 
@@ -6281,9 +6066,9 @@ module Google
6281
6066
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
6282
6067
  attr_accessor :field
6283
6068
 
6284
- # The field transformation that was applied.
6285
- # If multiple field transformations are requested for a single field,
6286
- # this list will contain all of them; otherwise, only one is supplied.
6069
+ # The field transformation that was applied. If multiple field transformations
6070
+ # are requested for a single field, this list will contain all of them;
6071
+ # otherwise, only one is supplied.
6287
6072
  # Corresponds to the JSON property `fieldTransformations`
6288
6073
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>]
6289
6074
  attr_accessor :field_transformations
@@ -6330,17 +6115,16 @@ module Google
6330
6115
  end
6331
6116
  end
6332
6117
 
6333
- # Use this to have a random data crypto key generated.
6334
- # It will be discarded after the request finishes.
6118
+ # Use this to have a random data crypto key generated. It will be discarded
6119
+ # after the request finishes.
6335
6120
  class GooglePrivacyDlpV2TransientCryptoKey
6336
6121
  include Google::Apis::Core::Hashable
6337
6122
 
6338
- # Required. Name of the key.
6339
- # This is an arbitrary string used to differentiate different keys.
6340
- # A unique key is generated per name: two separate `TransientCryptoKey`
6341
- # protos share the same generated key if their names are the same.
6342
- # When the data crypto key is generated, this name is not used in any way
6343
- # (repeating the api call will result in a different key being generated).
6123
+ # Required. Name of the key. This is an arbitrary string used to differentiate
6124
+ # different keys. A unique key is generated per name: two separate `
6125
+ # TransientCryptoKey` protos share the same generated key if their names are the
6126
+ # same. When the data crypto key is generated, this name is not used in any way (
6127
+ # repeating the api call will result in a different key being generated).
6344
6128
  # Corresponds to the JSON property `name`
6345
6129
  # @return [String]
6346
6130
  attr_accessor :name
@@ -6359,8 +6143,7 @@ module Google
6359
6143
  class GooglePrivacyDlpV2Trigger
6360
6144
  include Google::Apis::Core::Hashable
6361
6145
 
6362
- # Job trigger option for hybrid jobs. Jobs must be manually created
6363
- # and finished.
6146
+ # Job trigger option for hybrid jobs. Jobs must be manually created and finished.
6364
6147
  # Corresponds to the JSON property `manual`
6365
6148
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Manual]
6366
6149
  attr_accessor :manual
@@ -6381,8 +6164,8 @@ module Google
6381
6164
  end
6382
6165
  end
6383
6166
 
6384
- # Using raw keys is prone to security risks due to accidentally
6385
- # leaking the key. Choose another type of key if possible.
6167
+ # Using raw keys is prone to security risks due to accidentally leaking the key.
6168
+ # Choose another type of key if possible.
6386
6169
  class GooglePrivacyDlpV2UnwrappedCryptoKey
6387
6170
  include Google::Apis::Core::Hashable
6388
6171
 
@@ -6406,8 +6189,8 @@ module Google
6406
6189
  class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
6407
6190
  include Google::Apis::Core::Hashable
6408
6191
 
6409
- # DeidentifyTemplates contains instructions on how to de-identify content.
6410
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6192
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
6193
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6411
6194
  # Corresponds to the JSON property `deidentifyTemplate`
6412
6195
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
6413
6196
  attr_accessor :deidentify_template
@@ -6434,8 +6217,8 @@ module Google
6434
6217
 
6435
6218
  # The inspectTemplate contains a configuration (set of types of sensitive data
6436
6219
  # to be detected) to be used anywhere you otherwise would normally specify
6437
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
6438
- # to learn more.
6220
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
6221
+ # learn more.
6439
6222
  # Corresponds to the JSON property `inspectTemplate`
6440
6223
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
6441
6224
  attr_accessor :inspect_template
@@ -6460,8 +6243,8 @@ module Google
6460
6243
  class GooglePrivacyDlpV2UpdateJobTriggerRequest
6461
6244
  include Google::Apis::Core::Hashable
6462
6245
 
6463
- # Contains a configuration to make dlp api calls on a repeating basis.
6464
- # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
6246
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
6247
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
6465
6248
  # Corresponds to the JSON property `jobTrigger`
6466
6249
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
6467
6250
  attr_accessor :job_trigger
@@ -6486,9 +6269,9 @@ module Google
6486
6269
  class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
6487
6270
  include Google::Apis::Core::Hashable
6488
6271
 
6489
- # Configuration for stored infoTypes. All fields and subfield are provided
6490
- # by the user. For more information, see
6491
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
6272
+ # Configuration for stored infoTypes. All fields and subfield are provided by
6273
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
6274
+ # custom-infotypes.
6492
6275
  # Corresponds to the JSON property `config`
6493
6276
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
6494
6277
  attr_accessor :config
@@ -6509,12 +6292,11 @@ module Google
6509
6292
  end
6510
6293
  end
6511
6294
 
6512
- # Set of primitive values supported by the system.
6513
- # Note that for the purposes of inspection or transformation, the number
6514
- # of bytes considered to comprise a 'Value' is based on its representation
6515
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
6516
- # 123456789, the number of bytes would be counted as 9, even though an
6517
- # int64 only holds up to 8 bytes of data.
6295
+ # Set of primitive values supported by the system. Note that for the purposes of
6296
+ # inspection or transformation, the number of bytes considered to comprise a '
6297
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
6298
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
6299
+ # as 9, even though an int64 only holds up to 8 bytes of data.
6518
6300
  class GooglePrivacyDlpV2Value
6519
6301
  include Google::Apis::Core::Hashable
6520
6302
 
@@ -6526,12 +6308,12 @@ module Google
6526
6308
 
6527
6309
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6528
6310
  # and time zone are either specified elsewhere or are not significant. The date
6529
- # is relative to the Proleptic Gregorian Calendar. This can represent:
6530
- # * A full date, with non-zero year, month and day values
6531
- # * A month and day value, with a zero year, e.g. an anniversary
6532
- # * A year on its own, with zero month and day values
6533
- # * A year and month value, with a zero day, e.g. a credit card expiration date
6534
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
6311
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6312
+ # date, with non-zero year, month and day values * A month and day value, with a
6313
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
6314
+ # values * A year and month value, with a zero day, e.g. a credit card
6315
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6316
+ # Timestamp`.
6535
6317
  # Corresponds to the JSON property `dateValue`
6536
6318
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
6537
6319
  attr_accessor :date_value
@@ -6556,8 +6338,8 @@ module Google
6556
6338
  # @return [String]
6557
6339
  attr_accessor :string_value
6558
6340
 
6559
- # Represents a time of day. The date and time zone are either not significant
6560
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
6341
+ # Represents a time of day. The date and time zone are either not significant or
6342
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6561
6343
  # types are google.type.Date and `google.protobuf.Timestamp`.
6562
6344
  # Corresponds to the JSON property `timeValue`
6563
6345
  # @return [Google::Apis::DlpV2::GoogleTypeTimeOfDay]
@@ -6594,12 +6376,11 @@ module Google
6594
6376
  # @return [Fixnum]
6595
6377
  attr_accessor :count
6596
6378
 
6597
- # Set of primitive values supported by the system.
6598
- # Note that for the purposes of inspection or transformation, the number
6599
- # of bytes considered to comprise a 'Value' is based on its representation
6600
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
6601
- # 123456789, the number of bytes would be counted as 9, even though an
6602
- # int64 only holds up to 8 bytes of data.
6379
+ # Set of primitive values supported by the system. Note that for the purposes of
6380
+ # inspection or transformation, the number of bytes considered to comprise a '
6381
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
6382
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
6383
+ # as 9, even though an int64 only holds up to 8 bytes of data.
6603
6384
  # Corresponds to the JSON property `value`
6604
6385
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
6605
6386
  attr_accessor :value
@@ -6619,9 +6400,9 @@ module Google
6619
6400
  class GooglePrivacyDlpV2WordList
6620
6401
  include Google::Apis::Core::Hashable
6621
6402
 
6622
- # Words or phrases defining the dictionary. The dictionary must contain
6623
- # at least one phrase and every phrase must contain at least 2 characters
6624
- # that are letters or digits. [required]
6403
+ # Words or phrases defining the dictionary. The dictionary must contain at least
6404
+ # one phrase and every phrase must contain at least 2 characters that are
6405
+ # letters or digits. [required]
6625
6406
  # Corresponds to the JSON property `words`
6626
6407
  # @return [Array<String>]
6627
6408
  attr_accessor :words
@@ -6636,13 +6417,11 @@ module Google
6636
6417
  end
6637
6418
  end
6638
6419
 
6639
- # A generic empty message that you can re-use to avoid defining duplicated
6640
- # empty messages in your APIs. A typical example is to use it as the request
6641
- # or the response type of an API method. For instance:
6642
- # service Foo `
6643
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6644
- # `
6645
- # The JSON representation for `Empty` is empty JSON object ````.
6420
+ # A generic empty message that you can re-use to avoid defining duplicated empty
6421
+ # messages in your APIs. A typical example is to use it as the request or the
6422
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
6423
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
6424
+ # `Empty` is empty JSON object ````.
6646
6425
  class GoogleProtobufEmpty
6647
6426
  include Google::Apis::Core::Hashable
6648
6427
 
@@ -6655,12 +6434,12 @@ module Google
6655
6434
  end
6656
6435
  end
6657
6436
 
6658
- # The `Status` type defines a logical error model that is suitable for
6659
- # different programming environments, including REST APIs and RPC APIs. It is
6660
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
6661
- # three pieces of data: error code, error message, and error details.
6662
- # You can find out more about this error model and how to work with it in the
6663
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
6437
+ # The `Status` type defines a logical error model that is suitable for different
6438
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6439
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6440
+ # data: error code, error message, and error details. You can find out more
6441
+ # about this error model and how to work with it in the [API Design Guide](https:
6442
+ # //cloud.google.com/apis/design/errors).
6664
6443
  class GoogleRpcStatus
6665
6444
  include Google::Apis::Core::Hashable
6666
6445
 
@@ -6669,15 +6448,15 @@ module Google
6669
6448
  # @return [Fixnum]
6670
6449
  attr_accessor :code
6671
6450
 
6672
- # A list of messages that carry the error details. There is a common set of
6451
+ # A list of messages that carry the error details. There is a common set of
6673
6452
  # message types for APIs to use.
6674
6453
  # Corresponds to the JSON property `details`
6675
6454
  # @return [Array<Hash<String,Object>>]
6676
6455
  attr_accessor :details
6677
6456
 
6678
- # A developer-facing error message, which should be in English. Any
6679
- # user-facing error message should be localized and sent in the
6680
- # google.rpc.Status.details field, or localized by the client.
6457
+ # A developer-facing error message, which should be in English. Any user-facing
6458
+ # error message should be localized and sent in the google.rpc.Status.details
6459
+ # field, or localized by the client.
6681
6460
  # Corresponds to the JSON property `message`
6682
6461
  # @return [String]
6683
6462
  attr_accessor :message
@@ -6696,30 +6475,29 @@ module Google
6696
6475
 
6697
6476
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6698
6477
  # and time zone are either specified elsewhere or are not significant. The date
6699
- # is relative to the Proleptic Gregorian Calendar. This can represent:
6700
- # * A full date, with non-zero year, month and day values
6701
- # * A month and day value, with a zero year, e.g. an anniversary
6702
- # * A year on its own, with zero month and day values
6703
- # * A year and month value, with a zero day, e.g. a credit card expiration date
6704
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
6478
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6479
+ # date, with non-zero year, month and day values * A month and day value, with a
6480
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
6481
+ # values * A year and month value, with a zero day, e.g. a credit card
6482
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6483
+ # Timestamp`.
6705
6484
  class GoogleTypeDate
6706
6485
  include Google::Apis::Core::Hashable
6707
6486
 
6708
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
6709
- # if specifying a year by itself or a year and month where the day is not
6487
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
6488
+ # specifying a year by itself or a year and month where the day is not
6710
6489
  # significant.
6711
6490
  # Corresponds to the JSON property `day`
6712
6491
  # @return [Fixnum]
6713
6492
  attr_accessor :day
6714
6493
 
6715
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
6716
- # month and day.
6494
+ # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
6495
+ # and day.
6717
6496
  # Corresponds to the JSON property `month`
6718
6497
  # @return [Fixnum]
6719
6498
  attr_accessor :month
6720
6499
 
6721
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
6722
- # a year.
6500
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
6723
6501
  # Corresponds to the JSON property `year`
6724
6502
  # @return [Fixnum]
6725
6503
  attr_accessor :year
@@ -6736,14 +6514,14 @@ module Google
6736
6514
  end
6737
6515
  end
6738
6516
 
6739
- # Represents a time of day. The date and time zone are either not significant
6740
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
6517
+ # Represents a time of day. The date and time zone are either not significant or
6518
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6741
6519
  # types are google.type.Date and `google.protobuf.Timestamp`.
6742
6520
  class GoogleTypeTimeOfDay
6743
6521
  include Google::Apis::Core::Hashable
6744
6522
 
6745
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6746
- # to allow the value "24:00:00" for scenarios like business closing time.
6523
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
6524
+ # allow the value "24:00:00" for scenarios like business closing time.
6747
6525
  # Corresponds to the JSON property `hours`
6748
6526
  # @return [Fixnum]
6749
6527
  attr_accessor :hours