google-api-client 0.43.0 → 0.45.1

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 (863) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +462 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  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 +17 -6
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  23. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  26. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  27. data/generated/google/apis/admin_directory_v1.rb +6 -8
  28. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  29. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  30. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  31. data/generated/google/apis/admin_reports_v1.rb +6 -5
  32. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  33. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  34. data/generated/google/apis/admob_v1.rb +4 -1
  35. data/generated/google/apis/admob_v1/classes.rb +2 -2
  36. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  37. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  40. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  41. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  43. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  44. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  45. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  48. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  49. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  50. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  51. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  53. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  54. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  55. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  56. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  57. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  58. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  59. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  60. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  61. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  62. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  63. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  64. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  65. data/generated/google/apis/apigee_v1.rb +6 -7
  66. data/generated/google/apis/apigee_v1/classes.rb +432 -82
  67. data/generated/google/apis/apigee_v1/representations.rb +139 -1
  68. data/generated/google/apis/apigee_v1/service.rb +158 -41
  69. data/generated/google/apis/appengine_v1.rb +1 -1
  70. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  71. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  72. data/generated/google/apis/appengine_v1/service.rb +38 -47
  73. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  74. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  75. data/generated/google/apis/appengine_v1beta.rb +1 -1
  76. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  77. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  78. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  79. data/generated/google/apis/appsmarket_v2.rb +1 -1
  80. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  81. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  82. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  83. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  84. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  85. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  86. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  87. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  88. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +403 -553
  91. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  119. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  128. data/generated/google/apis/calendar_v3.rb +1 -1
  129. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  130. data/generated/google/apis/chat_v1.rb +1 -1
  131. data/generated/google/apis/chat_v1/classes.rb +165 -116
  132. data/generated/google/apis/chat_v1/representations.rb +35 -0
  133. data/generated/google/apis/chat_v1/service.rb +30 -42
  134. data/generated/google/apis/civicinfo_v2.rb +1 -1
  135. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  136. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  137. data/generated/google/apis/classroom_v1.rb +7 -1
  138. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  139. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  140. data/generated/google/apis/classroom_v1/service.rb +240 -0
  141. data/generated/google/apis/cloudasset_v1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
  143. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  144. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  145. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  147. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  148. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  149. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  150. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  151. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  152. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  153. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  154. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  156. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  157. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  158. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  159. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  160. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  161. data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
  162. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  163. data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
  164. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  165. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  166. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  167. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  168. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  169. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  170. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  171. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  172. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  173. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  174. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  175. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  176. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  177. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  178. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  179. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  180. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  181. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  182. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  183. data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
  184. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  185. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  186. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  187. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
  188. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  189. data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
  190. data/generated/google/apis/cloudiot_v1.rb +1 -1
  191. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  192. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  193. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  194. data/generated/google/apis/cloudkms_v1.rb +1 -1
  195. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  196. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  197. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  198. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  199. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  200. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  201. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  203. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  204. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  205. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  206. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  207. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  209. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  210. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  211. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  212. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  213. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  214. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  215. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  216. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  217. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  218. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  220. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  221. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  222. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  223. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  224. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  225. data/generated/google/apis/cloudshell_v1.rb +1 -1
  226. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  227. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  228. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  229. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  230. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  231. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  232. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  234. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  235. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  236. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  237. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  238. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  239. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  240. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  241. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  242. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  243. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  244. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  246. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  247. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  248. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  249. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  250. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  251. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  252. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  253. data/generated/google/apis/composer_v1.rb +1 -1
  254. data/generated/google/apis/composer_v1/classes.rb +190 -242
  255. data/generated/google/apis/composer_v1/service.rb +79 -150
  256. data/generated/google/apis/composer_v1beta1.rb +1 -1
  257. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  258. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  259. data/generated/google/apis/compute_alpha.rb +1 -1
  260. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  261. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  262. data/generated/google/apis/compute_alpha/service.rb +695 -692
  263. data/generated/google/apis/compute_beta.rb +1 -1
  264. data/generated/google/apis/compute_beta/classes.rb +570 -70
  265. data/generated/google/apis/compute_beta/representations.rb +112 -1
  266. data/generated/google/apis/compute_beta/service.rb +608 -605
  267. data/generated/google/apis/compute_v1.rb +1 -1
  268. data/generated/google/apis/compute_v1/classes.rb +977 -85
  269. data/generated/google/apis/compute_v1/representations.rb +372 -0
  270. data/generated/google/apis/compute_v1/service.rb +747 -15
  271. data/generated/google/apis/container_v1.rb +1 -1
  272. data/generated/google/apis/container_v1/classes.rb +970 -965
  273. data/generated/google/apis/container_v1/representations.rb +60 -0
  274. data/generated/google/apis/container_v1/service.rb +435 -502
  275. data/generated/google/apis/container_v1beta1.rb +1 -1
  276. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  277. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  278. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  279. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  280. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  281. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  282. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  283. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  284. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  285. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  286. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  287. data/generated/google/apis/content_v2.rb +1 -1
  288. data/generated/google/apis/content_v2/classes.rb +5 -2
  289. data/generated/google/apis/content_v2_1.rb +1 -1
  290. data/generated/google/apis/content_v2_1/classes.rb +107 -5
  291. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  292. data/generated/google/apis/content_v2_1/service.rb +54 -3
  293. data/generated/google/apis/customsearch_v1.rb +1 -1
  294. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  295. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  296. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
  297. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  298. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  299. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  300. data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
  301. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  302. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  303. data/generated/google/apis/datafusion_v1.rb +5 -8
  304. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  305. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  306. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  307. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  308. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  309. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  310. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  311. data/generated/google/apis/dataproc_v1.rb +1 -1
  312. data/generated/google/apis/dataproc_v1/classes.rb +60 -14
  313. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  314. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  315. data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
  316. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  317. data/generated/google/apis/datastore_v1.rb +1 -1
  318. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  319. data/generated/google/apis/datastore_v1/service.rb +52 -63
  320. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  321. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  322. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  323. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  324. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  325. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  326. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  327. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
  335. data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
  336. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  337. data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
  338. data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
  339. data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
  340. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  341. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
  342. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
  343. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  344. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  345. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  346. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  347. data/generated/google/apis/displayvideo_v1.rb +1 -1
  348. data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
  349. data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
  350. data/generated/google/apis/displayvideo_v1/service.rb +47 -35
  351. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  352. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  353. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  354. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  355. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  356. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  357. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  358. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  359. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  360. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  361. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  362. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  363. data/generated/google/apis/dlp_v2.rb +1 -1
  364. data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
  365. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  366. data/generated/google/apis/dlp_v2/service.rb +962 -905
  367. data/generated/google/apis/dns_v1.rb +1 -1
  368. data/generated/google/apis/dns_v1/classes.rb +175 -198
  369. data/generated/google/apis/dns_v1/service.rb +82 -97
  370. data/generated/google/apis/dns_v1beta2.rb +1 -1
  371. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  372. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  373. data/generated/google/apis/docs_v1.rb +1 -1
  374. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  375. data/generated/google/apis/docs_v1/service.rb +17 -22
  376. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  377. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  378. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  379. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  380. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  381. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
  382. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  383. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  384. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
  385. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  386. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  387. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  388. data/generated/google/apis/drive_v2.rb +1 -1
  389. data/generated/google/apis/drive_v2/classes.rb +14 -6
  390. data/generated/google/apis/drive_v2/representations.rb +1 -0
  391. data/generated/google/apis/drive_v2/service.rb +79 -15
  392. data/generated/google/apis/drive_v3.rb +1 -1
  393. data/generated/google/apis/drive_v3/classes.rb +14 -6
  394. data/generated/google/apis/drive_v3/representations.rb +1 -0
  395. data/generated/google/apis/drive_v3/service.rb +59 -11
  396. data/generated/google/apis/file_v1.rb +1 -1
  397. data/generated/google/apis/file_v1/classes.rb +154 -173
  398. data/generated/google/apis/file_v1/service.rb +43 -52
  399. data/generated/google/apis/file_v1beta1.rb +1 -1
  400. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  401. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  402. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  403. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  404. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  405. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  406. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  407. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  409. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  411. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  412. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  413. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  414. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  415. data/generated/google/apis/firebaserules_v1.rb +1 -1
  416. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  417. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  418. data/generated/google/apis/firestore_v1.rb +1 -1
  419. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  420. data/generated/google/apis/firestore_v1/service.rb +165 -201
  421. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  422. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  423. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  424. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  426. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  427. data/generated/google/apis/fitness_v1.rb +85 -0
  428. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  429. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  430. data/generated/google/apis/fitness_v1/service.rb +626 -0
  431. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  432. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  433. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  434. data/generated/google/apis/games_management_v1management.rb +2 -3
  435. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  436. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  437. data/generated/google/apis/games_v1.rb +2 -3
  438. data/generated/google/apis/games_v1/classes.rb +76 -83
  439. data/generated/google/apis/games_v1/representations.rb +2 -0
  440. data/generated/google/apis/games_v1/service.rb +84 -90
  441. data/generated/google/apis/gameservices_v1.rb +1 -1
  442. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  443. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  444. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  445. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  446. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  447. data/generated/google/apis/genomics_v1.rb +1 -1
  448. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  449. data/generated/google/apis/genomics_v1/service.rb +28 -43
  450. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  451. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  452. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  453. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  454. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  455. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  456. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  457. data/generated/google/apis/gmail_v1.rb +1 -1
  458. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  459. data/generated/google/apis/gmail_v1/service.rb +5 -4
  460. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  461. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  462. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  463. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  464. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  465. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  466. data/generated/google/apis/healthcare_v1.rb +1 -1
  467. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  468. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  469. data/generated/google/apis/healthcare_v1/service.rb +840 -854
  470. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
  472. data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
  473. data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
  474. data/generated/google/apis/homegraph_v1.rb +4 -1
  475. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  476. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  477. data/generated/google/apis/iam_v1.rb +5 -2
  478. data/generated/google/apis/iam_v1/classes.rb +395 -592
  479. data/generated/google/apis/iam_v1/representations.rb +1 -0
  480. data/generated/google/apis/iam_v1/service.rb +431 -556
  481. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  482. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  483. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  484. data/generated/google/apis/iap_v1.rb +1 -1
  485. data/generated/google/apis/iap_v1/classes.rb +253 -355
  486. data/generated/google/apis/iap_v1/representations.rb +1 -0
  487. data/generated/google/apis/iap_v1/service.rb +61 -71
  488. data/generated/google/apis/iap_v1beta1.rb +1 -1
  489. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  490. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/jobs_v2.rb +1 -1
  495. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  496. data/generated/google/apis/jobs_v2/service.rb +85 -126
  497. data/generated/google/apis/jobs_v3.rb +1 -1
  498. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  499. data/generated/google/apis/jobs_v3/service.rb +101 -139
  500. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  501. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  502. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  503. data/generated/google/apis/kgsearch_v1.rb +1 -1
  504. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  505. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  506. data/generated/google/apis/licensing_v1.rb +4 -3
  507. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  508. data/generated/google/apis/licensing_v1/service.rb +55 -85
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +230 -227
  518. data/generated/google/apis/logging_v2/representations.rb +47 -0
  519. data/generated/google/apis/logging_v2/service.rb +2056 -673
  520. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  522. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  523. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  525. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  526. data/generated/google/apis/manufacturers_v1.rb +1 -1
  527. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  528. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  529. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  530. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  531. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  532. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  533. data/generated/google/apis/ml_v1.rb +1 -1
  534. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  535. data/generated/google/apis/ml_v1/representations.rb +65 -0
  536. data/generated/google/apis/ml_v1/service.rb +194 -253
  537. data/generated/google/apis/monitoring_v1.rb +1 -1
  538. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  539. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  540. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  541. data/generated/google/apis/monitoring_v3.rb +1 -1
  542. data/generated/google/apis/monitoring_v3/classes.rb +232 -328
  543. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  544. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  545. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  546. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  547. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  548. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  549. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  550. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  551. data/generated/google/apis/osconfig_v1.rb +1 -1
  552. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  553. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  554. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  555. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  556. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  557. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  558. data/generated/google/apis/oslogin_v1.rb +1 -1
  559. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  560. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  561. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  562. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  563. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  564. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  565. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  566. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  567. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  568. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  569. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  570. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  571. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  572. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  573. data/generated/google/apis/people_v1.rb +1 -1
  574. data/generated/google/apis/people_v1/classes.rb +121 -12
  575. data/generated/google/apis/people_v1/representations.rb +41 -0
  576. data/generated/google/apis/people_v1/service.rb +47 -45
  577. data/generated/google/apis/playablelocations_v3.rb +1 -1
  578. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  579. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  580. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  581. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  582. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  583. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  584. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  585. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  586. data/generated/google/apis/pubsub_v1.rb +1 -1
  587. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  588. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  589. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  590. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  591. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  592. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  593. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  594. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  595. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  596. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  597. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  598. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  599. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  600. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
  601. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  602. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  603. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  604. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  605. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  606. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  607. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  608. data/generated/google/apis/redis_v1.rb +1 -1
  609. data/generated/google/apis/redis_v1/classes.rb +91 -513
  610. data/generated/google/apis/redis_v1/representations.rb +0 -139
  611. data/generated/google/apis/redis_v1/service.rb +93 -110
  612. data/generated/google/apis/redis_v1beta1.rb +1 -1
  613. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  614. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  615. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  616. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  617. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  618. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  619. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  620. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  621. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  622. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  623. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  624. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  625. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  626. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  627. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  628. data/generated/google/apis/reseller_v1.rb +2 -2
  629. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  630. data/generated/google/apis/reseller_v1/service.rb +122 -173
  631. data/generated/google/apis/run_v1.rb +1 -1
  632. data/generated/google/apis/run_v1/classes.rb +12 -135
  633. data/generated/google/apis/run_v1/representations.rb +1 -62
  634. data/generated/google/apis/run_v1/service.rb +0 -342
  635. data/generated/google/apis/run_v1alpha1.rb +1 -1
  636. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  637. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  638. data/generated/google/apis/run_v1beta1.rb +1 -1
  639. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  640. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  641. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  642. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  643. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  644. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  645. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  646. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  647. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  648. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  649. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  650. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  651. data/generated/google/apis/script_v1.rb +1 -1
  652. data/generated/google/apis/script_v1/classes.rb +88 -111
  653. data/generated/google/apis/script_v1/service.rb +63 -69
  654. data/generated/google/apis/searchconsole_v1.rb +7 -1
  655. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  656. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  657. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  658. data/generated/google/apis/secretmanager_v1.rb +1 -1
  659. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  660. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  661. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  662. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  663. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  664. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  665. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  666. data/generated/google/apis/securitycenter_v1.rb +1 -1
  667. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  668. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  669. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  670. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  671. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  672. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  673. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  674. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  675. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  676. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  677. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
  678. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  679. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  680. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  681. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  682. data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
  683. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  684. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  685. data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
  686. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  687. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  688. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  689. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  691. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  692. data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
  693. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  694. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  695. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  696. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
  697. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  698. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  699. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  700. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  701. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  702. data/generated/google/apis/serviceusage_v1.rb +1 -1
  703. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  704. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  705. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  706. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  707. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  708. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  709. data/generated/google/apis/sheets_v4.rb +1 -1
  710. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  711. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  712. data/generated/google/apis/sheets_v4/service.rb +113 -149
  713. data/generated/google/apis/site_verification_v1.rb +1 -1
  714. data/generated/google/apis/slides_v1.rb +1 -1
  715. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  716. data/generated/google/apis/slides_v1/service.rb +23 -30
  717. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  718. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  719. data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
  720. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  721. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  722. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  723. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  724. data/generated/google/apis/spanner_v1.rb +1 -1
  725. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  726. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  727. data/generated/google/apis/spanner_v1/service.rb +443 -618
  728. data/generated/google/apis/speech_v1.rb +1 -1
  729. data/generated/google/apis/speech_v1/classes.rb +174 -220
  730. data/generated/google/apis/speech_v1/service.rb +27 -32
  731. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  732. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  733. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  734. data/generated/google/apis/speech_v2beta1.rb +1 -1
  735. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  736. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  737. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  738. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
  739. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
  740. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  741. data/generated/google/apis/storage_v1.rb +1 -1
  742. data/generated/google/apis/storage_v1/classes.rb +8 -7
  743. data/generated/google/apis/storage_v1/representations.rb +2 -2
  744. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  745. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  746. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  747. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  748. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  749. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  750. data/generated/google/apis/sts_v1.rb +32 -0
  751. data/generated/google/apis/sts_v1/classes.rb +120 -0
  752. data/generated/google/apis/sts_v1/representations.rb +59 -0
  753. data/generated/google/apis/sts_v1/service.rb +90 -0
  754. data/generated/google/apis/sts_v1beta.rb +32 -0
  755. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  756. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  757. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  758. data/generated/google/apis/tagmanager_v1.rb +1 -1
  759. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  760. data/generated/google/apis/tagmanager_v2.rb +1 -1
  761. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  762. data/generated/google/apis/tasks_v1.rb +1 -1
  763. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  764. data/generated/google/apis/tasks_v1/service.rb +19 -19
  765. data/generated/google/apis/testing_v1.rb +1 -1
  766. data/generated/google/apis/testing_v1/classes.rb +317 -382
  767. data/generated/google/apis/testing_v1/representations.rb +2 -0
  768. data/generated/google/apis/testing_v1/service.rb +22 -28
  769. data/generated/google/apis/texttospeech_v1.rb +1 -1
  770. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  771. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  772. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  773. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  774. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  775. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  776. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  777. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  778. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  779. data/generated/google/apis/tpu_v1.rb +1 -1
  780. data/generated/google/apis/tpu_v1/classes.rb +54 -0
  781. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  782. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  783. data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
  784. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  785. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  786. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  787. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  788. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  789. data/generated/google/apis/translate_v3.rb +1 -1
  790. data/generated/google/apis/translate_v3/classes.rb +148 -175
  791. data/generated/google/apis/translate_v3/service.rb +122 -151
  792. data/generated/google/apis/translate_v3beta1.rb +1 -1
  793. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  794. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  795. data/generated/google/apis/vault_v1.rb +1 -1
  796. data/generated/google/apis/vault_v1/classes.rb +80 -103
  797. data/generated/google/apis/vault_v1/service.rb +31 -37
  798. data/generated/google/apis/vectortile_v1.rb +1 -1
  799. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  800. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  801. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  802. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  803. data/generated/google/apis/videointelligence_v1.rb +1 -1
  804. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  805. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  806. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  807. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  808. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  809. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  810. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  811. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  812. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  814. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  815. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  817. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  818. data/generated/google/apis/vision_v1.rb +1 -1
  819. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  820. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  821. data/generated/google/apis/webfonts_v1.rb +2 -3
  822. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  823. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  824. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  825. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  826. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  827. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  828. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  829. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  830. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  831. data/generated/google/apis/workflows_v1beta.rb +34 -0
  832. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  833. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  834. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  835. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  836. data/generated/google/apis/youtube_v3.rb +1 -1
  837. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  838. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  839. data/generated/google/apis/youtube_v3/service.rb +0 -117
  840. data/google-api-client.gemspec +2 -1
  841. data/lib/google/apis/version.rb +1 -1
  842. metadata +106 -40
  843. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  844. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  845. data/generated/google/apis/dns_v2beta1.rb +0 -43
  846. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  847. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  848. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  849. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  850. data/generated/google/apis/oauth2_v2.rb +0 -40
  851. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  852. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  853. data/generated/google/apis/plus_v1.rb +0 -43
  854. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  855. data/generated/google/apis/plus_v1/representations.rb +0 -907
  856. data/generated/google/apis/plus_v1/service.rb +0 -451
  857. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  858. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  859. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  860. data/generated/google/apis/storage_v1beta2.rb +0 -40
  861. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  862. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  863. 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 = '20200726'
30
+ REVISION = '20200919'
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]
@@ -151,16 +144,19 @@ module Google
151
144
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult]
152
145
  attr_accessor :numerical_stats_result
153
146
 
147
+ # Risk analysis options.
148
+ # Corresponds to the JSON property `requestedOptions`
149
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedRiskAnalysisOptions]
150
+ attr_accessor :requested_options
151
+
154
152
  # Privacy metric to compute for reidentification risk analysis.
155
153
  # Corresponds to the JSON property `requestedPrivacyMetric`
156
154
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric]
157
155
  attr_accessor :requested_privacy_metric
158
156
 
159
157
  # 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>`.
158
+ # identified by its project_id, dataset_id, and table_name. Within a query a
159
+ # table is often referenced with a string in the format of: `:.` or `..`.
164
160
  # Corresponds to the JSON property `requestedSourceTable`
165
161
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
166
162
  attr_accessor :requested_source_table
@@ -177,18 +173,18 @@ module Google
177
173
  @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result)
178
174
  @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result)
179
175
  @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result)
176
+ @requested_options = args[:requested_options] if args.key?(:requested_options)
180
177
  @requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric)
181
178
  @requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table)
182
179
  end
183
180
  end
184
181
 
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).
182
+ # An auxiliary table contains statistical information on the relative frequency
183
+ # of different quasi-identifiers values. It has one or several quasi-identifiers
184
+ # columns, and one column that indicates the relative frequency of each quasi-
185
+ # identifier tuple. If a tuple is present in the data but not in the auxiliary
186
+ # table, the corresponding relative frequency is assumed to be zero (and thus,
187
+ # the tuple is highly reidentifiable).
192
188
  class GooglePrivacyDlpV2AuxiliaryTable
193
189
  include Google::Apis::Core::Hashable
194
190
 
@@ -203,10 +199,8 @@ module Google
203
199
  attr_accessor :relative_frequency
204
200
 
205
201
  # 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>`.
202
+ # identified by its project_id, dataset_id, and table_name. Within a query a
203
+ # table is often referenced with a string in the format of: `:.` or `..`.
210
204
  # Corresponds to the JSON property `table`
211
205
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
212
206
  attr_accessor :table
@@ -233,10 +227,8 @@ module Google
233
227
  attr_accessor :field
234
228
 
235
229
  # 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>`.
230
+ # identified by its project_id, dataset_id, and table_name. Within a query a
231
+ # table is often referenced with a string in the format of: `:.` or `..`.
240
232
  # Corresponds to the JSON property `table`
241
233
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
242
234
  attr_accessor :table
@@ -257,19 +249,16 @@ module Google
257
249
  include Google::Apis::Core::Hashable
258
250
 
259
251
  # 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`.
252
+ # nondeterministic, cannot be queried, and may be null for inspection jobs. To
253
+ # locate findings within a table, specify `inspect_job.storage_config.
254
+ # big_query_options.identifying_fields` in `CreateDlpJobRequest`.
264
255
  # Corresponds to the JSON property `rowNumber`
265
256
  # @return [Fixnum]
266
257
  attr_accessor :row_number
267
258
 
268
259
  # 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>`.
260
+ # identified by its project_id, dataset_id, and table_name. Within a query a
261
+ # table is often referenced with a string in the format of: `:.` or `..`.
273
262
  # Corresponds to the JSON property `tableReference`
274
263
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
275
264
  attr_accessor :table_reference
@@ -295,11 +284,11 @@ module Google
295
284
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
296
285
  attr_accessor :excluded_fields
297
286
 
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.
287
+ # Table fields that may uniquely identify a row within the table. When `actions.
288
+ # saveFindings.outputConfig.table` is specified, the values of columns specified
289
+ # here are available in the output table under `location.content_locations.
290
+ # record_location.record_key.id_values`. Nested fields such as `person.birthdate.
291
+ # year` are allowed.
303
292
  # Corresponds to the JSON property `identifyingFields`
304
293
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
305
294
  attr_accessor :identifying_fields
@@ -327,10 +316,8 @@ module Google
327
316
  attr_accessor :sample_method
328
317
 
329
318
  # 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>`.
319
+ # identified by its project_id, dataset_id, and table_name. Within a query a
320
+ # table is often referenced with a string in the format of: `:.` or `..`.
334
321
  # Corresponds to the JSON property `tableReference`
335
322
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
336
323
  attr_accessor :table_reference
@@ -351,10 +338,8 @@ module Google
351
338
  end
352
339
 
353
340
  # 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>`.
341
+ # identified by its project_id, dataset_id, and table_name. Within a query a
342
+ # table is often referenced with a string in the format of: `:.` or `..`.
358
343
  class GooglePrivacyDlpV2BigQueryTable
359
344
  include Google::Apis::Core::Hashable
360
345
 
@@ -363,8 +348,8 @@ module Google
363
348
  # @return [String]
364
349
  attr_accessor :dataset_id
365
350
 
366
- # The Google Cloud Platform project ID of the project containing the table.
367
- # If omitted, project ID is inferred from the API call.
351
+ # The Google Cloud Platform project ID of the project containing the table. If
352
+ # omitted, project ID is inferred from the API call.
368
353
  # Corresponds to the JSON property `projectId`
369
354
  # @return [String]
370
355
  attr_accessor :project_id
@@ -427,32 +412,29 @@ module Google
427
412
  class GooglePrivacyDlpV2Bucket
428
413
  include Google::Apis::Core::Hashable
429
414
 
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.
415
+ # Set of primitive values supported by the system. Note that for the purposes of
416
+ # inspection or transformation, the number of bytes considered to comprise a '
417
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
418
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
419
+ # as 9, even though an int64 only holds up to 8 bytes of data.
436
420
  # Corresponds to the JSON property `max`
437
421
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
438
422
  attr_accessor :max
439
423
 
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.
424
+ # Set of primitive values supported by the system. Note that for the purposes of
425
+ # inspection or transformation, the number of bytes considered to comprise a '
426
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
427
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
428
+ # as 9, even though an int64 only holds up to 8 bytes of data.
446
429
  # Corresponds to the JSON property `min`
447
430
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
448
431
  attr_accessor :min
449
432
 
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.
433
+ # Set of primitive values supported by the system. Note that for the purposes of
434
+ # inspection or transformation, the number of bytes considered to comprise a '
435
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
436
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
437
+ # as 9, even though an int64 only holds up to 8 bytes of data.
456
438
  # Corresponds to the JSON property `replacementValue`
457
439
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
458
440
  attr_accessor :replacement_value
@@ -471,12 +453,10 @@ module Google
471
453
 
472
454
  # Generalization function that buckets values based on ranges. The ranges and
473
455
  # 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.
456
+ # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
457
+ # type: number, long, string, timestamp. If the bound `Value` type differs from
458
+ # the type of data being transformed, we will first attempt converting the type
459
+ # of the data to be transformed to match the type of the bound before comparing.
480
460
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
481
461
  class GooglePrivacyDlpV2BucketingConfig
482
462
  include Google::Apis::Core::Hashable
@@ -535,8 +515,8 @@ module Google
535
515
  end
536
516
  end
537
517
 
538
- # Compute numerical stats over an individual column, including
539
- # number of distinct values and value count distribution.
518
+ # Compute numerical stats over an individual column, including number of
519
+ # distinct values and value count distribution.
540
520
  class GooglePrivacyDlpV2CategoricalStatsConfig
541
521
  include Google::Apis::Core::Hashable
542
522
 
@@ -569,8 +549,8 @@ module Google
569
549
  # @return [Fixnum]
570
550
  attr_accessor :bucket_value_count
571
551
 
572
- # Sample of value frequencies in this bucket. The total number of
573
- # values returned per bucket is capped at 20.
552
+ # Sample of value frequencies in this bucket. The total number of values
553
+ # returned per bucket is capped at 20.
574
554
  # Corresponds to the JSON property `bucketValues`
575
555
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ValueFrequency>]
576
556
  attr_accessor :bucket_values
@@ -618,12 +598,11 @@ module Google
618
598
  end
619
599
  end
620
600
 
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.
601
+ # Partially mask a string by replacing a given number of characters with a fixed
602
+ # character. Masking can start from the beginning or end of the string. This can
603
+ # be used on data of any type (numbers, longs, and so on) and when de-
604
+ # identifying structured data we'll attempt to preserve the original data's type.
605
+ # (This allows you to take a long like 123 and modify it to a string like **3.
627
606
  class GooglePrivacyDlpV2CharacterMaskConfig
628
607
  include Google::Apis::Core::Hashable
629
608
 
@@ -635,25 +614,25 @@ module Google
635
614
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CharsToIgnore>]
636
615
  attr_accessor :characters_to_ignore
637
616
 
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.
617
+ # Character to use to mask the sensitive valuesfor example, `*` for an
618
+ # alphabetic string such as a name, or `0` for a numeric string such as ZIP code
619
+ # or credit card number. This string must have a length of 1. If not supplied,
620
+ # this value defaults to `*` for strings, and `0` for digits.
642
621
  # Corresponds to the JSON property `maskingCharacter`
643
622
  # @return [String]
644
623
  attr_accessor :masking_character
645
624
 
646
- # Number of characters to mask. If not set, all matching chars will be
647
- # masked. Skipped characters do not count towards this tally.
625
+ # Number of characters to mask. If not set, all matching chars will be masked.
626
+ # Skipped characters do not count towards this tally.
648
627
  # Corresponds to the JSON property `numberToMask`
649
628
  # @return [Fixnum]
650
629
  attr_accessor :number_to_mask
651
630
 
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***`.
631
+ # Mask characters in reverse order. For example, if `masking_character` is `0`, `
632
+ # number_to_mask` is `14`, and `reverse_order` is `false`, then the input string
633
+ # `1234-5678-9012-3456` is masked as `00000000000000-3456`. If `
634
+ # masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` is `
635
+ # true`, then the string `12345` is masked as `12***`.
657
636
  # Corresponds to the JSON property `reverseOrder`
658
637
  # @return [Boolean]
659
638
  attr_accessor :reverse_order
@@ -703,8 +682,7 @@ module Google
703
682
  class GooglePrivacyDlpV2CloudStorageFileSet
704
683
  include Google::Apis::Core::Hashable
705
684
 
706
- # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
707
- # path is allowed.
685
+ # The url, in the format `gs:///`. Trailing wildcard in the path is allowed.
708
686
  # Corresponds to the JSON property `url`
709
687
  # @return [String]
710
688
  attr_accessor :url
@@ -719,22 +697,21 @@ module Google
719
697
  end
720
698
  end
721
699
 
722
- # Options defining a file or a set of files within a Google Cloud Storage
723
- # bucket.
700
+ # Options defining a file or a set of files within a Google Cloud Storage bucket.
724
701
  class GooglePrivacyDlpV2CloudStorageOptions
725
702
  include Google::Apis::Core::Hashable
726
703
 
727
704
  # 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.
705
+ # than this value then the rest of the bytes are omitted. Only one of
706
+ # bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
730
707
  # Corresponds to the JSON property `bytesLimitPerFile`
731
708
  # @return [Fixnum]
732
709
  attr_accessor :bytes_limit_per_file
733
710
 
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.
711
+ # Max percentage of bytes to scan from a file. The rest are omitted. The number
712
+ # of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both
713
+ # 0 and 100 means no limit. Defaults to 0. Only one of bytes_limit_per_file and
714
+ # bytes_limit_per_file_percent can be specified.
738
715
  # Corresponds to the JSON property `bytesLimitPerFilePercent`
739
716
  # @return [Fixnum]
740
717
  attr_accessor :bytes_limit_per_file_percent
@@ -744,13 +721,12 @@ module Google
744
721
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet]
745
722
  attr_accessor :file_set
746
723
 
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'.
724
+ # List of file type groups to include in the scan. If empty, all files are
725
+ # scanned and available data format processors are applied. In addition, the
726
+ # binary content of the selected files is always scanned as well. Images are
727
+ # scanned only as binary if the specified region does not support image
728
+ # inspection and no file_types were specified. Image inspection is restricted to
729
+ # 'global', 'us', 'asia', and 'europe'.
754
730
  # Corresponds to the JSON property `fileTypes`
755
731
  # @return [Array<String>]
756
732
  attr_accessor :file_types
@@ -786,8 +762,8 @@ module Google
786
762
  class GooglePrivacyDlpV2CloudStoragePath
787
763
  include Google::Apis::Core::Hashable
788
764
 
789
- # A url representing a file or path (no wildcards) in Cloud Storage.
790
- # Example: gs://[BUCKET_NAME]/dictionary.txt
765
+ # A url representing a file or path (no wildcards) in Cloud Storage. Example: gs:
766
+ # //[BUCKET_NAME]/dictionary.txt
791
767
  # Corresponds to the JSON property `path`
792
768
  # @return [String]
793
769
  attr_accessor :path
@@ -804,30 +780,23 @@ module Google
804
780
 
805
781
  # Message representing a set of files in a Cloud Storage bucket. Regular
806
782
  # 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 `/`
783
+ # bucket to include. Included files are those that match at least one item in `
784
+ # include_regex` and do not match any items in `exclude_regex`. Note that a file
785
+ # that matches items from both lists will _not_ be included. For a match to
786
+ # occur, the entire file path (i.e., everything in the url after the bucket name)
787
+ # must match the regular expression. For example, given the input ``bucket_name:
788
+ # "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/
789
+ # excluded.*"]``: * `gs://mybucket/directory1/myfile` will be included * `gs://
790
+ # mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/
791
+ # `) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
792
+ # full path doesn't match any items in `include_regex`) * `gs://mybucket/
793
+ # directory1/excludedfile` will _not_ be included (the path matches an item in `
794
+ # exclude_regex`) If `include_regex` is left empty, it will match all files by
795
+ # default (this is equivalent to setting `include_regex: [".*"]`). Some other
796
+ # common use cases: * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]``
797
+ # will include all files in `mybucket` except for .pdf files * ``bucket_name: "
798
+ # mybucket", include_regex: ["directory/[^/]+"]`` will include all files
799
+ # directly under `gs://mybucket/directory/`, without matching across `/`
831
800
  class GooglePrivacyDlpV2CloudStorageRegexFileSet
832
801
  include Google::Apis::Core::Hashable
833
802
 
@@ -836,24 +805,22 @@ module Google
836
805
  # @return [String]
837
806
  attr_accessor :bucket_name
838
807
 
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.
808
+ # A list of regular expressions matching file paths to exclude. All files in the
809
+ # bucket that match at least one of these regular expressions will be excluded
810
+ # from the scan. Regular expressions use RE2 [syntax](https://github.com/google/
811
+ # re2/wiki/Syntax); a guide can be found under the google/re2 repository on
812
+ # GitHub.
845
813
  # Corresponds to the JSON property `excludeRegex`
846
814
  # @return [Array<String>]
847
815
  attr_accessor :exclude_regex
848
816
 
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.
817
+ # A list of regular expressions matching file paths to include. All files in the
818
+ # bucket that match at least one of these regular expressions will be included
819
+ # in the set of files, except for those that also match an item in `
820
+ # exclude_regex`. Leaving this field empty will match all files by default (this
821
+ # is equivalent to including `.*` in the list). Regular expressions use RE2 [
822
+ # syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under
823
+ # the google/re2 repository on GitHub.
857
824
  # Corresponds to the JSON property `includeRegex`
858
825
  # @return [Array<String>]
859
826
  attr_accessor :include_regex
@@ -901,23 +868,18 @@ module Google
901
868
  end
902
869
  end
903
870
 
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.
871
+ # The field type of `value` and `field` do not need to match to be considered
872
+ # equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt
873
+ # to compare even with incompatible types, but all other comparisons are invalid
874
+ # with incompatible types. A `value` of type: - `string` can be compared against
875
+ # all other types - `boolean` can only be compared against other booleans - `
876
+ # integer` can be compared against doubles or a string if the string value can
877
+ # be parsed as an integer. - `double` can be compared against integers or a
878
+ # string if the string can be parsed as a double. - `Timestamp` can be compared
879
+ # against strings in RFC 3339 date string format. - `TimeOfDay` can be compared
880
+ # against timestamps and strings in the format of 'HH:mm:ss'. If we fail to
881
+ # compare do to type mismatch, a warning will be given and the condition will
882
+ # evaluate to false.
921
883
  class GooglePrivacyDlpV2Condition
922
884
  include Google::Apis::Core::Hashable
923
885
 
@@ -931,12 +893,11 @@ module Google
931
893
  # @return [String]
932
894
  attr_accessor :operator
933
895
 
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.
896
+ # Set of primitive values supported by the system. Note that for the purposes of
897
+ # inspection or transformation, the number of bytes considered to comprise a '
898
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
899
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
900
+ # as 9, even though an int64 only holds up to 8 bytes of data.
940
901
  # Corresponds to the JSON property `value`
941
902
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
942
903
  attr_accessor :value
@@ -972,41 +933,35 @@ module Google
972
933
  end
973
934
  end
974
935
 
975
- # Represents a container that may contain DLP findings.
976
- # Examples of a container include a file, table, or database record.
936
+ # Represents a container that may contain DLP findings. Examples of a container
937
+ # include a file, table, or database record.
977
938
  class GooglePrivacyDlpV2Container
978
939
  include Google::Apis::Core::Hashable
979
940
 
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'
941
+ # A string representation of the full container name. Examples: - BigQuery: '
942
+ # Project:DataSetId.TableId' - Google Cloud Storage: 'gs://Bucket/folders/
943
+ # filename.txt'
984
944
  # Corresponds to the JSON property `fullPath`
985
945
  # @return [String]
986
946
  attr_accessor :full_path
987
947
 
988
- # Project where the finding was found.
989
- # Can be different from the project that owns the finding.
948
+ # Project where the finding was found. Can be different from the project that
949
+ # owns the finding.
990
950
  # Corresponds to the JSON property `projectId`
991
951
  # @return [String]
992
952
  attr_accessor :project_id
993
953
 
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`
954
+ # The rest of the path after the root. Examples: - For BigQuery table `
955
+ # project_id:dataset_id.table_id`, the relative path is `table_id` - Google
956
+ # Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `
957
+ # folder/filename.txt`
1000
958
  # Corresponds to the JSON property `relativePath`
1001
959
  # @return [String]
1002
960
  attr_accessor :relative_path
1003
961
 
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`
962
+ # The root of the container. Examples: - For BigQuery table `project_id:
963
+ # dataset_id.table_id`, the root is `dataset_id` - For Google Cloud Storage file
964
+ # `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
1010
965
  # Corresponds to the JSON property `rootPath`
1011
966
  # @return [String]
1012
967
  attr_accessor :root_path
@@ -1016,16 +971,15 @@ module Google
1016
971
  # @return [String]
1017
972
  attr_accessor :type
1018
973
 
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.
974
+ # Findings container modification timestamp, if applicable. For Google Cloud
975
+ # Storage contains last file modification timestamp. For BigQuery table contains
976
+ # last_modified_time property. For Datastore - not populated.
1023
977
  # Corresponds to the JSON property `updateTime`
1024
978
  # @return [String]
1025
979
  attr_accessor :update_time
1026
980
 
1027
- # Findings container version, if available
1028
- # ("generation" for Google Cloud Storage).
981
+ # Findings container version, if available ("generation" for Google Cloud
982
+ # Storage).
1029
983
  # Corresponds to the JSON property `version`
1030
984
  # @return [String]
1031
985
  attr_accessor :version
@@ -1055,9 +1009,9 @@ module Google
1055
1009
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]
1056
1010
  attr_accessor :byte_item
1057
1011
 
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.
1012
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
1013
+ # https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn
1014
+ # more.
1061
1015
  # Corresponds to the JSON property `table`
1062
1016
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]
1063
1017
  attr_accessor :table
@@ -1084,28 +1038,25 @@ module Google
1084
1038
  class GooglePrivacyDlpV2ContentLocation
1085
1039
  include Google::Apis::Core::Hashable
1086
1040
 
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
1041
+ # Name of the container where the finding is located. The top level name is the
1042
+ # source file name or table name. Names of some common storage containers are
1043
+ # formatted as follows: * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
1044
+ # * Cloud Storage files: `gs://`bucket`/`path`` * Datastore namespace: `
1045
+ # namespace` Nested names could be absent if the embedded object has no string
1094
1046
  # identifier (for an example an image contained within a document).
1095
1047
  # Corresponds to the JSON property `containerName`
1096
1048
  # @return [String]
1097
1049
  attr_accessor :container_name
1098
1050
 
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.
1051
+ # Findings container modification timestamp, if applicable. For Google Cloud
1052
+ # Storage contains last file modification timestamp. For BigQuery table contains
1053
+ # last_modified_time property. For Datastore - not populated.
1103
1054
  # Corresponds to the JSON property `containerTimestamp`
1104
1055
  # @return [String]
1105
1056
  attr_accessor :container_timestamp
1106
1057
 
1107
- # Findings container version, if available
1108
- # ("generation" for Google Cloud Storage).
1058
+ # Findings container version, if available ("generation" for Google Cloud
1059
+ # Storage).
1109
1060
  # Corresponds to the JSON property `containerVersion`
1110
1061
  # @return [String]
1111
1062
  attr_accessor :container_version
@@ -1150,8 +1101,8 @@ module Google
1150
1101
  class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
1151
1102
  include Google::Apis::Core::Hashable
1152
1103
 
1153
- # DeidentifyTemplates contains instructions on how to de-identify content.
1154
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1104
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
1105
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1155
1106
  # Corresponds to the JSON property `deidentifyTemplate`
1156
1107
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
1157
1108
  attr_accessor :deidentify_template
@@ -1161,10 +1112,10 @@ module Google
1161
1112
  # @return [String]
1162
1113
  attr_accessor :location_id
1163
1114
 
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.
1115
+ # The template id can contain uppercase and lowercase letters, numbers, and
1116
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The
1117
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1118
+ # one.
1168
1119
  # Corresponds to the JSON property `templateId`
1169
1120
  # @return [String]
1170
1121
  attr_accessor :template_id
@@ -1181,9 +1132,8 @@ module Google
1181
1132
  end
1182
1133
  end
1183
1134
 
1184
- # Request message for CreateDlpJobRequest. Used to initiate long running
1185
- # jobs such as calculating risk metrics or inspecting Google Cloud
1186
- # Storage.
1135
+ # Request message for CreateDlpJobRequest. Used to initiate long running jobs
1136
+ # such as calculating risk metrics or inspecting Google Cloud Storage.
1187
1137
  class GooglePrivacyDlpV2CreateDlpJobRequest
1188
1138
  include Google::Apis::Core::Hashable
1189
1139
 
@@ -1192,10 +1142,9 @@ module Google
1192
1142
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig]
1193
1143
  attr_accessor :inspect_job
1194
1144
 
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.
1145
+ # The job id can contain uppercase and lowercase letters, numbers, and hyphens;
1146
+ # that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The maximum
1147
+ # length is 100 characters. Can be empty to allow the system to generate one.
1199
1148
  # Corresponds to the JSON property `jobId`
1200
1149
  # @return [String]
1201
1150
  attr_accessor :job_id
@@ -1205,8 +1154,8 @@ module Google
1205
1154
  # @return [String]
1206
1155
  attr_accessor :location_id
1207
1156
 
1208
- # Configuration for a risk analysis job. See
1209
- # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
1157
+ # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
1158
+ # concepts-risk-analysis to learn more.
1210
1159
  # Corresponds to the JSON property `riskJob`
1211
1160
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
1212
1161
  attr_accessor :risk_job
@@ -1230,8 +1179,8 @@ module Google
1230
1179
 
1231
1180
  # The inspectTemplate contains a configuration (set of types of sensitive data
1232
1181
  # 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.
1182
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
1183
+ # learn more.
1235
1184
  # Corresponds to the JSON property `inspectTemplate`
1236
1185
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
1237
1186
  attr_accessor :inspect_template
@@ -1241,10 +1190,10 @@ module Google
1241
1190
  # @return [String]
1242
1191
  attr_accessor :location_id
1243
1192
 
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.
1193
+ # The template id can contain uppercase and lowercase letters, numbers, and
1194
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The
1195
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1196
+ # one.
1248
1197
  # Corresponds to the JSON property `templateId`
1249
1198
  # @return [String]
1250
1199
  attr_accessor :template_id
@@ -1265,8 +1214,8 @@ module Google
1265
1214
  class GooglePrivacyDlpV2CreateJobTriggerRequest
1266
1215
  include Google::Apis::Core::Hashable
1267
1216
 
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.
1217
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
1218
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
1270
1219
  # Corresponds to the JSON property `jobTrigger`
1271
1220
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1272
1221
  attr_accessor :job_trigger
@@ -1276,10 +1225,10 @@ module Google
1276
1225
  # @return [String]
1277
1226
  attr_accessor :location_id
1278
1227
 
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.
1228
+ # The trigger id can contain uppercase and lowercase letters, numbers, and
1229
+ # hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The
1230
+ # maximum length is 100 characters. Can be empty to allow the system to generate
1231
+ # one.
1283
1232
  # Corresponds to the JSON property `triggerId`
1284
1233
  # @return [String]
1285
1234
  attr_accessor :trigger_id
@@ -1300,9 +1249,9 @@ module Google
1300
1249
  class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
1301
1250
  include Google::Apis::Core::Hashable
1302
1251
 
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.
1252
+ # Configuration for stored infoTypes. All fields and subfield are provided by
1253
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
1254
+ # custom-infotypes.
1306
1255
  # Corresponds to the JSON property `config`
1307
1256
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
1308
1257
  attr_accessor :config
@@ -1312,10 +1261,10 @@ module Google
1312
1261
  # @return [String]
1313
1262
  attr_accessor :location_id
1314
1263
 
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.
1264
+ # The storedInfoType ID can contain uppercase and lowercase letters, numbers,
1265
+ # and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`.
1266
+ # The maximum length is 100 characters. Can be empty to allow the system to
1267
+ # generate one.
1319
1268
  # Corresponds to the JSON property `storedInfoTypeId`
1320
1269
  # @return [String]
1321
1270
  attr_accessor :stored_info_type_id
@@ -1333,8 +1282,8 @@ module Google
1333
1282
  end
1334
1283
 
1335
1284
  # 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.
1285
+ # input. Outputs a base64 encoded representation of the encrypted output. Uses
1286
+ # AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
1338
1287
  class GooglePrivacyDlpV2CryptoDeterministicConfig
1339
1288
  include Google::Apis::Core::Hashable
1340
1289
 
@@ -1343,10 +1292,9 @@ module Google
1343
1292
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1344
1293
  attr_accessor :context
1345
1294
 
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
1295
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1296
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1297
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1350
1298
  # unwrap the data crypto key.
1351
1299
  # Corresponds to the JSON property `cryptoKey`
1352
1300
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1370,19 +1318,17 @@ module Google
1370
1318
  end
1371
1319
 
1372
1320
  # 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.
1321
+ # Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
1322
+ # encoded representation of the hashed output (for example,
1323
+ # L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
1324
+ # integer values can be hashed. See https://cloud.google.com/dlp/docs/
1325
+ # pseudonymization to learn more.
1379
1326
  class GooglePrivacyDlpV2CryptoHashConfig
1380
1327
  include Google::Apis::Core::Hashable
1381
1328
 
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
1329
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1330
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1331
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1386
1332
  # unwrap the data crypto key.
1387
1333
  # Corresponds to the JSON property `cryptoKey`
1388
1334
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1398,31 +1344,29 @@ module Google
1398
1344
  end
1399
1345
  end
1400
1346
 
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
1347
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1348
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1349
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1405
1350
  # unwrap the data crypto key.
1406
1351
  class GooglePrivacyDlpV2CryptoKey
1407
1352
  include Google::Apis::Core::Hashable
1408
1353
 
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
1354
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
1355
+ # must be a 128/192/256 bit key. Authorization requires the following IAM
1356
+ # permissions when sending a request to perform a crypto transformation using a
1357
+ # kms-wrapped crypto key: dlp.kms.encrypt
1414
1358
  # Corresponds to the JSON property `kmsWrapped`
1415
1359
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KmsWrappedCryptoKey]
1416
1360
  attr_accessor :kms_wrapped
1417
1361
 
1418
- # Use this to have a random data crypto key generated.
1419
- # It will be discarded after the request finishes.
1362
+ # Use this to have a random data crypto key generated. It will be discarded
1363
+ # after the request finishes.
1420
1364
  # Corresponds to the JSON property `transient`
1421
1365
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransientCryptoKey]
1422
1366
  attr_accessor :transient
1423
1367
 
1424
- # Using raw keys is prone to security risks due to accidentally
1425
- # leaking the key. Choose another type of key if possible.
1368
+ # Using raw keys is prone to security risks due to accidentally leaking the key.
1369
+ # Choose another type of key if possible.
1426
1370
  # Corresponds to the JSON property `unwrapped`
1427
1371
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2UnwrappedCryptoKey]
1428
1372
  attr_accessor :unwrapped
@@ -1439,18 +1383,17 @@ module Google
1439
1383
  end
1440
1384
  end
1441
1385
 
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
1386
+ # Replaces an identifier with a surrogate using Format Preserving Encryption (
1387
+ # FPE) with the FFX mode of operation; however when used in the `
1388
+ # ReidentifyContent` API method, it serves the opposite function by reversing
1445
1389
  # 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
1390
+ # encoded as ASCII. For a given crypto key and context, the same identifier will
1391
+ # be replaced with the same surrogate. Identifiers must be at least two
1448
1392
  # characters long. In the case that the identifier is the empty string, it will
1449
1393
  # 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.
1394
+ # more. Note: We recommend using CryptoDeterministicConfig for all use cases
1395
+ # which do not require preserving the input alphabet space and size, plus
1396
+ # warrant referential integrity.
1454
1397
  class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
1455
1398
  include Google::Apis::Core::Hashable
1456
1399
 
@@ -1464,25 +1407,21 @@ module Google
1464
1407
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1465
1408
  attr_accessor :context
1466
1409
 
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
1410
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1411
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1412
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1471
1413
  # unwrap the data crypto key.
1472
1414
  # Corresponds to the JSON property `cryptoKey`
1473
1415
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
1474
1416
  attr_accessor :crypto_key
1475
1417
 
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.
1483
- # The full list of allowed characters is:
1484
- # <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
1485
- # ~`!@#$%^&*()_-+=`[`]|\:;"'<,>.?/</code>
1418
+ # This is supported by mapping these to the alphanumeric characters that the FFX
1419
+ # mode natively supports. This happens before/after encryption/decryption. Each
1420
+ # character listed must appear only once. Number of characters must be in the
1421
+ # range [2, 95]. This must be encoded as ASCII. The order of characters does not
1422
+ # matter. The full list of allowed characters is:
1423
+ # 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+=
1424
+ # `[`]|\:;"'<,>.?/
1486
1425
  # Corresponds to the JSON property `customAlphabet`
1487
1426
  # @return [String]
1488
1427
  attr_accessor :custom_alphabet
@@ -1517,41 +1456,37 @@ module Google
1517
1456
  class GooglePrivacyDlpV2CustomInfoType
1518
1457
  include Google::Apis::Core::Hashable
1519
1458
 
1520
- # Set of detection rules to apply to all findings of this CustomInfoType.
1521
- # Rules are applied in order that they are specified. Not supported for the
1522
- # `surrogate_type` CustomInfoType.
1459
+ # Set of detection rules to apply to all findings of this CustomInfoType. Rules
1460
+ # are applied in order that they are specified. Not supported for the `
1461
+ # surrogate_type` CustomInfoType.
1523
1462
  # Corresponds to the JSON property `detectionRules`
1524
1463
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule>]
1525
1464
  attr_accessor :detection_rules
1526
1465
 
1527
- # Custom information type based on a dictionary of words or phrases. This can
1528
- # be used to match sensitive information specific to the data, such as a list
1529
- # of employee IDs or job titles.
1530
- # Dictionary words are case-insensitive and all characters other than letters
1531
- # and digits in the unicode [Basic Multilingual
1466
+ # Custom information type based on a dictionary of words or phrases. This can be
1467
+ # used to match sensitive information specific to the data, such as a list of
1468
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
1469
+ # characters other than letters and digits in the unicode [Basic Multilingual
1532
1470
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
1533
- # Basic_Multilingual_Plane)
1534
- # will be replaced with whitespace when scanning for matches, so the
1535
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
1536
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
1537
- # surrounding any match must be of a different type than the adjacent
1538
- # characters within the word, so letters must be next to non-letters and
1539
- # digits next to non-digits. For example, the dictionary word "jen" will
1540
- # match the first three letters of the text "jen123" but will return no
1541
- # matches for "jennifer".
1542
- # Dictionary words containing a large number of characters that are not
1543
- # letters or digits may result in unexpected findings because such characters
1544
- # are treated as whitespace. The
1545
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
1546
- # the size limits of dictionaries. For dictionaries that do not fit within
1547
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
1548
- # `StoredInfoType` API.
1471
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
1472
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
1473
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
1474
+ # characters surrounding any match must be of a different type than the adjacent
1475
+ # characters within the word, so letters must be next to non-letters and digits
1476
+ # next to non-digits. For example, the dictionary word "jen" will match the
1477
+ # first three letters of the text "jen123" but will return no matches for "
1478
+ # jennifer". Dictionary words containing a large number of characters that are
1479
+ # not letters or digits may result in unexpected findings because such
1480
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
1481
+ # dlp/limits) page contains details about the size limits of dictionaries. For
1482
+ # dictionaries that do not fit within these constraints, consider using `
1483
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
1549
1484
  # Corresponds to the JSON property `dictionary`
1550
1485
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
1551
1486
  attr_accessor :dictionary
1552
1487
 
1553
- # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
1554
- # to be returned. It still can be used for rules matching.
1488
+ # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be
1489
+ # returned. It still can be used for rules matching.
1555
1490
  # Corresponds to the JSON property `exclusionType`
1556
1491
  # @return [String]
1557
1492
  attr_accessor :exclusion_type
@@ -1561,9 +1496,9 @@ module Google
1561
1496
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
1562
1497
  attr_accessor :info_type
1563
1498
 
1564
- # Likelihood to return for this CustomInfoType. This base value can be
1565
- # altered by a detection rule if the finding meets the criteria specified by
1566
- # the rule. Defaults to `VERY_LIKELY` if not specified.
1499
+ # Likelihood to return for this CustomInfoType. This base value can be altered
1500
+ # by a detection rule if the finding meets the criteria specified by the rule.
1501
+ # Defaults to `VERY_LIKELY` if not specified.
1567
1502
  # Corresponds to the JSON property `likelihood`
1568
1503
  # @return [String]
1569
1504
  attr_accessor :likelihood
@@ -1578,15 +1513,13 @@ module Google
1578
1513
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType]
1579
1514
  attr_accessor :stored_type
1580
1515
 
1581
- # Message for detecting output from deidentification transformations
1582
- # such as
1583
- # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
1584
- # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
1585
- # These types of transformations are
1586
- # those that perform pseudonymization, thereby producing a "surrogate" as
1587
- # output. This should be used in conjunction with a field on the
1588
- # transformation such as `surrogate_info_type`. This CustomInfoType does
1589
- # not support the use of `detection_rules`.
1516
+ # Message for detecting output from deidentification transformations such as [`
1517
+ # CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
1518
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types
1519
+ # of transformations are those that perform pseudonymization, thereby producing
1520
+ # a "surrogate" as output. This should be used in conjunction with a field on
1521
+ # the transformation such as `surrogate_info_type`. This CustomInfoType does not
1522
+ # support the use of `detection_rules`.
1590
1523
  # Corresponds to the JSON property `surrogateType`
1591
1524
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType]
1592
1525
  attr_accessor :surrogate_type
@@ -1612,9 +1545,8 @@ module Google
1612
1545
  class GooglePrivacyDlpV2DatastoreKey
1613
1546
  include Google::Apis::Core::Hashable
1614
1547
 
1615
- # A unique identifier for a Datastore entity.
1616
- # If a key's partition ID or any of its path kinds or names are
1617
- # reserved/read-only, the key is reserved/read-only.
1548
+ # A unique identifier for a Datastore entity. If a key's partition ID or any of
1549
+ # its path kinds or names are reserved/read-only, the key is reserved/read-only.
1618
1550
  # A reserved/read-only key is forbidden in certain documented contexts.
1619
1551
  # Corresponds to the JSON property `entityKey`
1620
1552
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Key]
@@ -1639,11 +1571,9 @@ module Google
1639
1571
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KindExpression]
1640
1572
  attr_accessor :kind
1641
1573
 
1642
- # Datastore partition ID.
1643
- # A partition ID identifies a grouping of entities. The grouping is always
1644
- # by project and namespace, however the namespace ID may be empty.
1645
- # A partition ID contains several dimensions:
1646
- # project ID and namespace ID.
1574
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
1575
+ # grouping is always by project and namespace, however the namespace ID may be
1576
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
1647
1577
  # Corresponds to the JSON property `partitionId`
1648
1578
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PartitionId]
1649
1579
  attr_accessor :partition_id
@@ -1660,8 +1590,8 @@ module Google
1660
1590
  end
1661
1591
 
1662
1592
  # Shifts dates by random number of days, with option to be consistent for the
1663
- # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
1664
- # to learn more.
1593
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to
1594
+ # learn more.
1665
1595
  class GooglePrivacyDlpV2DateShiftConfig
1666
1596
  include Google::Apis::Core::Hashable
1667
1597
 
@@ -1670,10 +1600,9 @@ module Google
1670
1600
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
1671
1601
  attr_accessor :context
1672
1602
 
1673
- # This is a data encryption key (DEK) (as opposed to
1674
- # a key encryption key (KEK) stored by KMS).
1675
- # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
1676
- # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1603
+ # This is a data encryption key (DEK) (as opposed to a key encryption key (KEK)
1604
+ # stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an
1605
+ # appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
1677
1606
  # unwrap the data crypto key.
1678
1607
  # Corresponds to the JSON property `cryptoKey`
1679
1608
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
@@ -1685,10 +1614,9 @@ module Google
1685
1614
  attr_accessor :lower_bound_days
1686
1615
 
1687
1616
  # Required. Range of shift in days. Actual shift will be selected at random
1688
- # within this
1689
- # range (inclusive ends). Negative means shift to earlier in time. Must not
1690
- # be more than 365250 days (1000 years) each direction.
1691
- # For example, 3 means shift date to at most 3 days into the future.
1617
+ # within this range (inclusive ends). Negative means shift to earlier in time.
1618
+ # Must not be more than 365250 days (1000 years) each direction. For example, 3
1619
+ # means shift date to at most 3 days into the future.
1692
1620
  # Corresponds to the JSON property `upperBoundDays`
1693
1621
  # @return [Fixnum]
1694
1622
  attr_accessor :upper_bound_days
@@ -1706,19 +1634,18 @@ module Google
1706
1634
  end
1707
1635
  end
1708
1636
 
1709
- # Message for a date time object.
1710
- # e.g. 2018-01-01, 5th August.
1637
+ # Message for a date time object. e.g. 2018-01-01, 5th August.
1711
1638
  class GooglePrivacyDlpV2DateTime
1712
1639
  include Google::Apis::Core::Hashable
1713
1640
 
1714
1641
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1715
1642
  # and time zone are either specified elsewhere or are not significant. The date
1716
- # is relative to the Proleptic Gregorian Calendar. This can represent:
1717
- # * A full date, with non-zero year, month and day values
1718
- # * A month and day value, with a zero year, e.g. an anniversary
1719
- # * A year on its own, with zero month and day values
1720
- # * A year and month value, with a zero day, e.g. a credit card expiration date
1721
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
1643
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1644
+ # date, with non-zero year, month and day values * A month and day value, with a
1645
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
1646
+ # values * A year and month value, with a zero day, e.g. a credit card
1647
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1648
+ # Timestamp`.
1722
1649
  # Corresponds to the JSON property `date`
1723
1650
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
1724
1651
  attr_accessor :date
@@ -1728,8 +1655,8 @@ module Google
1728
1655
  # @return [String]
1729
1656
  attr_accessor :day_of_week
1730
1657
 
1731
- # Represents a time of day. The date and time zone are either not significant
1732
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
1658
+ # Represents a time of day. The date and time zone are either not significant or
1659
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1733
1660
  # types are google.type.Date and `google.protobuf.Timestamp`.
1734
1661
  # Corresponds to the JSON property `time`
1735
1662
  # @return [Google::Apis::DlpV2::GoogleTypeTimeOfDay]
@@ -1757,28 +1684,25 @@ module Google
1757
1684
  class GooglePrivacyDlpV2DeidentifyConfig
1758
1685
  include Google::Apis::Core::Hashable
1759
1686
 
1760
- # A type of transformation that will scan unstructured text and
1761
- # apply various `PrimitiveTransformation`s to each finding, where the
1762
- # transformation is applied to only values that were identified as a specific
1763
- # info_type.
1687
+ # A type of transformation that will scan unstructured text and apply various `
1688
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
1689
+ # to only values that were identified as a specific info_type.
1764
1690
  # Corresponds to the JSON property `infoTypeTransformations`
1765
1691
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations]
1766
1692
  attr_accessor :info_type_transformations
1767
1693
 
1768
- # A type of transformation that is applied over structured data such as a
1769
- # table.
1694
+ # A type of transformation that is applied over structured data such as a table.
1770
1695
  # Corresponds to the JSON property `recordTransformations`
1771
1696
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations]
1772
1697
  attr_accessor :record_transformations
1773
1698
 
1774
- # How to handle transformation errors during de-identification. A
1775
- # transformation error occurs when the requested transformation is incompatible
1776
- # with the data. For example, trying to de-identify an IP address using a
1777
- # `DateShift` transformation would result in a transformation error, since date
1778
- # info cannot be extracted from an IP address.
1779
- # Information about any incompatible transformations, and how they were
1780
- # handled, is returned in the response as part of the
1781
- # `TransformationOverviews`.
1699
+ # How to handle transformation errors during de-identification. A transformation
1700
+ # error occurs when the requested transformation is incompatible with the data.
1701
+ # For example, trying to de-identify an IP address using a `DateShift`
1702
+ # transformation would result in a transformation error, since date info cannot
1703
+ # be extracted from an IP address. Information about any incompatible
1704
+ # transformations, and how they were handled, is returned in the response as
1705
+ # part of the `TransformationOverviews`.
1782
1706
  # Corresponds to the JSON property `transformationErrorHandling`
1783
1707
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling]
1784
1708
  attr_accessor :transformation_error_handling
@@ -1804,27 +1728,24 @@ module Google
1804
1728
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig]
1805
1729
  attr_accessor :deidentify_config
1806
1730
 
1807
- # Template to use. Any configuration directly specified in
1808
- # deidentify_config will override those set in the template. Singular fields
1809
- # that are set in this request will replace their corresponding fields in the
1810
- # template. Repeated fields are appended. Singular sub-messages and groups
1811
- # are recursively merged.
1731
+ # Template to use. Any configuration directly specified in deidentify_config
1732
+ # will override those set in the template. Singular fields that are set in this
1733
+ # request will replace their corresponding fields in the template. Repeated
1734
+ # fields are appended. Singular sub-messages and groups are recursively merged.
1812
1735
  # Corresponds to the JSON property `deidentifyTemplateName`
1813
1736
  # @return [String]
1814
1737
  attr_accessor :deidentify_template_name
1815
1738
 
1816
- # Configuration description of the scanning process.
1817
- # When used with redactContent only info_types and min_likelihood are currently
1818
- # used.
1739
+ # Configuration description of the scanning process. When used with
1740
+ # redactContent only info_types and min_likelihood are currently used.
1819
1741
  # Corresponds to the JSON property `inspectConfig`
1820
1742
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
1821
1743
  attr_accessor :inspect_config
1822
1744
 
1823
- # Template to use. Any configuration directly specified in
1824
- # inspect_config will override those set in the template. Singular fields
1825
- # that are set in this request will replace their corresponding fields in the
1826
- # template. Repeated fields are appended. Singular sub-messages and groups
1827
- # are recursively merged.
1745
+ # Template to use. Any configuration directly specified in inspect_config will
1746
+ # override those set in the template. Singular fields that are set in this
1747
+ # request will replace their corresponding fields in the template. Repeated
1748
+ # fields are appended. Singular sub-messages and groups are recursively merged.
1828
1749
  # Corresponds to the JSON property `inspectTemplateName`
1829
1750
  # @return [String]
1830
1751
  attr_accessor :inspect_template_name
@@ -1879,8 +1800,8 @@ module Google
1879
1800
  end
1880
1801
  end
1881
1802
 
1882
- # DeidentifyTemplates contains instructions on how to de-identify content.
1883
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1803
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
1804
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1884
1805
  class GooglePrivacyDlpV2DeidentifyTemplate
1885
1806
  include Google::Apis::Core::Hashable
1886
1807
 
@@ -1904,10 +1825,9 @@ module Google
1904
1825
  # @return [String]
1905
1826
  attr_accessor :display_name
1906
1827
 
1907
- # Output only. The template name.
1908
- # The template will have one of the following formats:
1909
- # `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
1910
- # `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
1828
+ # Output only. The template name. The template will have one of the following
1829
+ # formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR `
1830
+ # organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
1911
1831
  # Corresponds to the JSON property `name`
1912
1832
  # @return [String]
1913
1833
  attr_accessor :name
@@ -1932,30 +1852,29 @@ module Google
1932
1852
  end
1933
1853
  end
1934
1854
 
1935
- # δ-presence metric, used to estimate how likely it is for an attacker to
1936
- # figure out that one given individual appears in a de-identified dataset.
1937
- # Similarly to the k-map metric, we cannot compute δ-presence exactly without
1938
- # knowing the attack dataset, so we use a statistical model instead.
1855
+ # δ-presence metric, used to estimate how likely it is for an attacker to figure
1856
+ # out that one given individual appears in a de-identified dataset. Similarly to
1857
+ # the k-map metric, we cannot compute δ-presence exactly without knowing the
1858
+ # attack dataset, so we use a statistical model instead.
1939
1859
  class GooglePrivacyDlpV2DeltaPresenceEstimationConfig
1940
1860
  include Google::Apis::Core::Hashable
1941
1861
 
1942
- # Several auxiliary tables can be used in the analysis. Each custom_tag
1943
- # used to tag a quasi-identifiers field must appear in exactly one
1944
- # field of one auxiliary table.
1862
+ # Several auxiliary tables can be used in the analysis. Each custom_tag used to
1863
+ # tag a quasi-identifiers field must appear in exactly one field of one
1864
+ # auxiliary table.
1945
1865
  # Corresponds to the JSON property `auxiliaryTables`
1946
1866
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable>]
1947
1867
  attr_accessor :auxiliary_tables
1948
1868
 
1949
1869
  # Required. Fields considered to be quasi-identifiers. No two fields can have
1950
- # the
1951
- # same tag.
1870
+ # the same tag.
1952
1871
  # Corresponds to the JSON property `quasiIds`
1953
1872
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId>]
1954
1873
  attr_accessor :quasi_ids
1955
1874
 
1956
- # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
1957
- # Set if no column is tagged with a region-specific InfoType (like
1958
- # US_ZIP_5) or a region code.
1875
+ # ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no
1876
+ # column is tagged with a region-specific InfoType (like US_ZIP_5) or a region
1877
+ # code.
1959
1878
  # Corresponds to the JSON property `regionCode`
1960
1879
  # @return [String]
1961
1880
  attr_accessor :region_code
@@ -1972,15 +1891,11 @@ module Google
1972
1891
  end
1973
1892
  end
1974
1893
 
1975
- # A DeltaPresenceEstimationHistogramBucket message with the following
1976
- # values:
1977
- # min_probability: 0.1
1978
- # max_probability: 0.2
1979
- # frequency: 42
1980
- # means that there are 42 records for which δ is in [0.1, 0.2). An
1981
- # important particular case is when min_probability = max_probability = 1:
1982
- # then, every individual who shares this quasi-identifier combination is in
1983
- # the dataset.
1894
+ # A DeltaPresenceEstimationHistogramBucket message with the following values:
1895
+ # min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are
1896
+ # 42 records for which δ is in [0.1, 0.2). An important particular case is when
1897
+ # min_probability = max_probability = 1: then, every individual who shares this
1898
+ # quasi-identifier combination is in the dataset.
1984
1899
  class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
1985
1900
  include Google::Apis::Core::Hashable
1986
1901
 
@@ -1994,8 +1909,8 @@ module Google
1994
1909
  # @return [Fixnum]
1995
1910
  attr_accessor :bucket_value_count
1996
1911
 
1997
- # Sample of quasi-identifier tuple values in this bucket. The total
1998
- # number of classes returned per bucket is capped at 20.
1912
+ # Sample of quasi-identifier tuple values in this bucket. The total number of
1913
+ # classes returned per bucket is capped at 20.
1999
1914
  # Corresponds to the JSON property `bucketValues`
2000
1915
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>]
2001
1916
  attr_accessor :bucket_values
@@ -2028,14 +1943,13 @@ module Google
2028
1943
  class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues
2029
1944
  include Google::Apis::Core::Hashable
2030
1945
 
2031
- # The estimated probability that a given individual sharing these
2032
- # quasi-identifier values is in the dataset. This value, typically called
2033
- # δ, is the ratio between the number of records in the dataset with these
2034
- # quasi-identifier values, and the total number of individuals (inside
2035
- # *and* outside the dataset) with these quasi-identifier values.
2036
- # For example, if there are 15 individuals in the dataset who share the
2037
- # same quasi-identifier values, and an estimated 100 people in the entire
2038
- # population with these values, then δ is 0.15.
1946
+ # The estimated probability that a given individual sharing these quasi-
1947
+ # identifier values is in the dataset. This value, typically called δ, is the
1948
+ # ratio between the number of records in the dataset with these quasi-identifier
1949
+ # values, and the total number of individuals (inside *and* outside the dataset)
1950
+ # with these quasi-identifier values. For example, if there are 15 individuals
1951
+ # in the dataset who share the same quasi-identifier values, and an estimated
1952
+ # 100 people in the entire population with these values, then δ is 0.15.
2039
1953
  # Corresponds to the JSON property `estimatedProbability`
2040
1954
  # @return [Float]
2041
1955
  attr_accessor :estimated_probability
@@ -2061,14 +1975,13 @@ module Google
2061
1975
  class GooglePrivacyDlpV2DeltaPresenceEstimationResult
2062
1976
  include Google::Apis::Core::Hashable
2063
1977
 
2064
- # The intervals [min_probability, max_probability) do not overlap. If a
2065
- # value doesn't correspond to any such interval, the associated frequency
2066
- # is zero. For example, the following records:
2067
- # `min_probability: 0, max_probability: 0.1, frequency: 17`
2068
- # `min_probability: 0.2, max_probability: 0.3, frequency: 42`
2069
- # `min_probability: 0.3, max_probability: 0.4, frequency: 99`
2070
- # mean that there are no record with an estimated probability in [0.1, 0.2)
2071
- # nor larger or equal to 0.4.
1978
+ # The intervals [min_probability, max_probability) do not overlap. If a value
1979
+ # doesn't correspond to any such interval, the associated frequency is zero. For
1980
+ # example, the following records: `min_probability: 0, max_probability: 0.1,
1981
+ # frequency: 17` `min_probability: 0.2, max_probability: 0.3, frequency: 42` `
1982
+ # min_probability: 0.3, max_probability: 0.4, frequency: 99` mean that there are
1983
+ # no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.
1984
+ # 4.
2072
1985
  # Corresponds to the JSON property `deltaPresenceEstimationHistogram`
2073
1986
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket>]
2074
1987
  attr_accessor :delta_presence_estimation_histogram
@@ -2083,15 +1996,15 @@ module Google
2083
1996
  end
2084
1997
  end
2085
1998
 
2086
- # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
2087
- # `CustomInfoType` to alter behavior under certain circumstances, depending
2088
- # on the specific details of the rule. Not supported for the `surrogate_type`
1999
+ # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `
2000
+ # CustomInfoType` to alter behavior under certain circumstances, depending on
2001
+ # the specific details of the rule. Not supported for the `surrogate_type`
2089
2002
  # custom infoType.
2090
2003
  class GooglePrivacyDlpV2DetectionRule
2091
2004
  include Google::Apis::Core::Hashable
2092
2005
 
2093
- # The rule that adjusts the likelihood of findings within a certain
2094
- # proximity of hotwords.
2006
+ # The rule that adjusts the likelihood of findings within a certain proximity of
2007
+ # hotwords.
2095
2008
  # Corresponds to the JSON property `hotwordRule`
2096
2009
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
2097
2010
  attr_accessor :hotword_rule
@@ -2106,28 +2019,24 @@ module Google
2106
2019
  end
2107
2020
  end
2108
2021
 
2109
- # Custom information type based on a dictionary of words or phrases. This can
2110
- # be used to match sensitive information specific to the data, such as a list
2111
- # of employee IDs or job titles.
2112
- # Dictionary words are case-insensitive and all characters other than letters
2113
- # and digits in the unicode [Basic Multilingual
2022
+ # Custom information type based on a dictionary of words or phrases. This can be
2023
+ # used to match sensitive information specific to the data, such as a list of
2024
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
2025
+ # characters other than letters and digits in the unicode [Basic Multilingual
2114
2026
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
2115
- # Basic_Multilingual_Plane)
2116
- # will be replaced with whitespace when scanning for matches, so the
2117
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
2118
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
2119
- # surrounding any match must be of a different type than the adjacent
2120
- # characters within the word, so letters must be next to non-letters and
2121
- # digits next to non-digits. For example, the dictionary word "jen" will
2122
- # match the first three letters of the text "jen123" but will return no
2123
- # matches for "jennifer".
2124
- # Dictionary words containing a large number of characters that are not
2125
- # letters or digits may result in unexpected findings because such characters
2126
- # are treated as whitespace. The
2127
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
2128
- # the size limits of dictionaries. For dictionaries that do not fit within
2129
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
2130
- # `StoredInfoType` API.
2027
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
2028
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
2029
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
2030
+ # characters surrounding any match must be of a different type than the adjacent
2031
+ # characters within the word, so letters must be next to non-letters and digits
2032
+ # next to non-digits. For example, the dictionary word "jen" will match the
2033
+ # first three letters of the text "jen123" but will return no matches for "
2034
+ # jennifer". Dictionary words containing a large number of characters that are
2035
+ # not letters or digits may result in unexpected findings because such
2036
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
2037
+ # dlp/limits) page contains details about the size limits of dictionaries. For
2038
+ # dictionaries that do not fit within these constraints, consider using `
2039
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
2131
2040
  class GooglePrivacyDlpV2Dictionary
2132
2041
  include Google::Apis::Core::Hashable
2133
2042
 
@@ -2230,8 +2139,8 @@ module Google
2230
2139
  class GooglePrivacyDlpV2DocumentLocation
2231
2140
  include Google::Apis::Core::Hashable
2232
2141
 
2233
- # Offset of the line, from the beginning of the file, where the finding
2234
- # is located.
2142
+ # Offset of the line, from the beginning of the file, where the finding is
2143
+ # located.
2235
2144
  # Corresponds to the JSON property `fileOffset`
2236
2145
  # @return [Fixnum]
2237
2146
  attr_accessor :file_offset
@@ -2246,11 +2155,11 @@ module Google
2246
2155
  end
2247
2156
  end
2248
2157
 
2249
- # An entity in a dataset is a field or set of fields that correspond to a
2250
- # single person. For example, in medical records the `EntityId` might be a
2251
- # patient identifier, or for financial records it might be an account
2252
- # identifier. This message is used when generalizations or analysis must take
2253
- # into account that multiple rows correspond to the same entity.
2158
+ # An entity in a dataset is a field or set of fields that correspond to a single
2159
+ # person. For example, in medical records the `EntityId` might be a patient
2160
+ # identifier, or for financial records it might be an account identifier. This
2161
+ # message is used when generalizations or analysis must take into account that
2162
+ # multiple rows correspond to the same entity.
2254
2163
  class GooglePrivacyDlpV2EntityId
2255
2164
  include Google::Apis::Core::Hashable
2256
2165
 
@@ -2269,17 +2178,17 @@ module Google
2269
2178
  end
2270
2179
  end
2271
2180
 
2272
- # Details information about an error encountered during job execution or
2273
- # the results of an unsuccessful activation of the JobTrigger.
2181
+ # Details information about an error encountered during job execution or the
2182
+ # results of an unsuccessful activation of the JobTrigger.
2274
2183
  class GooglePrivacyDlpV2Error
2275
2184
  include Google::Apis::Core::Hashable
2276
2185
 
2277
- # The `Status` type defines a logical error model that is suitable for
2278
- # different programming environments, including REST APIs and RPC APIs. It is
2279
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2280
- # three pieces of data: error code, error message, and error details.
2281
- # You can find out more about this error model and how to work with it in the
2282
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2186
+ # The `Status` type defines a logical error model that is suitable for different
2187
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2188
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2189
+ # data: error code, error message, and error details. You can find out more
2190
+ # about this error model and how to work with it in the [API Design Guide](https:
2191
+ # //cloud.google.com/apis/design/errors).
2283
2192
  # Corresponds to the JSON property `details`
2284
2193
  # @return [Google::Apis::DlpV2::GoogleRpcStatus]
2285
2194
  attr_accessor :details
@@ -2305,12 +2214,11 @@ module Google
2305
2214
  include Google::Apis::Core::Hashable
2306
2215
 
2307
2216
  # InfoType list in ExclusionRule rule drops a finding when it overlaps or
2308
- # contained within with a finding of an infoType from this list. For
2309
- # example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
2310
- # `exclusion_rule` containing `exclude_info_types.info_types` with
2311
- # "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
2312
- # with EMAIL_ADDRESS finding.
2313
- # That leads to "555-222-2222@example.org" to generate only a single
2217
+ # contained within with a finding of an infoType from this list. For example,
2218
+ # for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and `
2219
+ # exclusion_rule` containing `exclude_info_types.info_types` with "EMAIL_ADDRESS"
2220
+ # the phone number findings are dropped if they overlap with EMAIL_ADDRESS
2221
+ # finding. That leads to "555-222-2222@example.org" to generate only a single
2314
2222
  # finding, namely email address.
2315
2223
  # Corresponds to the JSON property `infoTypes`
2316
2224
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
@@ -2326,33 +2234,29 @@ module Google
2326
2234
  end
2327
2235
  end
2328
2236
 
2329
- # The rule that specifies conditions when findings of infoTypes specified in
2330
- # `InspectionRuleSet` are removed from results.
2237
+ # The rule that specifies conditions when findings of infoTypes specified in `
2238
+ # InspectionRuleSet` are removed from results.
2331
2239
  class GooglePrivacyDlpV2ExclusionRule
2332
2240
  include Google::Apis::Core::Hashable
2333
2241
 
2334
- # Custom information type based on a dictionary of words or phrases. This can
2335
- # be used to match sensitive information specific to the data, such as a list
2336
- # of employee IDs or job titles.
2337
- # Dictionary words are case-insensitive and all characters other than letters
2338
- # and digits in the unicode [Basic Multilingual
2242
+ # Custom information type based on a dictionary of words or phrases. This can be
2243
+ # used to match sensitive information specific to the data, such as a list of
2244
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
2245
+ # characters other than letters and digits in the unicode [Basic Multilingual
2339
2246
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
2340
- # Basic_Multilingual_Plane)
2341
- # will be replaced with whitespace when scanning for matches, so the
2342
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
2343
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
2344
- # surrounding any match must be of a different type than the adjacent
2345
- # characters within the word, so letters must be next to non-letters and
2346
- # digits next to non-digits. For example, the dictionary word "jen" will
2347
- # match the first three letters of the text "jen123" but will return no
2348
- # matches for "jennifer".
2349
- # Dictionary words containing a large number of characters that are not
2350
- # letters or digits may result in unexpected findings because such characters
2351
- # are treated as whitespace. The
2352
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
2353
- # the size limits of dictionaries. For dictionaries that do not fit within
2354
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
2355
- # `StoredInfoType` API.
2247
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
2248
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
2249
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
2250
+ # characters surrounding any match must be of a different type than the adjacent
2251
+ # characters within the word, so letters must be next to non-letters and digits
2252
+ # next to non-digits. For example, the dictionary word "jen" will match the
2253
+ # first three letters of the text "jen123" but will return no matches for "
2254
+ # jennifer". Dictionary words containing a large number of characters that are
2255
+ # not letters or digits may result in unexpected findings because such
2256
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
2257
+ # dlp/limits) page contains details about the size limits of dictionaries. For
2258
+ # dictionaries that do not fit within these constraints, consider using `
2259
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
2356
2260
  # Corresponds to the JSON property `dictionary`
2357
2261
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
2358
2262
  attr_accessor :dictionary
@@ -2394,8 +2298,8 @@ module Google
2394
2298
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions]
2395
2299
  attr_accessor :conditions
2396
2300
 
2397
- # The operator to apply to the result of conditions. Default and currently
2398
- # only supported value is `AND`.
2301
+ # The operator to apply to the result of conditions. Default and currently only
2302
+ # supported value is `AND`.
2399
2303
  # Corresponds to the JSON property `logicalOperator`
2400
2304
  # @return [String]
2401
2305
  attr_accessor :logical_operator
@@ -2434,8 +2338,8 @@ module Google
2434
2338
  class GooglePrivacyDlpV2FieldTransformation
2435
2339
  include Google::Apis::Core::Hashable
2436
2340
 
2437
- # A condition for determining whether a transformation should be applied to
2438
- # a field.
2341
+ # A condition for determining whether a transformation should be applied to a
2342
+ # field.
2439
2343
  # Corresponds to the JSON property `condition`
2440
2344
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition]
2441
2345
  attr_accessor :condition
@@ -2445,10 +2349,9 @@ module Google
2445
2349
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
2446
2350
  attr_accessor :fields
2447
2351
 
2448
- # A type of transformation that will scan unstructured text and
2449
- # apply various `PrimitiveTransformation`s to each finding, where the
2450
- # transformation is applied to only values that were identified as a specific
2451
- # info_type.
2352
+ # A type of transformation that will scan unstructured text and apply various `
2353
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
2354
+ # to only values that were identified as a specific info_type.
2452
2355
  # Corresponds to the JSON property `infoTypeTransformations`
2453
2356
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations]
2454
2357
  attr_accessor :info_type_transformations
@@ -2477,42 +2380,34 @@ module Google
2477
2380
 
2478
2381
  # Message representing a set of files in a Cloud Storage bucket. Regular
2479
2382
  # expressions are used to allow fine-grained control over which files in the
2480
- # bucket to include.
2481
- # Included files are those that match at least one item in `include_regex` and
2482
- # do not match any items in `exclude_regex`. Note that a file that matches
2483
- # items from both lists will _not_ be included. For a match to occur, the
2484
- # entire file path (i.e., everything in the url after the bucket name) must
2485
- # match the regular expression.
2486
- # For example, given the input ``bucket_name: "mybucket", include_regex:
2487
- # ["directory1/.*"], exclude_regex:
2488
- # ["directory1/excluded.*"]``:
2489
- # * `gs://mybucket/directory1/myfile` will be included
2490
- # * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
2491
- # across `/`)
2492
- # * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
2493
- # full path doesn't match any items in `include_regex`)
2494
- # * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
2495
- # matches an item in `exclude_regex`)
2496
- # If `include_regex` is left empty, it will match all files by default
2497
- # (this is equivalent to setting `include_regex: [".*"]`).
2498
- # Some other common use cases:
2499
- # * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]`` will include all
2500
- # files in `mybucket` except for .pdf files
2501
- # * ``bucket_name: "mybucket", include_regex: ["directory/[^/]+"]`` will
2502
- # include all files directly under `gs://mybucket/directory/`, without matching
2503
- # across `/`
2383
+ # bucket to include. Included files are those that match at least one item in `
2384
+ # include_regex` and do not match any items in `exclude_regex`. Note that a file
2385
+ # that matches items from both lists will _not_ be included. For a match to
2386
+ # occur, the entire file path (i.e., everything in the url after the bucket name)
2387
+ # must match the regular expression. For example, given the input ``bucket_name:
2388
+ # "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/
2389
+ # excluded.*"]``: * `gs://mybucket/directory1/myfile` will be included * `gs://
2390
+ # mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/
2391
+ # `) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
2392
+ # full path doesn't match any items in `include_regex`) * `gs://mybucket/
2393
+ # directory1/excludedfile` will _not_ be included (the path matches an item in `
2394
+ # exclude_regex`) If `include_regex` is left empty, it will match all files by
2395
+ # default (this is equivalent to setting `include_regex: [".*"]`). Some other
2396
+ # common use cases: * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]``
2397
+ # will include all files in `mybucket` except for .pdf files * ``bucket_name: "
2398
+ # mybucket", include_regex: ["directory/[^/]+"]`` will include all files
2399
+ # directly under `gs://mybucket/directory/`, without matching across `/`
2504
2400
  # Corresponds to the JSON property `regexFileSet`
2505
2401
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegexFileSet]
2506
2402
  attr_accessor :regex_file_set
2507
2403
 
2508
- # The Cloud Storage url of the file(s) to scan, in the format
2509
- # `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
2510
- # If the url ends in a trailing slash, the bucket or directory represented
2511
- # by the url will be scanned non-recursively (content in sub-directories
2512
- # will not be scanned). This means that `gs://mybucket/` is equivalent to
2513
- # `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
2514
- # `gs://mybucket/directory/*`.
2515
- # Exactly one of `url` or `regex_file_set` must be set.
2404
+ # The Cloud Storage url of the file(s) to scan, in the format `gs:///`. Trailing
2405
+ # wildcard in the path is allowed. If the url ends in a trailing slash, the
2406
+ # bucket or directory represented by the url will be scanned non-recursively (
2407
+ # content in sub-directories will not be scanned). This means that `gs://
2408
+ # mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/`
2409
+ # is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `
2410
+ # regex_file_set` must be set.
2516
2411
  # Corresponds to the JSON property `url`
2517
2412
  # @return [String]
2518
2413
  attr_accessor :url
@@ -2552,15 +2447,12 @@ module Google
2552
2447
  # @return [String]
2553
2448
  attr_accessor :job_name
2554
2449
 
2555
- # The labels associated with this `Finding`.
2556
- # Label keys must be between 1 and 63 characters long and must conform
2557
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2558
- # Label values must be between 0 and 63 characters long and must conform
2559
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2560
- # No more than 10 labels can be associated with a given finding.
2561
- # Examples:
2562
- # * `"environment" : "production"`
2563
- # * `"pipeline" : "etl"`
2450
+ # The labels associated with this `Finding`. Label keys must be between 1 and 63
2451
+ # characters long and must conform to the following regular expression: `[a-z]([-
2452
+ # a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and
2453
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No
2454
+ # more than 10 labels can be associated with a given finding. Examples: * `"
2455
+ # environment" : "production"` * `"pipeline" : "etl"`
2564
2456
  # Corresponds to the JSON property `labels`
2565
2457
  # @return [Hash<String,String>]
2566
2458
  attr_accessor :labels
@@ -2575,18 +2467,16 @@ module Google
2575
2467
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Location]
2576
2468
  attr_accessor :location
2577
2469
 
2578
- # Resource name in format
2579
- # projects/`project`/locations/`location`/findings/`finding` Populated only
2580
- # when viewing persisted findings.
2470
+ # Resource name in format projects/`project`/locations/`location`/findings/`
2471
+ # finding` Populated only when viewing persisted findings.
2581
2472
  # Corresponds to the JSON property `name`
2582
2473
  # @return [String]
2583
2474
  attr_accessor :name
2584
2475
 
2585
- # The content that was found. Even if the content is not textual, it
2586
- # may be converted to a textual representation here.
2587
- # Provided if `include_quote` is true and the finding is
2588
- # less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
2589
- # in length, the quote may be omitted.
2476
+ # The content that was found. Even if the content is not textual, it may be
2477
+ # converted to a textual representation here. Provided if `include_quote` is
2478
+ # true and the finding is less than or equal to 4096 bytes long. If the finding
2479
+ # exceeds 4096 bytes in length, the quote may be omitted.
2590
2480
  # Corresponds to the JSON property `quote`
2591
2481
  # @return [String]
2592
2482
  attr_accessor :quote
@@ -2636,17 +2526,16 @@ module Google
2636
2526
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit>]
2637
2527
  attr_accessor :max_findings_per_info_type
2638
2528
 
2639
- # Max number of findings that will be returned for each item scanned.
2640
- # When set within `InspectJobConfig`,
2641
- # the maximum returned is 2000 regardless if this is set higher.
2642
- # When set within `InspectContentRequest`, this field is ignored.
2529
+ # Max number of findings that will be returned for each item scanned. When set
2530
+ # within `InspectJobConfig`, the maximum returned is 2000 regardless if this is
2531
+ # set higher. When set within `InspectContentRequest`, this field is ignored.
2643
2532
  # Corresponds to the JSON property `maxFindingsPerItem`
2644
2533
  # @return [Fixnum]
2645
2534
  attr_accessor :max_findings_per_item
2646
2535
 
2647
- # Max number of findings that will be returned per request/job.
2648
- # When set within `InspectContentRequest`, the maximum returned is 2000
2649
- # regardless if this is set higher.
2536
+ # Max number of findings that will be returned per request/job. When set within `
2537
+ # InspectContentRequest`, the maximum returned is 2000 regardless if this is set
2538
+ # higher.
2650
2539
  # Corresponds to the JSON property `maxFindingsPerRequest`
2651
2540
  # @return [Fixnum]
2652
2541
  attr_accessor :max_findings_per_request
@@ -2676,45 +2565,41 @@ module Google
2676
2565
  end
2677
2566
  end
2678
2567
 
2679
- # Buckets values based on fixed size ranges. The
2680
- # Bucketing transformation can provide all of this functionality,
2681
- # but requires more configuration. This message is provided as a convenience to
2682
- # the user for simple bucketing strategies.
2683
- # The transformed value will be a hyphenated string of
2684
- # `lower_bound`-`upper_bound`, i.e if lower_bound = 10 and upper_bound = 20
2685
- # all values that are within this bucket will be replaced with "10-20".
2686
- # This can be used on data of type: double, long.
2687
- # If the bound Value type differs from the type of data
2688
- # being transformed, we will first attempt converting the type of the data to
2689
- # be transformed to match the type of the bound before comparing.
2690
- # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
2568
+ # Buckets values based on fixed size ranges. The Bucketing transformation can
2569
+ # provide all of this functionality, but requires more configuration. This
2570
+ # message is provided as a convenience to the user for simple bucketing
2571
+ # strategies. The transformed value will be a hyphenated string of `lower_bound`-
2572
+ # `upper_bound`, i.e if lower_bound = 10 and upper_bound = 20 all values that
2573
+ # are within this bucket will be replaced with "10-20". This can be used on data
2574
+ # of type: double, long. If the bound Value type differs from the type of data
2575
+ # being transformed, we will first attempt converting the type of the data to be
2576
+ # transformed to match the type of the bound before comparing. See https://cloud.
2577
+ # google.com/dlp/docs/concepts-bucketing to learn more.
2691
2578
  class GooglePrivacyDlpV2FixedSizeBucketingConfig
2692
2579
  include Google::Apis::Core::Hashable
2693
2580
 
2694
- # Required. Size of each bucket (except for minimum and maximum buckets). So if
2695
- # `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
2696
- # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
2697
- # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
2581
+ # Required. Size of each bucket (except for minimum and maximum buckets). So if `
2582
+ # lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
2583
+ # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70,
2584
+ # 70-80, 80-89, 89+. Precision up to 2 decimals works.
2698
2585
  # Corresponds to the JSON property `bucketSize`
2699
2586
  # @return [Float]
2700
2587
  attr_accessor :bucket_size
2701
2588
 
2702
- # Set of primitive values supported by the system.
2703
- # Note that for the purposes of inspection or transformation, the number
2704
- # of bytes considered to comprise a 'Value' is based on its representation
2705
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
2706
- # 123456789, the number of bytes would be counted as 9, even though an
2707
- # int64 only holds up to 8 bytes of data.
2589
+ # Set of primitive values supported by the system. Note that for the purposes of
2590
+ # inspection or transformation, the number of bytes considered to comprise a '
2591
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
2592
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
2593
+ # as 9, even though an int64 only holds up to 8 bytes of data.
2708
2594
  # Corresponds to the JSON property `lowerBound`
2709
2595
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
2710
2596
  attr_accessor :lower_bound
2711
2597
 
2712
- # Set of primitive values supported by the system.
2713
- # Note that for the purposes of inspection or transformation, the number
2714
- # of bytes considered to comprise a 'Value' is based on its representation
2715
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
2716
- # 123456789, the number of bytes would be counted as 9, even though an
2717
- # int64 only holds up to 8 bytes of data.
2598
+ # Set of primitive values supported by the system. Note that for the purposes of
2599
+ # inspection or transformation, the number of bytes considered to comprise a '
2600
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
2601
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
2602
+ # as 9, even though an int64 only holds up to 8 bytes of data.
2718
2603
  # Corresponds to the JSON property `upperBound`
2719
2604
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
2720
2605
  attr_accessor :upper_bound
@@ -2731,8 +2616,8 @@ module Google
2731
2616
  end
2732
2617
  end
2733
2618
 
2734
- # The rule that adjusts the likelihood of findings within a certain
2735
- # proximity of hotwords.
2619
+ # The rule that adjusts the likelihood of findings within a certain proximity of
2620
+ # hotwords.
2736
2621
  class GooglePrivacyDlpV2HotwordRule
2737
2622
  include Google::Apis::Core::Hashable
2738
2623
 
@@ -2741,14 +2626,13 @@ module Google
2741
2626
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
2742
2627
  attr_accessor :hotword_regex
2743
2628
 
2744
- # Message for specifying an adjustment to the likelihood of a finding as
2745
- # part of a detection rule.
2629
+ # Message for specifying an adjustment to the likelihood of a finding as part of
2630
+ # a detection rule.
2746
2631
  # Corresponds to the JSON property `likelihoodAdjustment`
2747
2632
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LikelihoodAdjustment]
2748
2633
  attr_accessor :likelihood_adjustment
2749
2634
 
2750
- # Message for specifying a window around a finding to apply a detection
2751
- # rule.
2635
+ # Message for specifying a window around a finding to apply a detection rule.
2752
2636
  # Corresponds to the JSON property `proximity`
2753
2637
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity]
2754
2638
  attr_accessor :proximity
@@ -2795,39 +2679,34 @@ module Google
2795
2679
  class GooglePrivacyDlpV2HybridFindingDetails
2796
2680
  include Google::Apis::Core::Hashable
2797
2681
 
2798
- # Represents a container that may contain DLP findings.
2799
- # Examples of a container include a file, table, or database record.
2682
+ # Represents a container that may contain DLP findings. Examples of a container
2683
+ # include a file, table, or database record.
2800
2684
  # Corresponds to the JSON property `containerDetails`
2801
2685
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
2802
2686
  attr_accessor :container_details
2803
2687
 
2804
- # Offset in bytes of the line, from the beginning of the file, where the
2805
- # finding is located. Populate if the item being scanned is only part of a
2806
- # bigger item, such as a shard of a file and you want to track the absolute
2807
- # position of the finding.
2688
+ # Offset in bytes of the line, from the beginning of the file, where the finding
2689
+ # is located. Populate if the item being scanned is only part of a bigger item,
2690
+ # such as a shard of a file and you want to track the absolute position of the
2691
+ # finding.
2808
2692
  # Corresponds to the JSON property `fileOffset`
2809
2693
  # @return [Fixnum]
2810
2694
  attr_accessor :file_offset
2811
2695
 
2812
- # Labels to represent user provided metadata about the data being inspected.
2813
- # If configured by the job, some key values may be required.
2814
- # The labels associated with `Finding`'s produced by hybrid
2815
- # inspection.
2816
- # Label keys must be between 1 and 63 characters long and must conform
2817
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2818
- # Label values must be between 0 and 63 characters long and must conform
2819
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2820
- # No more than 10 labels can be associated with a given finding.
2821
- # Examples:
2822
- # * `"environment" : "production"`
2823
- # * `"pipeline" : "etl"`
2696
+ # Labels to represent user provided metadata about the data being inspected. If
2697
+ # configured by the job, some key values may be required. The labels associated
2698
+ # with `Finding`'s produced by hybrid inspection. Label keys must be between 1
2699
+ # and 63 characters long and must conform to the following regular expression: `[
2700
+ # a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters
2701
+ # long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`
2702
+ # . No more than 10 labels can be associated with a given finding. Examples: * `"
2703
+ # environment" : "production"` * `"pipeline" : "etl"`
2824
2704
  # Corresponds to the JSON property `labels`
2825
2705
  # @return [Hash<String,String>]
2826
2706
  attr_accessor :labels
2827
2707
 
2828
- # Offset of the row for tables. Populate if the row(s) being scanned are
2829
- # part of a bigger dataset and you want to keep track of their absolute
2830
- # position.
2708
+ # Offset of the row for tables. Populate if the row(s) being scanned are part of
2709
+ # a bigger dataset and you want to keep track of their absolute position.
2831
2710
  # Corresponds to the JSON property `rowOffset`
2832
2711
  # @return [Fixnum]
2833
2712
  attr_accessor :row_offset
@@ -2908,17 +2787,16 @@ module Google
2908
2787
  class GooglePrivacyDlpV2HybridInspectStatistics
2909
2788
  include Google::Apis::Core::Hashable
2910
2789
 
2911
- # The number of hybrid inspection requests aborted because the job ran
2912
- # out of quota or was ended before they could be processed.
2790
+ # The number of hybrid inspection requests aborted because the job ran out of
2791
+ # quota or was ended before they could be processed.
2913
2792
  # Corresponds to the JSON property `abortedCount`
2914
2793
  # @return [Fixnum]
2915
2794
  attr_accessor :aborted_count
2916
2795
 
2917
- # The number of hybrid requests currently being processed. Only populated
2918
- # when called via method `getDlpJob`.
2919
- # A burst of traffic may cause hybrid inspect requests to be enqueued.
2920
- # Processing will take place as quickly as possible, but resource limitations
2921
- # may impact how long a request is enqueued for.
2796
+ # The number of hybrid requests currently being processed. Only populated when
2797
+ # called via method `getDlpJob`. A burst of traffic may cause hybrid inspect
2798
+ # requests to be enqueued. Processing will take place as quickly as possible,
2799
+ # but resource limitations may impact how long a request is enqueued for.
2922
2800
  # Corresponds to the JSON property `pendingCount`
2923
2801
  # @return [Fixnum]
2924
2802
  attr_accessor :pending_count
@@ -2940,36 +2818,32 @@ module Google
2940
2818
  end
2941
2819
  end
2942
2820
 
2943
- # Configuration to control jobs where the content being inspected is outside
2944
- # of Google Cloud Platform.
2821
+ # Configuration to control jobs where the content being inspected is outside of
2822
+ # Google Cloud Platform.
2945
2823
  class GooglePrivacyDlpV2HybridOptions
2946
2824
  include Google::Apis::Core::Hashable
2947
2825
 
2948
- # A short description of where the data is coming from. Will be stored once
2949
- # in the job. 256 max length.
2826
+ # A short description of where the data is coming from. Will be stored once in
2827
+ # the job. 256 max length.
2950
2828
  # Corresponds to the JSON property `description`
2951
2829
  # @return [String]
2952
2830
  attr_accessor :description
2953
2831
 
2954
- # To organize findings, these labels will be added to each finding.
2955
- # Label keys must be between 1 and 63 characters long and must conform
2956
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2957
- # Label values must be between 0 and 63 characters long and must conform
2958
- # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2959
- # No more than 10 labels can be associated with a given finding.
2960
- # Examples:
2961
- # * `"environment" : "production"`
2962
- # * `"pipeline" : "etl"`
2832
+ # To organize findings, these labels will be added to each finding. Label keys
2833
+ # must be between 1 and 63 characters long and must conform to the following
2834
+ # regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between
2835
+ # 0 and 63 characters long and must conform to the regular expression `([a-z]([-
2836
+ # a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given
2837
+ # finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
2963
2838
  # Corresponds to the JSON property `labels`
2964
2839
  # @return [Hash<String,String>]
2965
2840
  attr_accessor :labels
2966
2841
 
2967
- # These are labels that each inspection request must include within their
2968
- # 'finding_labels' map. Request may contain others, but any missing one of
2969
- # these will be rejected.
2970
- # Label keys must be between 1 and 63 characters long and must conform
2971
- # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
2972
- # No more than 10 keys can be required.
2842
+ # These are labels that each inspection request must include within their '
2843
+ # finding_labels' map. Request may contain others, but any missing one of these
2844
+ # will be rejected. Label keys must be between 1 and 63 characters long and must
2845
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No
2846
+ # more than 10 keys can be required.
2973
2847
  # Corresponds to the JSON property `requiredFindingLabelKeys`
2974
2848
  # @return [Array<String>]
2975
2849
  attr_accessor :required_finding_label_keys
@@ -3048,11 +2922,11 @@ module Google
3048
2922
  class GooglePrivacyDlpV2InfoType
3049
2923
  include Google::Apis::Core::Hashable
3050
2924
 
3051
- # Name of the information type. Either a name of your choosing when
3052
- # creating a CustomInfoType, or one of the names listed
3053
- # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
3054
- # a built-in type. When sending Cloud DLP results to Data Catalog, infoType
3055
- # names should conform to the pattern `[A-Za-z0-9$-_]`1,64``.
2925
+ # Name of the information type. Either a name of your choosing when creating a
2926
+ # CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/
2927
+ # docs/infotypes-reference when specifying a built-in type. When sending Cloud
2928
+ # DLP results to Data Catalog, infoType names should conform to the pattern `[A-
2929
+ # Za-z0-9$-_]`1,64``.
3056
2930
  # Corresponds to the JSON property `name`
3057
2931
  # @return [String]
3058
2932
  attr_accessor :name
@@ -3105,8 +2979,8 @@ module Google
3105
2979
  end
3106
2980
  end
3107
2981
 
3108
- # Max findings configuration per infoType, per content item or long
3109
- # running DlpJob.
2982
+ # Max findings configuration per infoType, per content item or long running
2983
+ # DlpJob.
3110
2984
  class GooglePrivacyDlpV2InfoTypeLimit
3111
2985
  include Google::Apis::Core::Hashable
3112
2986
 
@@ -3156,14 +3030,13 @@ module Google
3156
3030
  end
3157
3031
  end
3158
3032
 
3159
- # A transformation to apply to text that is identified as a specific
3160
- # info_type.
3033
+ # A transformation to apply to text that is identified as a specific info_type.
3161
3034
  class GooglePrivacyDlpV2InfoTypeTransformation
3162
3035
  include Google::Apis::Core::Hashable
3163
3036
 
3164
- # InfoTypes to apply the transformation to. An empty list will cause
3165
- # this transformation to apply to all findings that correspond to
3166
- # infoTypes that were requested in `InspectConfig`.
3037
+ # InfoTypes to apply the transformation to. An empty list will cause this
3038
+ # transformation to apply to all findings that correspond to infoTypes that were
3039
+ # requested in `InspectConfig`.
3167
3040
  # Corresponds to the JSON property `infoTypes`
3168
3041
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
3169
3042
  attr_accessor :info_types
@@ -3184,15 +3057,14 @@ module Google
3184
3057
  end
3185
3058
  end
3186
3059
 
3187
- # A type of transformation that will scan unstructured text and
3188
- # apply various `PrimitiveTransformation`s to each finding, where the
3189
- # transformation is applied to only values that were identified as a specific
3190
- # info_type.
3060
+ # A type of transformation that will scan unstructured text and apply various `
3061
+ # PrimitiveTransformation`s to each finding, where the transformation is applied
3062
+ # to only values that were identified as a specific info_type.
3191
3063
  class GooglePrivacyDlpV2InfoTypeTransformations
3192
3064
  include Google::Apis::Core::Hashable
3193
3065
 
3194
- # Required. Transformation for each infoType. Cannot specify more than one
3195
- # for a given infoType.
3066
+ # Required. Transformation for each infoType. Cannot specify more than one for a
3067
+ # given infoType.
3196
3068
  # Corresponds to the JSON property `transformations`
3197
3069
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation>]
3198
3070
  attr_accessor :transformations
@@ -3207,20 +3079,19 @@ module Google
3207
3079
  end
3208
3080
  end
3209
3081
 
3210
- # Configuration description of the scanning process.
3211
- # When used with redactContent only info_types and min_likelihood are currently
3212
- # used.
3082
+ # Configuration description of the scanning process. When used with
3083
+ # redactContent only info_types and min_likelihood are currently used.
3213
3084
  class GooglePrivacyDlpV2InspectConfig
3214
3085
  include Google::Apis::Core::Hashable
3215
3086
 
3216
- # List of options defining data content to scan.
3217
- # If empty, text, images, and other content will be included.
3087
+ # List of options defining data content to scan. If empty, text, images, and
3088
+ # other content will be included.
3218
3089
  # Corresponds to the JSON property `contentOptions`
3219
3090
  # @return [Array<String>]
3220
3091
  attr_accessor :content_options
3221
3092
 
3222
- # CustomInfoTypes provided by the user. See
3223
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
3093
+ # CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/
3094
+ # creating-custom-infotypes to learn more.
3224
3095
  # Corresponds to the JSON property `customInfoTypes`
3225
3096
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
3226
3097
  attr_accessor :custom_info_types
@@ -3238,14 +3109,13 @@ module Google
3238
3109
  attr_accessor :include_quote
3239
3110
  alias_method :include_quote?, :include_quote
3240
3111
 
3241
- # Restricts what info_types to look for. The values must correspond to
3242
- # InfoType values returned by ListInfoTypes or listed at
3243
- # https://cloud.google.com/dlp/docs/infotypes-reference.
3244
- # When no InfoTypes or CustomInfoTypes are specified in a request, the
3245
- # system may automatically choose what detectors to run. By default this may
3246
- # be all types, but may change over time as detectors are updated.
3247
- # If you need precise control and predictability as to what detectors are
3248
- # run you should specify specific InfoTypes listed in the reference,
3112
+ # Restricts what info_types to look for. The values must correspond to InfoType
3113
+ # values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/
3114
+ # docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified
3115
+ # in a request, the system may automatically choose what detectors to run. By
3116
+ # default this may be all types, but may change over time as detectors are
3117
+ # updated. If you need precise control and predictability as to what detectors
3118
+ # are run you should specify specific InfoTypes listed in the reference,
3249
3119
  # otherwise a default list will be used, which may change over time.
3250
3120
  # Corresponds to the JSON property `infoTypes`
3251
3121
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
@@ -3256,16 +3126,15 @@ module Google
3256
3126
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits]
3257
3127
  attr_accessor :limits
3258
3128
 
3259
- # Only returns findings equal or above this threshold. The default is
3260
- # POSSIBLE.
3129
+ # Only returns findings equal or above this threshold. The default is POSSIBLE.
3261
3130
  # See https://cloud.google.com/dlp/docs/likelihood to learn more.
3262
3131
  # Corresponds to the JSON property `minLikelihood`
3263
3132
  # @return [String]
3264
3133
  attr_accessor :min_likelihood
3265
3134
 
3266
- # Set of rules to apply to the findings for this InspectConfig.
3267
- # Exclusion rules, contained in the set are executed in the end, other
3268
- # rules are executed in the order they are specified for each info type.
3135
+ # Set of rules to apply to the findings for this InspectConfig. Exclusion rules,
3136
+ # contained in the set are executed in the end, other rules are executed in the
3137
+ # order they are specified for each info type.
3269
3138
  # Corresponds to the JSON property `ruleSet`
3270
3139
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet>]
3271
3140
  attr_accessor :rule_set
@@ -3291,18 +3160,16 @@ module Google
3291
3160
  class GooglePrivacyDlpV2InspectContentRequest
3292
3161
  include Google::Apis::Core::Hashable
3293
3162
 
3294
- # Configuration description of the scanning process.
3295
- # When used with redactContent only info_types and min_likelihood are currently
3296
- # used.
3163
+ # Configuration description of the scanning process. When used with
3164
+ # redactContent only info_types and min_likelihood are currently used.
3297
3165
  # Corresponds to the JSON property `inspectConfig`
3298
3166
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3299
3167
  attr_accessor :inspect_config
3300
3168
 
3301
- # Template to use. Any configuration directly specified in
3302
- # inspect_config will override those set in the template. Singular fields
3303
- # that are set in this request will replace their corresponding fields in the
3304
- # template. Repeated fields are appended. Singular sub-messages and groups
3305
- # are recursively merged.
3169
+ # Template to use. Any configuration directly specified in inspect_config will
3170
+ # override those set in the template. Singular fields that are set in this
3171
+ # request will replace their corresponding fields in the template. Repeated
3172
+ # fields are appended. Singular sub-messages and groups are recursively merged.
3306
3173
  # Corresponds to the JSON property `inspectTemplateName`
3307
3174
  # @return [String]
3308
3175
  attr_accessor :inspect_template_name
@@ -3383,15 +3250,14 @@ module Google
3383
3250
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Action>]
3384
3251
  attr_accessor :actions
3385
3252
 
3386
- # Configuration description of the scanning process.
3387
- # When used with redactContent only info_types and min_likelihood are currently
3388
- # used.
3253
+ # Configuration description of the scanning process. When used with
3254
+ # redactContent only info_types and min_likelihood are currently used.
3389
3255
  # Corresponds to the JSON property `inspectConfig`
3390
3256
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3391
3257
  attr_accessor :inspect_config
3392
3258
 
3393
- # If provided, will be used as the default for all values in InspectConfig.
3394
- # `inspect_config` will be merged into the values persisted as part of the
3259
+ # If provided, will be used as the default for all values in InspectConfig. `
3260
+ # inspect_config` will be merged into the values persisted as part of the
3395
3261
  # template.
3396
3262
  # Corresponds to the JSON property `inspectTemplateName`
3397
3263
  # @return [String]
@@ -3424,12 +3290,11 @@ module Google
3424
3290
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Finding>]
3425
3291
  attr_accessor :findings
3426
3292
 
3427
- # If true, then this item might have more findings than were returned,
3428
- # and the findings returned are an arbitrary subset of all findings.
3429
- # The findings list might be truncated because the input items were too
3430
- # large, or because the server reached the maximum amount of resources
3431
- # allowed for a single API call. For best results, divide the input into
3432
- # smaller batches.
3293
+ # If true, then this item might have more findings than were returned, and the
3294
+ # findings returned are an arbitrary subset of all findings. The findings list
3295
+ # might be truncated because the input items were too large, or because the
3296
+ # server reached the maximum amount of resources allowed for a single API call.
3297
+ # For best results, divide the input into smaller batches.
3433
3298
  # Corresponds to the JSON property `findingsTruncated`
3434
3299
  # @return [Boolean]
3435
3300
  attr_accessor :findings_truncated
@@ -3448,8 +3313,8 @@ module Google
3448
3313
 
3449
3314
  # The inspectTemplate contains a configuration (set of types of sensitive data
3450
3315
  # to be detected) to be used anywhere you otherwise would normally specify
3451
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
3452
- # to learn more.
3316
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
3317
+ # learn more.
3453
3318
  class GooglePrivacyDlpV2InspectTemplate
3454
3319
  include Google::Apis::Core::Hashable
3455
3320
 
@@ -3468,17 +3333,15 @@ module Google
3468
3333
  # @return [String]
3469
3334
  attr_accessor :display_name
3470
3335
 
3471
- # Configuration description of the scanning process.
3472
- # When used with redactContent only info_types and min_likelihood are currently
3473
- # used.
3336
+ # Configuration description of the scanning process. When used with
3337
+ # redactContent only info_types and min_likelihood are currently used.
3474
3338
  # Corresponds to the JSON property `inspectConfig`
3475
3339
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
3476
3340
  attr_accessor :inspect_config
3477
3341
 
3478
- # Output only. The template name.
3479
- # The template will have one of the following formats:
3480
- # `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
3481
- # `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
3342
+ # Output only. The template name. The template will have one of the following
3343
+ # formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/
3344
+ # ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
3482
3345
  # Corresponds to the JSON property `name`
3483
3346
  # @return [String]
3484
3347
  attr_accessor :name
@@ -3503,19 +3366,19 @@ module Google
3503
3366
  end
3504
3367
  end
3505
3368
 
3506
- # A single inspection rule to be applied to infoTypes, specified in
3507
- # `InspectionRuleSet`.
3369
+ # A single inspection rule to be applied to infoTypes, specified in `
3370
+ # InspectionRuleSet`.
3508
3371
  class GooglePrivacyDlpV2InspectionRule
3509
3372
  include Google::Apis::Core::Hashable
3510
3373
 
3511
- # The rule that specifies conditions when findings of infoTypes specified in
3512
- # `InspectionRuleSet` are removed from results.
3374
+ # The rule that specifies conditions when findings of infoTypes specified in `
3375
+ # InspectionRuleSet` are removed from results.
3513
3376
  # Corresponds to the JSON property `exclusionRule`
3514
3377
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule]
3515
3378
  attr_accessor :exclusion_rule
3516
3379
 
3517
- # The rule that adjusts the likelihood of findings within a certain
3518
- # proximity of hotwords.
3380
+ # The rule that adjusts the likelihood of findings within a certain proximity of
3381
+ # hotwords.
3519
3382
  # Corresponds to the JSON property `hotwordRule`
3520
3383
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
3521
3384
  attr_accessor :hotword_rule
@@ -3557,8 +3420,8 @@ module Google
3557
3420
  end
3558
3421
  end
3559
3422
 
3560
- # Enable email notification to project owners and editors on jobs's
3561
- # completion/failure.
3423
+ # Enable email notification to project owners and editors on jobs's completion/
3424
+ # failure.
3562
3425
  class GooglePrivacyDlpV2JobNotificationEmails
3563
3426
  include Google::Apis::Core::Hashable
3564
3427
 
@@ -3571,8 +3434,8 @@ module Google
3571
3434
  end
3572
3435
  end
3573
3436
 
3574
- # Contains a configuration to make dlp api calls on a repeating basis.
3575
- # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
3437
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
3438
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
3576
3439
  class GooglePrivacyDlpV2JobTrigger
3577
3440
  include Google::Apis::Core::Hashable
3578
3441
 
@@ -3592,10 +3455,9 @@ module Google
3592
3455
  attr_accessor :display_name
3593
3456
 
3594
3457
  # Output only. A stream of errors encountered when the trigger was activated.
3595
- # Repeated
3596
- # errors may result in the JobTrigger automatically being paused.
3597
- # Will return the last 100 errors. Whenever the JobTrigger is modified
3598
- # this list will be cleared.
3458
+ # Repeated errors may result in the JobTrigger automatically being paused. Will
3459
+ # return the last 100 errors. Whenever the JobTrigger is modified this list will
3460
+ # be cleared.
3599
3461
  # Corresponds to the JSON property `errors`
3600
3462
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
3601
3463
  attr_accessor :errors
@@ -3611,8 +3473,8 @@ module Google
3611
3473
  attr_accessor :last_run_time
3612
3474
 
3613
3475
  # Unique resource name for the triggeredJob, assigned by the service when the
3614
- # triggeredJob is created, for example
3615
- # `projects/dlp-test-project/jobTriggers/53234423`.
3476
+ # triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/
3477
+ # 53234423`.
3616
3478
  # Corresponds to the JSON property `name`
3617
3479
  # @return [String]
3618
3480
  attr_accessor :name
@@ -3622,9 +3484,9 @@ module Google
3622
3484
  # @return [String]
3623
3485
  attr_accessor :status
3624
3486
 
3625
- # A list of triggers which will be OR'ed together. Only one in the list
3626
- # needs to trigger for a job to be started. The list may contain only
3627
- # a single Schedule trigger and must have at least one object.
3487
+ # A list of triggers which will be OR'ed together. Only one in the list needs to
3488
+ # trigger for a job to be started. The list may contain only a single Schedule
3489
+ # trigger and must have at least one object.
3628
3490
  # Corresponds to the JSON property `triggers`
3629
3491
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger>]
3630
3492
  attr_accessor :triggers
@@ -3657,20 +3519,19 @@ module Google
3657
3519
  class GooglePrivacyDlpV2KAnonymityConfig
3658
3520
  include Google::Apis::Core::Hashable
3659
3521
 
3660
- # An entity in a dataset is a field or set of fields that correspond to a
3661
- # single person. For example, in medical records the `EntityId` might be a
3662
- # patient identifier, or for financial records it might be an account
3663
- # identifier. This message is used when generalizations or analysis must take
3664
- # into account that multiple rows correspond to the same entity.
3522
+ # An entity in a dataset is a field or set of fields that correspond to a single
3523
+ # person. For example, in medical records the `EntityId` might be a patient
3524
+ # identifier, or for financial records it might be an account identifier. This
3525
+ # message is used when generalizations or analysis must take into account that
3526
+ # multiple rows correspond to the same entity.
3665
3527
  # Corresponds to the JSON property `entityId`
3666
3528
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId]
3667
3529
  attr_accessor :entity_id
3668
3530
 
3669
- # Set of fields to compute k-anonymity over. When multiple fields are
3670
- # specified, they are considered a single composite key. Structs and
3671
- # repeated data types are not supported; however, nested fields are
3672
- # supported so long as they are not structs themselves or nested within
3673
- # a repeated field.
3531
+ # Set of fields to compute k-anonymity over. When multiple fields are specified,
3532
+ # they are considered a single composite key. Structs and repeated data types
3533
+ # are not supported; however, nested fields are supported so long as they are
3534
+ # not structs themselves or nested within a repeated field.
3674
3535
  # Corresponds to the JSON property `quasiIds`
3675
3536
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
3676
3537
  attr_accessor :quasi_ids
@@ -3690,15 +3551,15 @@ module Google
3690
3551
  class GooglePrivacyDlpV2KAnonymityEquivalenceClass
3691
3552
  include Google::Apis::Core::Hashable
3692
3553
 
3693
- # Size of the equivalence class, for example number of rows with the
3694
- # above set of values.
3554
+ # Size of the equivalence class, for example number of rows with the above set
3555
+ # of values.
3695
3556
  # Corresponds to the JSON property `equivalenceClassSize`
3696
3557
  # @return [Fixnum]
3697
3558
  attr_accessor :equivalence_class_size
3698
3559
 
3699
- # Set of values defining the equivalence class. One value per
3700
- # quasi-identifier column in the original KAnonymity metric message.
3701
- # The order is always the same as the original request.
3560
+ # Set of values defining the equivalence class. One value per quasi-identifier
3561
+ # column in the original KAnonymity metric message. The order is always the same
3562
+ # as the original request.
3702
3563
  # Corresponds to the JSON property `quasiIdsValues`
3703
3564
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
3704
3565
  attr_accessor :quasi_ids_values
@@ -3728,8 +3589,8 @@ module Google
3728
3589
  # @return [Fixnum]
3729
3590
  attr_accessor :bucket_value_count
3730
3591
 
3731
- # Sample of equivalence classes in this bucket. The total number of
3732
- # classes returned per bucket is capped at 20.
3592
+ # Sample of equivalence classes in this bucket. The total number of classes
3593
+ # returned per bucket is capped at 20.
3733
3594
  # Corresponds to the JSON property `bucketValues`
3734
3595
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityEquivalenceClass>]
3735
3596
  attr_accessor :bucket_values
@@ -3777,32 +3638,31 @@ module Google
3777
3638
  end
3778
3639
  end
3779
3640
 
3780
- # Reidentifiability metric. This corresponds to a risk model similar to what
3781
- # is called "journalist risk" in the literature, except the attack dataset is
3782
- # statistically modeled instead of being perfectly known. This can be done
3783
- # using publicly available data (like the US Census), or using a custom
3784
- # statistical model (indicated as one or several BigQuery tables), or by
3785
- # extrapolating from the distribution of values in the input dataset.
3641
+ # Reidentifiability metric. This corresponds to a risk model similar to what is
3642
+ # called "journalist risk" in the literature, except the attack dataset is
3643
+ # statistically modeled instead of being perfectly known. This can be done using
3644
+ # publicly available data (like the US Census), or using a custom statistical
3645
+ # model (indicated as one or several BigQuery tables), or by extrapolating from
3646
+ # the distribution of values in the input dataset.
3786
3647
  class GooglePrivacyDlpV2KMapEstimationConfig
3787
3648
  include Google::Apis::Core::Hashable
3788
3649
 
3789
- # Several auxiliary tables can be used in the analysis. Each custom_tag
3790
- # used to tag a quasi-identifiers column must appear in exactly one column
3791
- # of one auxiliary table.
3650
+ # Several auxiliary tables can be used in the analysis. Each custom_tag used to
3651
+ # tag a quasi-identifiers column must appear in exactly one column of one
3652
+ # auxiliary table.
3792
3653
  # Corresponds to the JSON property `auxiliaryTables`
3793
3654
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2AuxiliaryTable>]
3794
3655
  attr_accessor :auxiliary_tables
3795
3656
 
3796
3657
  # Required. Fields considered to be quasi-identifiers. No two columns can have
3797
- # the
3798
- # same tag.
3658
+ # the same tag.
3799
3659
  # Corresponds to the JSON property `quasiIds`
3800
3660
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TaggedField>]
3801
3661
  attr_accessor :quasi_ids
3802
3662
 
3803
- # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
3804
- # Set if no column is tagged with a region-specific InfoType (like
3805
- # US_ZIP_5) or a region code.
3663
+ # ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no
3664
+ # column is tagged with a region-specific InfoType (like US_ZIP_5) or a region
3665
+ # code.
3806
3666
  # Corresponds to the JSON property `regionCode`
3807
3667
  # @return [String]
3808
3668
  attr_accessor :region_code
@@ -3820,13 +3680,11 @@ module Google
3820
3680
  end
3821
3681
 
3822
3682
  # A KMapEstimationHistogramBucket message with the following values:
3823
- # min_anonymity: 3
3824
- # max_anonymity: 5
3825
- # frequency: 42
3826
- # means that there are 42 records whose quasi-identifier values correspond
3827
- # to 3, 4 or 5 people in the overlying population. An important particular
3828
- # case is when min_anonymity = max_anonymity = 1: the frequency field then
3829
- # corresponds to the number of uniquely identifiable records.
3683
+ # min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42
3684
+ # records whose quasi-identifier values correspond to 3, 4 or 5 people in the
3685
+ # overlying population. An important particular case is when min_anonymity =
3686
+ # max_anonymity = 1: the frequency field then corresponds to the number of
3687
+ # uniquely identifiable records.
3830
3688
  class GooglePrivacyDlpV2KMapEstimationHistogramBucket
3831
3689
  include Google::Apis::Core::Hashable
3832
3690
 
@@ -3840,8 +3698,8 @@ module Google
3840
3698
  # @return [Fixnum]
3841
3699
  attr_accessor :bucket_value_count
3842
3700
 
3843
- # Sample of quasi-identifier tuple values in this bucket. The total
3844
- # number of classes returned per bucket is capped at 20.
3701
+ # Sample of quasi-identifier tuple values in this bucket. The total number of
3702
+ # classes returned per bucket is capped at 20.
3845
3703
  # Corresponds to the JSON property `bucketValues`
3846
3704
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationQuasiIdValues>]
3847
3705
  attr_accessor :bucket_values
@@ -3900,14 +3758,12 @@ module Google
3900
3758
  class GooglePrivacyDlpV2KMapEstimationResult
3901
3759
  include Google::Apis::Core::Hashable
3902
3760
 
3903
- # The intervals [min_anonymity, max_anonymity] do not overlap. If a value
3904
- # doesn't correspond to any such interval, the associated frequency is
3905
- # zero. For example, the following records:
3906
- # `min_anonymity: 1, max_anonymity: 1, frequency: 17`
3907
- # `min_anonymity: 2, max_anonymity: 3, frequency: 42`
3908
- # `min_anonymity: 5, max_anonymity: 10, frequency: 99`
3909
- # mean that there are no record with an estimated anonymity of 4, 5, or
3910
- # larger than 10.
3761
+ # The intervals [min_anonymity, max_anonymity] do not overlap. If a value doesn'
3762
+ # t correspond to any such interval, the associated frequency is zero. For
3763
+ # example, the following records: `min_anonymity: 1, max_anonymity: 1, frequency:
3764
+ # 17` `min_anonymity: 2, max_anonymity: 3, frequency: 42` `min_anonymity: 5,
3765
+ # max_anonymity: 10, frequency: 99` mean that there are no record with an
3766
+ # estimated anonymity of 4, 5, or larger than 10.
3911
3767
  # Corresponds to the JSON property `kMapEstimationHistogram`
3912
3768
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationHistogramBucket>]
3913
3769
  attr_accessor :k_map_estimation_histogram
@@ -3922,30 +3778,26 @@ module Google
3922
3778
  end
3923
3779
  end
3924
3780
 
3925
- # A unique identifier for a Datastore entity.
3926
- # If a key's partition ID or any of its path kinds or names are
3927
- # reserved/read-only, the key is reserved/read-only.
3781
+ # A unique identifier for a Datastore entity. If a key's partition ID or any of
3782
+ # its path kinds or names are reserved/read-only, the key is reserved/read-only.
3928
3783
  # A reserved/read-only key is forbidden in certain documented contexts.
3929
3784
  class GooglePrivacyDlpV2Key
3930
3785
  include Google::Apis::Core::Hashable
3931
3786
 
3932
- # Datastore partition ID.
3933
- # A partition ID identifies a grouping of entities. The grouping is always
3934
- # by project and namespace, however the namespace ID may be empty.
3935
- # A partition ID contains several dimensions:
3936
- # project ID and namespace ID.
3787
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
3788
+ # grouping is always by project and namespace, however the namespace ID may be
3789
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
3937
3790
  # Corresponds to the JSON property `partitionId`
3938
3791
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PartitionId]
3939
3792
  attr_accessor :partition_id
3940
3793
 
3941
- # The entity path.
3942
- # An entity path consists of one or more elements composed of a kind and a
3943
- # string or numerical identifier, which identify entities. The first
3944
- # element identifies a _root entity_, the second element identifies
3945
- # a _child_ of the root entity, the third element identifies a child of the
3946
- # second entity, and so forth. The entities identified by all prefixes of
3947
- # the path are called the element's _ancestors_.
3948
- # A path can never be empty, and a path can have at most 100 elements.
3794
+ # The entity path. An entity path consists of one or more elements composed of a
3795
+ # kind and a string or numerical identifier, which identify entities. The first
3796
+ # element identifies a _root entity_, the second element identifies a _child_ of
3797
+ # the root entity, the third element identifies a child of the second entity,
3798
+ # and so forth. The entities identified by all prefixes of the path are called
3799
+ # the element's _ancestors_. A path can never be empty, and a path can have at
3800
+ # most 100 elements.
3949
3801
  # Corresponds to the JSON property `path`
3950
3802
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PathElement>]
3951
3803
  attr_accessor :path
@@ -3980,11 +3832,10 @@ module Google
3980
3832
  end
3981
3833
  end
3982
3834
 
3983
- # Include to use an existing data crypto key wrapped by KMS.
3984
- # The wrapped key must be a 128/192/256 bit key.
3985
- # Authorization requires the following IAM permissions when sending a request
3986
- # to perform a crypto transformation using a kms-wrapped crypto key:
3987
- # dlp.kms.encrypt
3835
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
3836
+ # must be a 128/192/256 bit key. Authorization requires the following IAM
3837
+ # permissions when sending a request to perform a crypto transformation using a
3838
+ # kms-wrapped crypto key: dlp.kms.encrypt
3988
3839
  class GooglePrivacyDlpV2KmsWrappedCryptoKey
3989
3840
  include Google::Apis::Core::Hashable
3990
3841
 
@@ -4014,9 +3865,9 @@ module Google
4014
3865
  class GooglePrivacyDlpV2LDiversityConfig
4015
3866
  include Google::Apis::Core::Hashable
4016
3867
 
4017
- # Set of quasi-identifiers indicating how equivalence classes are
4018
- # defined for the l-diversity computation. When multiple fields are
4019
- # specified, they are considered a single composite key.
3868
+ # Set of quasi-identifiers indicating how equivalence classes are defined for
3869
+ # the l-diversity computation. When multiple fields are specified, they are
3870
+ # considered a single composite key.
4020
3871
  # Corresponds to the JSON property `quasiIds`
4021
3872
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
4022
3873
  attr_accessor :quasi_ids
@@ -4051,8 +3902,8 @@ module Google
4051
3902
  # @return [Fixnum]
4052
3903
  attr_accessor :num_distinct_sensitive_values
4053
3904
 
4054
- # Quasi-identifier values defining the k-anonymity equivalence
4055
- # class. The order is always the same as the original request.
3905
+ # Quasi-identifier values defining the k-anonymity equivalence class. The order
3906
+ # is always the same as the original request.
4056
3907
  # Corresponds to the JSON property `quasiIdsValues`
4057
3908
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
4058
3909
  attr_accessor :quasi_ids_values
@@ -4089,20 +3940,20 @@ module Google
4089
3940
  # @return [Fixnum]
4090
3941
  attr_accessor :bucket_value_count
4091
3942
 
4092
- # Sample of equivalence classes in this bucket. The total number of
4093
- # classes returned per bucket is capped at 20.
3943
+ # Sample of equivalence classes in this bucket. The total number of classes
3944
+ # returned per bucket is capped at 20.
4094
3945
  # Corresponds to the JSON property `bucketValues`
4095
3946
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityEquivalenceClass>]
4096
3947
  attr_accessor :bucket_values
4097
3948
 
4098
- # Lower bound on the sensitive value frequencies of the equivalence
4099
- # classes in this bucket.
3949
+ # Lower bound on the sensitive value frequencies of the equivalence classes in
3950
+ # this bucket.
4100
3951
  # Corresponds to the JSON property `sensitiveValueFrequencyLowerBound`
4101
3952
  # @return [Fixnum]
4102
3953
  attr_accessor :sensitive_value_frequency_lower_bound
4103
3954
 
4104
- # Upper bound on the sensitive value frequencies of the equivalence
4105
- # classes in this bucket.
3955
+ # Upper bound on the sensitive value frequencies of the equivalence classes in
3956
+ # this bucket.
4106
3957
  # Corresponds to the JSON property `sensitiveValueFrequencyUpperBound`
4107
3958
  # @return [Fixnum]
4108
3959
  attr_accessor :sensitive_value_frequency_upper_bound
@@ -4141,11 +3992,10 @@ module Google
4141
3992
  end
4142
3993
 
4143
3994
  # Configuration for a custom dictionary created from a data source of any size
4144
- # up to the maximum size defined in the
4145
- # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
4146
- # dictionary creation are stored in the specified Google Cloud Storage
4147
- # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
4148
- # that satisfy the size requirements.
3995
+ # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
3996
+ # limits) page. The artifacts of dictionary creation are stored in the specified
3997
+ # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
3998
+ # smaller dictionaries that satisfy the size requirements.
4149
3999
  class GooglePrivacyDlpV2LargeCustomDictionaryConfig
4150
4000
  include Google::Apis::Core::Hashable
4151
4001
 
@@ -4196,9 +4046,8 @@ module Google
4196
4046
  end
4197
4047
 
4198
4048
  # Skips the data without modifying it if the requested transformation would
4199
- # cause an error. For example, if a `DateShift` transformation were applied
4200
- # an an IP address, this mode would leave the IP address unchanged in the
4201
- # response.
4049
+ # cause an error. For example, if a `DateShift` transformation were applied an
4050
+ # an IP address, this mode would leave the IP address unchanged in the response.
4202
4051
  class GooglePrivacyDlpV2LeaveUntransformed
4203
4052
  include Google::Apis::Core::Hashable
4204
4053
 
@@ -4211,8 +4060,8 @@ module Google
4211
4060
  end
4212
4061
  end
4213
4062
 
4214
- # Message for specifying an adjustment to the likelihood of a finding as
4215
- # part of a detection rule.
4063
+ # Message for specifying an adjustment to the likelihood of a finding as part of
4064
+ # a detection rule.
4216
4065
  class GooglePrivacyDlpV2LikelihoodAdjustment
4217
4066
  include Google::Apis::Core::Hashable
4218
4067
 
@@ -4221,14 +4070,13 @@ module Google
4221
4070
  # @return [String]
4222
4071
  attr_accessor :fixed_likelihood
4223
4072
 
4224
- # Increase or decrease the likelihood by the specified number of
4225
- # levels. For example, if a finding would be `POSSIBLE` without the
4226
- # detection rule and `relative_likelihood` is 1, then it is upgraded to
4227
- # `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
4228
- # Likelihood may never drop below `VERY_UNLIKELY` or exceed
4229
- # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
4230
- # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
4231
- # a final likelihood of `LIKELY`.
4073
+ # Increase or decrease the likelihood by the specified number of levels. For
4074
+ # example, if a finding would be `POSSIBLE` without the detection rule and `
4075
+ # relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -
4076
+ # 1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `
4077
+ # VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1
4078
+ # followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will
4079
+ # result in a final likelihood of `LIKELY`.
4232
4080
  # Corresponds to the JSON property `relativeLikelihood`
4233
4081
  # @return [Fixnum]
4234
4082
  attr_accessor :relative_likelihood
@@ -4254,8 +4102,8 @@ module Google
4254
4102
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate>]
4255
4103
  attr_accessor :deidentify_templates
4256
4104
 
4257
- # If the next page is available then the next page token to be used
4258
- # in following ListDeidentifyTemplates request.
4105
+ # If the next page is available then the next page token to be used in following
4106
+ # ListDeidentifyTemplates request.
4259
4107
  # Corresponds to the JSON property `nextPageToken`
4260
4108
  # @return [String]
4261
4109
  attr_accessor :next_page_token
@@ -4324,8 +4172,8 @@ module Google
4324
4172
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate>]
4325
4173
  attr_accessor :inspect_templates
4326
4174
 
4327
- # If the next page is available then the next page token to be used
4328
- # in following ListInspectTemplates request.
4175
+ # If the next page is available then the next page token to be used in following
4176
+ # ListInspectTemplates request.
4329
4177
  # Corresponds to the JSON property `nextPageToken`
4330
4178
  # @return [String]
4331
4179
  attr_accessor :next_page_token
@@ -4350,8 +4198,8 @@ module Google
4350
4198
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger>]
4351
4199
  attr_accessor :job_triggers
4352
4200
 
4353
- # If the next page is available then the next page token to be used
4354
- # in following ListJobTriggers request.
4201
+ # If the next page is available then the next page token to be used in following
4202
+ # ListJobTriggers request.
4355
4203
  # Corresponds to the JSON property `nextPageToken`
4356
4204
  # @return [String]
4357
4205
  attr_accessor :next_page_token
@@ -4371,8 +4219,8 @@ module Google
4371
4219
  class GooglePrivacyDlpV2ListStoredInfoTypesResponse
4372
4220
  include Google::Apis::Core::Hashable
4373
4221
 
4374
- # If the next page is available then the next page token to be used
4375
- # in following ListStoredInfoTypes request.
4222
+ # If the next page is available then the next page token to be used in following
4223
+ # ListStoredInfoTypes request.
4376
4224
  # Corresponds to the JSON property `nextPageToken`
4377
4225
  # @return [String]
4378
4226
  attr_accessor :next_page_token
@@ -4407,14 +4255,14 @@ module Google
4407
4255
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Range]
4408
4256
  attr_accessor :codepoint_range
4409
4257
 
4410
- # Represents a container that may contain DLP findings.
4411
- # Examples of a container include a file, table, or database record.
4258
+ # Represents a container that may contain DLP findings. Examples of a container
4259
+ # include a file, table, or database record.
4412
4260
  # Corresponds to the JSON property `container`
4413
4261
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
4414
4262
  attr_accessor :container
4415
4263
 
4416
- # List of nested objects pointing to the precise location of the finding
4417
- # within the file or record.
4264
+ # List of nested objects pointing to the precise location of the finding within
4265
+ # the file or record.
4418
4266
  # Corresponds to the JSON property `contentLocations`
4419
4267
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>]
4420
4268
  attr_accessor :content_locations
@@ -4432,8 +4280,7 @@ module Google
4432
4280
  end
4433
4281
  end
4434
4282
 
4435
- # Job trigger option for hybrid jobs. Jobs must be manually created
4436
- # and finished.
4283
+ # Job trigger option for hybrid jobs. Jobs must be manually created and finished.
4437
4284
  class GooglePrivacyDlpV2Manual
4438
4285
  include Google::Apis::Core::Hashable
4439
4286
 
@@ -4471,8 +4318,8 @@ module Google
4471
4318
  end
4472
4319
  end
4473
4320
 
4474
- # Compute numerical stats over an individual column, including
4475
- # min, max, and quantiles.
4321
+ # Compute numerical stats over an individual column, including min, max, and
4322
+ # quantiles.
4476
4323
  class GooglePrivacyDlpV2NumericalStatsConfig
4477
4324
  include Google::Apis::Core::Hashable
4478
4325
 
@@ -4495,28 +4342,26 @@ module Google
4495
4342
  class GooglePrivacyDlpV2NumericalStatsResult
4496
4343
  include Google::Apis::Core::Hashable
4497
4344
 
4498
- # Set of primitive values supported by the system.
4499
- # Note that for the purposes of inspection or transformation, the number
4500
- # of bytes considered to comprise a 'Value' is based on its representation
4501
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
4502
- # 123456789, the number of bytes would be counted as 9, even though an
4503
- # int64 only holds up to 8 bytes of data.
4345
+ # Set of primitive values supported by the system. Note that for the purposes of
4346
+ # inspection or transformation, the number of bytes considered to comprise a '
4347
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
4348
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
4349
+ # as 9, even though an int64 only holds up to 8 bytes of data.
4504
4350
  # Corresponds to the JSON property `maxValue`
4505
4351
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
4506
4352
  attr_accessor :max_value
4507
4353
 
4508
- # Set of primitive values supported by the system.
4509
- # Note that for the purposes of inspection or transformation, the number
4510
- # of bytes considered to comprise a 'Value' is based on its representation
4511
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
4512
- # 123456789, the number of bytes would be counted as 9, even though an
4513
- # int64 only holds up to 8 bytes of data.
4354
+ # Set of primitive values supported by the system. Note that for the purposes of
4355
+ # inspection or transformation, the number of bytes considered to comprise a '
4356
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
4357
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
4358
+ # as 9, even though an int64 only holds up to 8 bytes of data.
4514
4359
  # Corresponds to the JSON property `minValue`
4515
4360
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
4516
4361
  attr_accessor :min_value
4517
4362
 
4518
- # List of 99 values that partition the set of field values into 100 equal
4519
- # sized buckets.
4363
+ # List of 99 values that partition the set of field values into 100 equal sized
4364
+ # buckets.
4520
4365
  # Corresponds to the JSON property `quantileValues`
4521
4366
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
4522
4367
  attr_accessor :quantile_values
@@ -4537,24 +4382,21 @@ module Google
4537
4382
  class GooglePrivacyDlpV2OutputStorageConfig
4538
4383
  include Google::Apis::Core::Hashable
4539
4384
 
4540
- # Schema used for writing the findings for Inspect jobs. This field is only
4541
- # used for Inspect and must be unspecified for Risk jobs. Columns are derived
4542
- # from the `Finding` object. If appending to an existing table, any columns
4543
- # from the predefined schema that are missing will be added. No columns in
4544
- # the existing table will be deleted.
4545
- # If unspecified, then all available columns will be used for a new table or
4546
- # an (existing) table with no schema, and no changes will be made to an
4547
- # existing table that has a schema.
4548
- # Only for use with external storage.
4385
+ # Schema used for writing the findings for Inspect jobs. This field is only used
4386
+ # for Inspect and must be unspecified for Risk jobs. Columns are derived from
4387
+ # the `Finding` object. If appending to an existing table, any columns from the
4388
+ # predefined schema that are missing will be added. No columns in the existing
4389
+ # table will be deleted. If unspecified, then all available columns will be used
4390
+ # for a new table or an (existing) table with no schema, and no changes will be
4391
+ # made to an existing table that has a schema. Only for use with external
4392
+ # storage.
4549
4393
  # Corresponds to the JSON property `outputSchema`
4550
4394
  # @return [String]
4551
4395
  attr_accessor :output_schema
4552
4396
 
4553
4397
  # Message defining the location of a BigQuery table. A table is uniquely
4554
- # identified by its project_id, dataset_id, and table_name. Within a query
4555
- # a table is often referenced with a string in the format of:
4556
- # `<project_id>:<dataset_id>.<table_id>` or
4557
- # `<project_id>.<dataset_id>.<table_id>`.
4398
+ # identified by its project_id, dataset_id, and table_name. Within a query a
4399
+ # table is often referenced with a string in the format of: `:.` or `..`.
4558
4400
  # Corresponds to the JSON property `table`
4559
4401
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
4560
4402
  attr_accessor :table
@@ -4570,11 +4412,9 @@ module Google
4570
4412
  end
4571
4413
  end
4572
4414
 
4573
- # Datastore partition ID.
4574
- # A partition ID identifies a grouping of entities. The grouping is always
4575
- # by project and namespace, however the namespace ID may be empty.
4576
- # A partition ID contains several dimensions:
4577
- # project ID and namespace ID.
4415
+ # Datastore partition ID. A partition ID identifies a grouping of entities. The
4416
+ # grouping is always by project and namespace, however the namespace ID may be
4417
+ # empty. A partition ID contains several dimensions: project ID and namespace ID.
4578
4418
  class GooglePrivacyDlpV2PartitionId
4579
4419
  include Google::Apis::Core::Hashable
4580
4420
 
@@ -4599,31 +4439,26 @@ module Google
4599
4439
  end
4600
4440
  end
4601
4441
 
4602
- # A (kind, ID/name) pair used to construct a key path.
4603
- # If either name or ID is set, the element is complete.
4604
- # If neither is set, the element is incomplete.
4442
+ # A (kind, ID/name) pair used to construct a key path. If either name or ID is
4443
+ # set, the element is complete. If neither is set, the element is incomplete.
4605
4444
  class GooglePrivacyDlpV2PathElement
4606
4445
  include Google::Apis::Core::Hashable
4607
4446
 
4608
- # The auto-allocated ID of the entity.
4609
- # Never equal to zero. Values less than zero are discouraged and may not
4610
- # be supported in the future.
4447
+ # The auto-allocated ID of the entity. Never equal to zero. Values less than
4448
+ # zero are discouraged and may not be supported in the future.
4611
4449
  # Corresponds to the JSON property `id`
4612
4450
  # @return [Fixnum]
4613
4451
  attr_accessor :id
4614
4452
 
4615
- # The kind of the entity.
4616
- # A kind matching regex `__.*__` is reserved/read-only.
4617
- # A kind must not contain more than 1500 bytes when UTF-8 encoded.
4618
- # Cannot be `""`.
4453
+ # The kind of the entity. A kind matching regex `__.*__` is reserved/read-only.
4454
+ # A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`
4455
+ # .
4619
4456
  # Corresponds to the JSON property `kind`
4620
4457
  # @return [String]
4621
4458
  attr_accessor :kind
4622
4459
 
4623
- # The name of the entity.
4624
- # A name matching regex `__.*__` is reserved/read-only.
4625
- # A name must not be more than 1500 bytes when UTF-8 encoded.
4626
- # Cannot be `""`.
4460
+ # The name of the entity. A name matching regex `__.*__` is reserved/read-only.
4461
+ # A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
4627
4462
  # Corresponds to the JSON property `name`
4628
4463
  # @return [String]
4629
4464
  attr_accessor :name
@@ -4646,80 +4481,73 @@ module Google
4646
4481
 
4647
4482
  # Generalization function that buckets values based on ranges. The ranges and
4648
4483
  # replacement values are dynamically provided by the user for custom behavior,
4649
- # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH
4650
- # This can be used on
4651
- # data of type: number, long, string, timestamp.
4652
- # If the bound `Value` type differs from the type of data being transformed, we
4653
- # will first attempt converting the type of the data to be transformed to match
4654
- # the type of the bound before comparing.
4484
+ # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
4485
+ # type: number, long, string, timestamp. If the bound `Value` type differs from
4486
+ # the type of data being transformed, we will first attempt converting the type
4487
+ # of the data to be transformed to match the type of the bound before comparing.
4655
4488
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
4656
4489
  # Corresponds to the JSON property `bucketingConfig`
4657
4490
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
4658
4491
  attr_accessor :bucketing_config
4659
4492
 
4660
- # Partially mask a string by replacing a given number of characters with a
4661
- # fixed character. Masking can start from the beginning or end of the string.
4662
- # This can be used on data of any type (numbers, longs, and so on) and when
4663
- # de-identifying structured data we'll attempt to preserve the original data's
4664
- # type. (This allows you to take a long like 123 and modify it to a string like
4665
- # **3.
4493
+ # Partially mask a string by replacing a given number of characters with a fixed
4494
+ # character. Masking can start from the beginning or end of the string. This can
4495
+ # be used on data of any type (numbers, longs, and so on) and when de-
4496
+ # identifying structured data we'll attempt to preserve the original data's type.
4497
+ # (This allows you to take a long like 123 and modify it to a string like **3.
4666
4498
  # Corresponds to the JSON property `characterMaskConfig`
4667
4499
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CharacterMaskConfig]
4668
4500
  attr_accessor :character_mask_config
4669
4501
 
4670
4502
  # Pseudonymization method that generates deterministic encryption for the given
4671
- # input. Outputs a base64 encoded representation of the encrypted output.
4672
- # Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
4503
+ # input. Outputs a base64 encoded representation of the encrypted output. Uses
4504
+ # AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
4673
4505
  # Corresponds to the JSON property `cryptoDeterministicConfig`
4674
4506
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig]
4675
4507
  attr_accessor :crypto_deterministic_config
4676
4508
 
4677
4509
  # Pseudonymization method that generates surrogates via cryptographic hashing.
4678
- # Uses SHA-256.
4679
- # The key size must be either 32 or 64 bytes.
4680
- # Outputs a base64 encoded representation of the hashed output
4681
- # (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
4682
- # Currently, only string and integer values can be hashed.
4683
- # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
4510
+ # Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
4511
+ # encoded representation of the hashed output (for example,
4512
+ # L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
4513
+ # integer values can be hashed. See https://cloud.google.com/dlp/docs/
4514
+ # pseudonymization to learn more.
4684
4515
  # Corresponds to the JSON property `cryptoHashConfig`
4685
4516
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
4686
4517
  attr_accessor :crypto_hash_config
4687
4518
 
4688
- # Replaces an identifier with a surrogate using Format Preserving Encryption
4689
- # (FPE) with the FFX mode of operation; however when used in the
4690
- # `ReidentifyContent` API method, it serves the opposite function by reversing
4519
+ # Replaces an identifier with a surrogate using Format Preserving Encryption (
4520
+ # FPE) with the FFX mode of operation; however when used in the `
4521
+ # ReidentifyContent` API method, it serves the opposite function by reversing
4691
4522
  # the surrogate back into the original identifier. The identifier must be
4692
- # encoded as ASCII. For a given crypto key and context, the same identifier
4693
- # will be replaced with the same surrogate. Identifiers must be at least two
4523
+ # encoded as ASCII. For a given crypto key and context, the same identifier will
4524
+ # be replaced with the same surrogate. Identifiers must be at least two
4694
4525
  # characters long. In the case that the identifier is the empty string, it will
4695
4526
  # be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn
4696
- # more.
4697
- # Note: We recommend using CryptoDeterministicConfig for all use cases which
4698
- # do not require preserving the input alphabet space and size, plus warrant
4699
- # referential integrity.
4527
+ # more. Note: We recommend using CryptoDeterministicConfig for all use cases
4528
+ # which do not require preserving the input alphabet space and size, plus
4529
+ # warrant referential integrity.
4700
4530
  # Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
4701
4531
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]
4702
4532
  attr_accessor :crypto_replace_ffx_fpe_config
4703
4533
 
4704
4534
  # Shifts dates by random number of days, with option to be consistent for the
4705
- # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
4706
- # to learn more.
4535
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to
4536
+ # learn more.
4707
4537
  # Corresponds to the JSON property `dateShiftConfig`
4708
4538
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateShiftConfig]
4709
4539
  attr_accessor :date_shift_config
4710
4540
 
4711
- # Buckets values based on fixed size ranges. The
4712
- # Bucketing transformation can provide all of this functionality,
4713
- # but requires more configuration. This message is provided as a convenience to
4714
- # the user for simple bucketing strategies.
4715
- # The transformed value will be a hyphenated string of
4716
- # `lower_bound`-`upper_bound`, i.e if lower_bound = 10 and upper_bound = 20
4717
- # all values that are within this bucket will be replaced with "10-20".
4718
- # This can be used on data of type: double, long.
4719
- # If the bound Value type differs from the type of data
4720
- # being transformed, we will first attempt converting the type of the data to
4721
- # be transformed to match the type of the bound before comparing.
4722
- # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
4541
+ # Buckets values based on fixed size ranges. The Bucketing transformation can
4542
+ # provide all of this functionality, but requires more configuration. This
4543
+ # message is provided as a convenience to the user for simple bucketing
4544
+ # strategies. The transformed value will be a hyphenated string of `lower_bound`-
4545
+ # `upper_bound`, i.e if lower_bound = 10 and upper_bound = 20 all values that
4546
+ # are within this bucket will be replaced with "10-20". This can be used on data
4547
+ # of type: double, long. If the bound Value type differs from the type of data
4548
+ # being transformed, we will first attempt converting the type of the data to be
4549
+ # transformed to match the type of the bound before comparing. See https://cloud.
4550
+ # google.com/dlp/docs/concepts-bucketing to learn more.
4723
4551
  # Corresponds to the JSON property `fixedSizeBucketingConfig`
4724
4552
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FixedSizeBucketingConfig]
4725
4553
  attr_accessor :fixed_size_bucketing_config
@@ -4771,16 +4599,16 @@ module Google
4771
4599
  class GooglePrivacyDlpV2PrivacyMetric
4772
4600
  include Google::Apis::Core::Hashable
4773
4601
 
4774
- # Compute numerical stats over an individual column, including
4775
- # number of distinct values and value count distribution.
4602
+ # Compute numerical stats over an individual column, including number of
4603
+ # distinct values and value count distribution.
4776
4604
  # Corresponds to the JSON property `categoricalStatsConfig`
4777
4605
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig]
4778
4606
  attr_accessor :categorical_stats_config
4779
4607
 
4780
- # δ-presence metric, used to estimate how likely it is for an attacker to
4781
- # figure out that one given individual appears in a de-identified dataset.
4782
- # Similarly to the k-map metric, we cannot compute δ-presence exactly without
4783
- # knowing the attack dataset, so we use a statistical model instead.
4608
+ # δ-presence metric, used to estimate how likely it is for an attacker to figure
4609
+ # out that one given individual appears in a de-identified dataset. Similarly to
4610
+ # the k-map metric, we cannot compute δ-presence exactly without knowing the
4611
+ # attack dataset, so we use a statistical model instead.
4784
4612
  # Corresponds to the JSON property `deltaPresenceEstimationConfig`
4785
4613
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig]
4786
4614
  attr_accessor :delta_presence_estimation_config
@@ -4790,12 +4618,12 @@ module Google
4790
4618
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig]
4791
4619
  attr_accessor :k_anonymity_config
4792
4620
 
4793
- # Reidentifiability metric. This corresponds to a risk model similar to what
4794
- # is called "journalist risk" in the literature, except the attack dataset is
4795
- # statistically modeled instead of being perfectly known. This can be done
4796
- # using publicly available data (like the US Census), or using a custom
4797
- # statistical model (indicated as one or several BigQuery tables), or by
4798
- # extrapolating from the distribution of values in the input dataset.
4621
+ # Reidentifiability metric. This corresponds to a risk model similar to what is
4622
+ # called "journalist risk" in the literature, except the attack dataset is
4623
+ # statistically modeled instead of being perfectly known. This can be done using
4624
+ # publicly available data (like the US Census), or using a custom statistical
4625
+ # model (indicated as one or several BigQuery tables), or by extrapolating from
4626
+ # the distribution of values in the input dataset.
4799
4627
  # Corresponds to the JSON property `kMapEstimationConfig`
4800
4628
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig]
4801
4629
  attr_accessor :k_map_estimation_config
@@ -4805,8 +4633,8 @@ module Google
4805
4633
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityConfig]
4806
4634
  attr_accessor :l_diversity_config
4807
4635
 
4808
- # Compute numerical stats over an individual column, including
4809
- # min, max, and quantiles.
4636
+ # Compute numerical stats over an individual column, including min, max, and
4637
+ # quantiles.
4810
4638
  # Corresponds to the JSON property `numericalStatsConfig`
4811
4639
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsConfig]
4812
4640
  attr_accessor :numerical_stats_config
@@ -4826,8 +4654,7 @@ module Google
4826
4654
  end
4827
4655
  end
4828
4656
 
4829
- # Message for specifying a window around a finding to apply a detection
4830
- # rule.
4657
+ # Message for specifying a window around a finding to apply a detection rule.
4831
4658
  class GooglePrivacyDlpV2Proximity
4832
4659
  include Google::Apis::Core::Hashable
4833
4660
 
@@ -4853,15 +4680,14 @@ module Google
4853
4680
  end
4854
4681
 
4855
4682
  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
4856
- # results of the DlpJob will be applied to the entry for the resource scanned
4857
- # in Cloud Data Catalog. Any labels previously written by another DlpJob will
4858
- # be deleted. InfoType naming patterns are strictly enforced when using this
4683
+ # results of the DlpJob will be applied to the entry for the resource scanned in
4684
+ # Cloud Data Catalog. Any labels previously written by another DlpJob will be
4685
+ # deleted. InfoType naming patterns are strictly enforced when using this
4859
4686
  # feature. Note that the findings will be persisted in Cloud Data Catalog
4860
- # storage and are governed by Data Catalog service-specific policy, see
4861
- # https://cloud.google.com/terms/service-terms
4862
- # Only a single instance of this action can be specified and only allowed if
4863
- # all resources being scanned are BigQuery tables.
4864
- # Compatible with: Inspect
4687
+ # storage and are governed by Data Catalog service-specific policy, see https://
4688
+ # cloud.google.com/terms/service-terms Only a single instance of this action can
4689
+ # be specified and only allowed if all resources being scanned are BigQuery
4690
+ # tables. Compatible with: Inspect
4865
4691
  class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
4866
4692
  include Google::Apis::Core::Hashable
4867
4693
 
@@ -4874,16 +4700,13 @@ module Google
4874
4700
  end
4875
4701
  end
4876
4702
 
4877
- # Publish the result summary of a DlpJob to the Cloud Security
4878
- # Command Center (CSCC Alpha).
4879
- # This action is only available for projects which are parts of
4880
- # an organization and whitelisted for the alpha Cloud Security Command
4881
- # Center.
4882
- # The action will publish count of finding instances and their info types.
4883
- # The summary of findings will be persisted in CSCC and are governed by CSCC
4884
- # service-specific policy, see https://cloud.google.com/terms/service-terms
4885
- # Only a single instance of this action can be specified.
4886
- # Compatible with: Inspect
4703
+ # Publish the result summary of a DlpJob to the Cloud Security Command Center (
4704
+ # CSCC Alpha). This action is only available for projects which are parts of an
4705
+ # organization and whitelisted for the alpha Cloud Security Command Center. The
4706
+ # action will publish count of finding instances and their info types. The
4707
+ # summary of findings will be persisted in CSCC and are governed by CSCC service-
4708
+ # specific policy, see https://cloud.google.com/terms/service-terms Only a
4709
+ # single instance of this action can be specified. Compatible with: Inspect
4887
4710
  class GooglePrivacyDlpV2PublishSummaryToCscc
4888
4711
  include Google::Apis::Core::Hashable
4889
4712
 
@@ -4897,18 +4720,16 @@ module Google
4897
4720
  end
4898
4721
 
4899
4722
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
4900
- # message contains a single field, `DlpJobName`, which is equal to the
4901
- # finished job's
4902
- # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
4903
- # dlpJobs#DlpJob).
4904
- # Compatible with: Inspect, Risk
4723
+ # message contains a single field, `DlpJobName`, which is equal to the finished
4724
+ # job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/
4725
+ # projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
4905
4726
  class GooglePrivacyDlpV2PublishToPubSub
4906
4727
  include Google::Apis::Core::Hashable
4907
4728
 
4908
4729
  # Cloud Pub/Sub topic to send notifications to. The topic must have given
4909
- # publishing access rights to the DLP API service account executing
4910
- # the long running DlpJob sending the notifications.
4911
- # Format is projects/`project`/topics/`topic`.
4730
+ # publishing access rights to the DLP API service account executing the long
4731
+ # running DlpJob sending the notifications. Format is projects/`project`/topics/`
4732
+ # topic`.
4912
4733
  # Corresponds to the JSON property `topic`
4913
4734
  # @return [String]
4914
4735
  attr_accessor :topic
@@ -4923,10 +4744,10 @@ module Google
4923
4744
  end
4924
4745
  end
4925
4746
 
4926
- # Enable Stackdriver metric dlp.googleapis.com/finding_count. This
4927
- # will publish a metric to stack driver on each infotype requested and
4928
- # how many findings were found for it. CustomDetectors will be bucketed
4929
- # as 'Custom' under the Stackdriver label 'info_type'.
4747
+ # Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish
4748
+ # a metric to stack driver on each infotype requested and how many findings were
4749
+ # found for it. CustomDetectors will be bucketed as 'Custom' under the
4750
+ # Stackdriver label 'info_type'.
4930
4751
  class GooglePrivacyDlpV2PublishToStackdriver
4931
4752
  include Google::Apis::Core::Hashable
4932
4753
 
@@ -4943,9 +4764,9 @@ module Google
4943
4764
  class GooglePrivacyDlpV2QuasiId
4944
4765
  include Google::Apis::Core::Hashable
4945
4766
 
4946
- # A column can be tagged with a custom tag. In this case, the user must
4947
- # indicate an auxiliary table that contains statistical information on
4948
- # the possible values of this column (below).
4767
+ # A column can be tagged with a custom tag. In this case, the user must indicate
4768
+ # an auxiliary table that contains statistical information on the possible
4769
+ # values of this column (below).
4949
4770
  # Corresponds to the JSON property `customTag`
4950
4771
  # @return [String]
4951
4772
  attr_accessor :custom_tag
@@ -4955,13 +4776,11 @@ module Google
4955
4776
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
4956
4777
  attr_accessor :field
4957
4778
 
4958
- # A generic empty message that you can re-use to avoid defining duplicated
4959
- # empty messages in your APIs. A typical example is to use it as the request
4960
- # or the response type of an API method. For instance:
4961
- # service Foo `
4962
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
4963
- # `
4964
- # The JSON representation for `Empty` is empty JSON object ````.
4779
+ # A generic empty message that you can re-use to avoid defining duplicated empty
4780
+ # messages in your APIs. A typical example is to use it as the request or the
4781
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
4782
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
4783
+ # `Empty` is empty JSON object ````.
4965
4784
  # Corresponds to the JSON property `inferred`
4966
4785
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
4967
4786
  attr_accessor :inferred
@@ -4984,8 +4803,8 @@ module Google
4984
4803
  end
4985
4804
  end
4986
4805
 
4987
- # A quasi-identifier column has a custom_tag, used to know which column
4988
- # in the data corresponds to which column in the statistical model.
4806
+ # A quasi-identifier column has a custom_tag, used to know which column in the
4807
+ # data corresponds to which column in the statistical model.
4989
4808
  class GooglePrivacyDlpV2QuasiIdField
4990
4809
  include Google::Apis::Core::Hashable
4991
4810
 
@@ -5010,14 +4829,14 @@ module Google
5010
4829
  end
5011
4830
  end
5012
4831
 
5013
- # A quasi-identifier column has a custom_tag, used to know which column
5014
- # in the data corresponds to which column in the statistical model.
4832
+ # A quasi-identifier column has a custom_tag, used to know which column in the
4833
+ # data corresponds to which column in the statistical model.
5015
4834
  class GooglePrivacyDlpV2QuasiIdentifierField
5016
4835
  include Google::Apis::Core::Hashable
5017
4836
 
5018
- # A column can be tagged with a custom tag. In this case, the user must
5019
- # indicate an auxiliary table that contains statistical information on
5020
- # the possible values of this column (below).
4837
+ # A column can be tagged with a custom tag. In this case, the user must indicate
4838
+ # an auxiliary table that contains statistical information on the possible
4839
+ # values of this column (below).
5021
4840
  # Corresponds to the JSON property `customTag`
5022
4841
  # @return [String]
5023
4842
  attr_accessor :custom_tag
@@ -5042,8 +4861,7 @@ module Google
5042
4861
  class GooglePrivacyDlpV2QuoteInfo
5043
4862
  include Google::Apis::Core::Hashable
5044
4863
 
5045
- # Message for a date time object.
5046
- # e.g. 2018-01-01, 5th August.
4864
+ # Message for a date time object. e.g. 2018-01-01, 5th August.
5047
4865
  # Corresponds to the JSON property `dateTime`
5048
4866
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateTime]
5049
4867
  attr_accessor :date_time
@@ -5083,8 +4901,8 @@ module Google
5083
4901
  end
5084
4902
  end
5085
4903
 
5086
- # A condition for determining whether a transformation should be applied to
5087
- # a field.
4904
+ # A condition for determining whether a transformation should be applied to a
4905
+ # field.
5088
4906
  class GooglePrivacyDlpV2RecordCondition
5089
4907
  include Google::Apis::Core::Hashable
5090
4908
 
@@ -5117,8 +4935,8 @@ module Google
5117
4935
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey]
5118
4936
  attr_accessor :datastore_key
5119
4937
 
5120
- # Values of identifying columns in the given row. Order of values matches
5121
- # the order of `identifying_fields` specified in the scanning request.
4938
+ # Values of identifying columns in the given row. Order of values matches the
4939
+ # order of `identifying_fields` specified in the scanning request.
5122
4940
  # Corresponds to the JSON property `idValues`
5123
4941
  # @return [Array<String>]
5124
4942
  attr_accessor :id_values
@@ -5171,8 +4989,8 @@ module Google
5171
4989
  class GooglePrivacyDlpV2RecordSuppression
5172
4990
  include Google::Apis::Core::Hashable
5173
4991
 
5174
- # A condition for determining whether a transformation should be applied to
5175
- # a field.
4992
+ # A condition for determining whether a transformation should be applied to a
4993
+ # field.
5176
4994
  # Corresponds to the JSON property `condition`
5177
4995
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition]
5178
4996
  attr_accessor :condition
@@ -5187,8 +5005,7 @@ module Google
5187
5005
  end
5188
5006
  end
5189
5007
 
5190
- # A type of transformation that is applied over structured data such as a
5191
- # table.
5008
+ # A type of transformation that is applied over structured data such as a table.
5192
5009
  class GooglePrivacyDlpV2RecordTransformations
5193
5010
  include Google::Apis::Core::Hashable
5194
5011
 
@@ -5229,8 +5046,8 @@ module Google
5229
5046
  end
5230
5047
  end
5231
5048
 
5232
- # Request to search for potentially sensitive info in an image and redact it
5233
- # by covering it with a colored rectangle.
5049
+ # Request to search for potentially sensitive info in an image and redact it by
5050
+ # covering it with a colored rectangle.
5234
5051
  class GooglePrivacyDlpV2RedactImageRequest
5235
5052
  include Google::Apis::Core::Hashable
5236
5053
 
@@ -5244,16 +5061,14 @@ module Google
5244
5061
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
5245
5062
  attr_accessor :image_redaction_configs
5246
5063
 
5247
- # Whether the response should include findings along with the redacted
5248
- # image.
5064
+ # Whether the response should include findings along with the redacted image.
5249
5065
  # Corresponds to the JSON property `includeFindings`
5250
5066
  # @return [Boolean]
5251
5067
  attr_accessor :include_findings
5252
5068
  alias_method :include_findings?, :include_findings
5253
5069
 
5254
- # Configuration description of the scanning process.
5255
- # When used with redactContent only info_types and min_likelihood are currently
5256
- # used.
5070
+ # Configuration description of the scanning process. When used with
5071
+ # redactContent only info_types and min_likelihood are currently used.
5257
5072
  # Corresponds to the JSON property `inspectConfig`
5258
5073
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5259
5074
  attr_accessor :inspect_config
@@ -5281,9 +5096,9 @@ module Google
5281
5096
  class GooglePrivacyDlpV2RedactImageResponse
5282
5097
  include Google::Apis::Core::Hashable
5283
5098
 
5284
- # If an image was being inspected and the InspectConfig's include_quote was
5285
- # set to true, then this field will include all text, if any, that was found
5286
- # in the image.
5099
+ # If an image was being inspected and the InspectConfig's include_quote was set
5100
+ # to true, then this field will include all text, if any, that was found in the
5101
+ # image.
5287
5102
  # Corresponds to the JSON property `extractedText`
5288
5103
  # @return [String]
5289
5104
  attr_accessor :extracted_text
@@ -5315,15 +5130,14 @@ module Google
5315
5130
  class GooglePrivacyDlpV2Regex
5316
5131
  include Google::Apis::Core::Hashable
5317
5132
 
5318
- # The index of the submatch to extract as findings. When not
5319
- # specified, the entire match is returned. No more than 3 may be included.
5133
+ # The index of the submatch to extract as findings. When not specified, the
5134
+ # entire match is returned. No more than 3 may be included.
5320
5135
  # Corresponds to the JSON property `groupIndexes`
5321
5136
  # @return [Array<Fixnum>]
5322
5137
  attr_accessor :group_indexes
5323
5138
 
5324
- # Pattern defining the regular expression. Its syntax
5325
- # (https://github.com/google/re2/wiki/Syntax) can be found under the
5326
- # google/re2 repository on GitHub.
5139
+ # Pattern defining the regular expression. Its syntax (https://github.com/google/
5140
+ # re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
5327
5141
  # Corresponds to the JSON property `pattern`
5328
5142
  # @return [String]
5329
5143
  attr_accessor :pattern
@@ -5343,18 +5157,16 @@ module Google
5343
5157
  class GooglePrivacyDlpV2ReidentifyContentRequest
5344
5158
  include Google::Apis::Core::Hashable
5345
5159
 
5346
- # Configuration description of the scanning process.
5347
- # When used with redactContent only info_types and min_likelihood are currently
5348
- # used.
5160
+ # Configuration description of the scanning process. When used with
5161
+ # redactContent only info_types and min_likelihood are currently used.
5349
5162
  # Corresponds to the JSON property `inspectConfig`
5350
5163
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5351
5164
  attr_accessor :inspect_config
5352
5165
 
5353
- # Template to use. Any configuration directly specified in
5354
- # `inspect_config` will override those set in the template. Singular fields
5355
- # that are set in this request will replace their corresponding fields in the
5356
- # template. Repeated fields are appended. Singular sub-messages and groups
5357
- # are recursively merged.
5166
+ # Template to use. Any configuration directly specified in `inspect_config` will
5167
+ # override those set in the template. Singular fields that are set in this
5168
+ # request will replace their corresponding fields in the template. Repeated
5169
+ # fields are appended. Singular sub-messages and groups are recursively merged.
5358
5170
  # Corresponds to the JSON property `inspectTemplateName`
5359
5171
  # @return [String]
5360
5172
  attr_accessor :inspect_template_name
@@ -5374,13 +5186,12 @@ module Google
5374
5186
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig]
5375
5187
  attr_accessor :reidentify_config
5376
5188
 
5377
- # Template to use. References an instance of `DeidentifyTemplate`.
5378
- # Any configuration directly specified in `reidentify_config` or
5379
- # `inspect_config` will override those set in the template. The
5380
- # `DeidentifyTemplate` used must include only reversible transformations.
5381
- # Singular fields that are set in this request will replace their
5382
- # corresponding fields in the template. Repeated fields are appended.
5383
- # Singular sub-messages and groups are recursively merged.
5189
+ # Template to use. References an instance of `DeidentifyTemplate`. Any
5190
+ # configuration directly specified in `reidentify_config` or `inspect_config`
5191
+ # will override those set in the template. The `DeidentifyTemplate` used must
5192
+ # include only reversible transformations. Singular fields that are set in this
5193
+ # request will replace their corresponding fields in the template. Repeated
5194
+ # fields are appended. Singular sub-messages and groups are recursively merged.
5384
5195
  # Corresponds to the JSON property `reidentifyTemplateName`
5385
5196
  # @return [String]
5386
5197
  attr_accessor :reidentify_template_name
@@ -5429,12 +5240,11 @@ module Google
5429
5240
  class GooglePrivacyDlpV2ReplaceValueConfig
5430
5241
  include Google::Apis::Core::Hashable
5431
5242
 
5432
- # Set of primitive values supported by the system.
5433
- # Note that for the purposes of inspection or transformation, the number
5434
- # of bytes considered to comprise a 'Value' is based on its representation
5435
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
5436
- # 123456789, the number of bytes would be counted as 9, even though an
5437
- # int64 only holds up to 8 bytes of data.
5243
+ # Set of primitive values supported by the system. Note that for the purposes of
5244
+ # inspection or transformation, the number of bytes considered to comprise a '
5245
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
5246
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
5247
+ # as 9, even though an int64 only holds up to 8 bytes of data.
5438
5248
  # Corresponds to the JSON property `newValue`
5439
5249
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
5440
5250
  attr_accessor :new_value
@@ -5473,8 +5283,8 @@ module Google
5473
5283
 
5474
5284
  # The inspectTemplate contains a configuration (set of types of sensitive data
5475
5285
  # to be detected) to be used anywhere you otherwise would normally specify
5476
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
5477
- # to learn more.
5286
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
5287
+ # learn more.
5478
5288
  # Corresponds to the JSON property `snapshotInspectTemplate`
5479
5289
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
5480
5290
  attr_accessor :snapshot_inspect_template
@@ -5490,6 +5300,26 @@ module Google
5490
5300
  end
5491
5301
  end
5492
5302
 
5303
+ # Risk analysis options.
5304
+ class GooglePrivacyDlpV2RequestedRiskAnalysisOptions
5305
+ include Google::Apis::Core::Hashable
5306
+
5307
+ # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
5308
+ # concepts-risk-analysis to learn more.
5309
+ # Corresponds to the JSON property `jobConfig`
5310
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
5311
+ attr_accessor :job_config
5312
+
5313
+ def initialize(**args)
5314
+ update!(**args)
5315
+ end
5316
+
5317
+ # Update properties of this object
5318
+ def update!(**args)
5319
+ @job_config = args[:job_config] if args.key?(:job_config)
5320
+ end
5321
+ end
5322
+
5493
5323
  # All result fields mentioned below are updated while the job is processing.
5494
5324
  class GooglePrivacyDlpV2Result
5495
5325
  include Google::Apis::Core::Hashable
@@ -5499,8 +5329,8 @@ module Google
5499
5329
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics]
5500
5330
  attr_accessor :hybrid_stats
5501
5331
 
5502
- # Statistics of how many instances of each info type were found during
5503
- # inspect job.
5332
+ # Statistics of how many instances of each info type were found during inspect
5333
+ # job.
5504
5334
  # Corresponds to the JSON property `infoTypeStats`
5505
5335
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats>]
5506
5336
  attr_accessor :info_type_stats
@@ -5528,8 +5358,8 @@ module Google
5528
5358
  end
5529
5359
  end
5530
5360
 
5531
- # Configuration for a risk analysis job. See
5532
- # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
5361
+ # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
5362
+ # concepts-risk-analysis to learn more.
5533
5363
  class GooglePrivacyDlpV2RiskAnalysisJobConfig
5534
5364
  include Google::Apis::Core::Hashable
5535
5365
 
@@ -5545,10 +5375,8 @@ module Google
5545
5375
  attr_accessor :privacy_metric
5546
5376
 
5547
5377
  # Message defining the location of a BigQuery table. A table is uniquely
5548
- # identified by its project_id, dataset_id, and table_name. Within a query
5549
- # a table is often referenced with a string in the format of:
5550
- # `<project_id>:<dataset_id>.<table_id>` or
5551
- # `<project_id>.<dataset_id>.<table_id>`.
5378
+ # identified by its project_id, dataset_id, and table_name. Within a query a
5379
+ # table is often referenced with a string in the format of: `:.` or `..`.
5552
5380
  # Corresponds to the JSON property `sourceTable`
5553
5381
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
5554
5382
  attr_accessor :source_table
@@ -5585,8 +5413,7 @@ module Google
5585
5413
  end
5586
5414
 
5587
5415
  # If set, the detailed findings will be persisted to the specified
5588
- # OutputStorageConfig. Only a single instance of this action can be
5589
- # specified.
5416
+ # OutputStorageConfig. Only a single instance of this action can be specified.
5590
5417
  # Compatible with: Inspect, Risk
5591
5418
  class GooglePrivacyDlpV2SaveFindings
5592
5419
  include Google::Apis::Core::Hashable
@@ -5610,12 +5437,11 @@ module Google
5610
5437
  class GooglePrivacyDlpV2Schedule
5611
5438
  include Google::Apis::Core::Hashable
5612
5439
 
5613
- # With this option a job is started a regular periodic basis. For
5614
- # example: every day (86400 seconds).
5615
- # A scheduled start time will be skipped if the previous
5616
- # execution has not ended when its scheduled time occurs.
5617
- # This value must be set to a time duration greater than or equal
5618
- # to 1 day and can be no longer than 60 days.
5440
+ # With this option a job is started a regular periodic basis. For example: every
5441
+ # day (86400 seconds). A scheduled start time will be skipped if the previous
5442
+ # execution has not ended when its scheduled time occurs. This value must be set
5443
+ # to a time duration greater than or equal to 1 day and can be no longer than 60
5444
+ # days.
5619
5445
  # Corresponds to the JSON property `recurrencePeriodDuration`
5620
5446
  # @return [String]
5621
5447
  attr_accessor :recurrence_period_duration
@@ -5631,12 +5457,11 @@ module Google
5631
5457
  end
5632
5458
 
5633
5459
  # An auxiliary table containing statistical information on the relative
5634
- # frequency of different quasi-identifiers values. It has one or several
5635
- # quasi-identifiers columns, and one column that indicates the relative
5636
- # frequency of each quasi-identifier tuple.
5637
- # If a tuple is present in the data but not in the auxiliary table, the
5638
- # corresponding relative frequency is assumed to be zero (and thus, the
5639
- # tuple is highly reidentifiable).
5460
+ # frequency of different quasi-identifiers values. It has one or several quasi-
5461
+ # identifiers columns, and one column that indicates the relative frequency of
5462
+ # each quasi-identifier tuple. If a tuple is present in the data but not in the
5463
+ # auxiliary table, the corresponding relative frequency is assumed to be zero (
5464
+ # and thus, the tuple is highly reidentifiable).
5640
5465
  class GooglePrivacyDlpV2StatisticalTable
5641
5466
  include Google::Apis::Core::Hashable
5642
5467
 
@@ -5651,10 +5476,8 @@ module Google
5651
5476
  attr_accessor :relative_frequency
5652
5477
 
5653
5478
  # Message defining the location of a BigQuery table. A table is uniquely
5654
- # identified by its project_id, dataset_id, and table_name. Within a query
5655
- # a table is often referenced with a string in the format of:
5656
- # `<project_id>:<dataset_id>.<table_id>` or
5657
- # `<project_id>.<dataset_id>.<table_id>`.
5479
+ # identified by its project_id, dataset_id, and table_name. Within a query a
5480
+ # table is often referenced with a string in the format of: `:.` or `..`.
5658
5481
  # Corresponds to the JSON property `table`
5659
5482
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
5660
5483
  attr_accessor :table
@@ -5680,8 +5503,7 @@ module Google
5680
5503
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]
5681
5504
  attr_accessor :big_query_options
5682
5505
 
5683
- # Options defining a file or a set of files within a Google Cloud Storage
5684
- # bucket.
5506
+ # Options defining a file or a set of files within a Google Cloud Storage bucket.
5685
5507
  # Corresponds to the JSON property `cloudStorageOptions`
5686
5508
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]
5687
5509
  attr_accessor :cloud_storage_options
@@ -5691,14 +5513,14 @@ module Google
5691
5513
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions]
5692
5514
  attr_accessor :datastore_options
5693
5515
 
5694
- # Configuration to control jobs where the content being inspected is outside
5695
- # of Google Cloud Platform.
5516
+ # Configuration to control jobs where the content being inspected is outside of
5517
+ # Google Cloud Platform.
5696
5518
  # Corresponds to the JSON property `hybridOptions`
5697
5519
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions]
5698
5520
  attr_accessor :hybrid_options
5699
5521
 
5700
- # Configuration of the timespan of the items to include in scanning.
5701
- # Currently only supported when inspecting Google Cloud Storage and BigQuery.
5522
+ # Configuration of the timespan of the items to include in scanning. Currently
5523
+ # only supported when inspecting Google Cloud Storage and BigQuery.
5702
5524
  # Corresponds to the JSON property `timespanConfig`
5703
5525
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig]
5704
5526
  attr_accessor :timespan_config
@@ -5752,8 +5574,7 @@ module Google
5752
5574
  # @return [String]
5753
5575
  attr_accessor :name
5754
5576
 
5755
- # Pending versions of the stored info type. Empty if no versions are
5756
- # pending.
5577
+ # Pending versions of the stored info type. Empty if no versions are pending.
5757
5578
  # Corresponds to the JSON property `pendingVersions`
5758
5579
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion>]
5759
5580
  attr_accessor :pending_versions
@@ -5770,9 +5591,9 @@ module Google
5770
5591
  end
5771
5592
  end
5772
5593
 
5773
- # Configuration for stored infoTypes. All fields and subfield are provided
5774
- # by the user. For more information, see
5775
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5594
+ # Configuration for stored infoTypes. All fields and subfield are provided by
5595
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
5596
+ # custom-infotypes.
5776
5597
  class GooglePrivacyDlpV2StoredInfoTypeConfig
5777
5598
  include Google::Apis::Core::Hashable
5778
5599
 
@@ -5781,28 +5602,24 @@ module Google
5781
5602
  # @return [String]
5782
5603
  attr_accessor :description
5783
5604
 
5784
- # Custom information type based on a dictionary of words or phrases. This can
5785
- # be used to match sensitive information specific to the data, such as a list
5786
- # of employee IDs or job titles.
5787
- # Dictionary words are case-insensitive and all characters other than letters
5788
- # and digits in the unicode [Basic Multilingual
5605
+ # Custom information type based on a dictionary of words or phrases. This can be
5606
+ # used to match sensitive information specific to the data, such as a list of
5607
+ # employee IDs or job titles. Dictionary words are case-insensitive and all
5608
+ # characters other than letters and digits in the unicode [Basic Multilingual
5789
5609
  # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
5790
- # Basic_Multilingual_Plane)
5791
- # will be replaced with whitespace when scanning for matches, so the
5792
- # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
5793
- # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
5794
- # surrounding any match must be of a different type than the adjacent
5795
- # characters within the word, so letters must be next to non-letters and
5796
- # digits next to non-digits. For example, the dictionary word "jen" will
5797
- # match the first three letters of the text "jen123" but will return no
5798
- # matches for "jennifer".
5799
- # Dictionary words containing a large number of characters that are not
5800
- # letters or digits may result in unexpected findings because such characters
5801
- # are treated as whitespace. The
5802
- # [limits](https://cloud.google.com/dlp/limits) page contains details about
5803
- # the size limits of dictionaries. For dictionaries that do not fit within
5804
- # these constraints, consider using `LargeCustomDictionaryConfig` in the
5805
- # `StoredInfoType` API.
5610
+ # Basic_Multilingual_Plane) will be replaced with whitespace when scanning for
5611
+ # matches, so the dictionary phrase "Sam Johnson" will match all three phrases "
5612
+ # sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the
5613
+ # characters surrounding any match must be of a different type than the adjacent
5614
+ # characters within the word, so letters must be next to non-letters and digits
5615
+ # next to non-digits. For example, the dictionary word "jen" will match the
5616
+ # first three letters of the text "jen123" but will return no matches for "
5617
+ # jennifer". Dictionary words containing a large number of characters that are
5618
+ # not letters or digits may result in unexpected findings because such
5619
+ # characters are treated as whitespace. The [limits](https://cloud.google.com/
5620
+ # dlp/limits) page contains details about the size limits of dictionaries. For
5621
+ # dictionaries that do not fit within these constraints, consider using `
5622
+ # LargeCustomDictionaryConfig` in the `StoredInfoType` API.
5806
5623
  # Corresponds to the JSON property `dictionary`
5807
5624
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
5808
5625
  attr_accessor :dictionary
@@ -5813,11 +5630,10 @@ module Google
5813
5630
  attr_accessor :display_name
5814
5631
 
5815
5632
  # Configuration for a custom dictionary created from a data source of any size
5816
- # up to the maximum size defined in the
5817
- # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
5818
- # dictionary creation are stored in the specified Google Cloud Storage
5819
- # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
5820
- # that satisfy the size requirements.
5633
+ # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
5634
+ # limits) page. The artifacts of dictionary creation are stored in the specified
5635
+ # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
5636
+ # smaller dictionaries that satisfy the size requirements.
5821
5637
  # Corresponds to the JSON property `largeCustomDictionary`
5822
5638
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
5823
5639
  attr_accessor :large_custom_dictionary
@@ -5865,36 +5681,35 @@ module Google
5865
5681
  class GooglePrivacyDlpV2StoredInfoTypeVersion
5866
5682
  include Google::Apis::Core::Hashable
5867
5683
 
5868
- # Configuration for stored infoTypes. All fields and subfield are provided
5869
- # by the user. For more information, see
5870
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
5684
+ # Configuration for stored infoTypes. All fields and subfield are provided by
5685
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
5686
+ # custom-infotypes.
5871
5687
  # Corresponds to the JSON property `config`
5872
5688
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
5873
5689
  attr_accessor :config
5874
5690
 
5875
- # Create timestamp of the version. Read-only, determined by the system
5876
- # when the version is created.
5691
+ # Create timestamp of the version. Read-only, determined by the system when the
5692
+ # version is created.
5877
5693
  # Corresponds to the JSON property `createTime`
5878
5694
  # @return [String]
5879
5695
  attr_accessor :create_time
5880
5696
 
5881
- # Errors that occurred when creating this storedInfoType version, or
5882
- # anomalies detected in the storedInfoType data that render it unusable. Only
5883
- # the five most recent errors will be displayed, with the most recent error
5884
- # appearing first.
5885
- # For example, some of the data for stored custom dictionaries is put in
5697
+ # Errors that occurred when creating this storedInfoType version, or anomalies
5698
+ # detected in the storedInfoType data that render it unusable. Only the five
5699
+ # most recent errors will be displayed, with the most recent error appearing
5700
+ # first. For example, some of the data for stored custom dictionaries is put in
5886
5701
  # the user's Google Cloud Storage bucket, and if this data is modified or
5887
- # deleted by the user or another system, the dictionary becomes invalid.
5888
- # If any errors occur, fix the problem indicated by the error message and
5889
- # use the UpdateStoredInfoType API method to create another version of the
5890
- # storedInfoType to continue using it, reusing the same `config` if it was
5891
- # not the source of the error.
5702
+ # deleted by the user or another system, the dictionary becomes invalid. If any
5703
+ # errors occur, fix the problem indicated by the error message and use the
5704
+ # UpdateStoredInfoType API method to create another version of the
5705
+ # storedInfoType to continue using it, reusing the same `config` if it was not
5706
+ # the source of the error.
5892
5707
  # Corresponds to the JSON property `errors`
5893
5708
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
5894
5709
  attr_accessor :errors
5895
5710
 
5896
- # Stored info type version state. Read-only, updated by the system
5897
- # during dictionary creation.
5711
+ # Stored info type version state. Read-only, updated by the system during
5712
+ # dictionary creation.
5898
5713
  # Corresponds to the JSON property `state`
5899
5714
  # @return [String]
5900
5715
  attr_accessor :state
@@ -5928,9 +5743,9 @@ module Google
5928
5743
  # @return [String]
5929
5744
  attr_accessor :create_time
5930
5745
 
5931
- # Resource name of the requested `StoredInfoType`, for example
5932
- # `organizations/433245324/storedInfoTypes/432452342` or
5933
- # `projects/project-id/storedInfoTypes/432452342`.
5746
+ # Resource name of the requested `StoredInfoType`, for example `organizations/
5747
+ # 433245324/storedInfoTypes/432452342` or `projects/project-id/storedInfoTypes/
5748
+ # 432452342`.
5934
5749
  # Corresponds to the JSON property `name`
5935
5750
  # @return [String]
5936
5751
  attr_accessor :name
@@ -5946,8 +5761,8 @@ module Google
5946
5761
  end
5947
5762
  end
5948
5763
 
5949
- # A collection that informs the user the number of times a particular
5950
- # `TransformationResultCode` and error details occurred.
5764
+ # A collection that informs the user the number of times a particular `
5765
+ # TransformationResultCode` and error details occurred.
5951
5766
  class GooglePrivacyDlpV2SummaryResult
5952
5767
  include Google::Apis::Core::Hashable
5953
5768
 
@@ -5961,8 +5776,8 @@ module Google
5961
5776
  # @return [Fixnum]
5962
5777
  attr_accessor :count
5963
5778
 
5964
- # A place for warnings or errors to show up if a transformation didn't
5965
- # work as expected.
5779
+ # A place for warnings or errors to show up if a transformation didn't work as
5780
+ # expected.
5966
5781
  # Corresponds to the JSON property `details`
5967
5782
  # @return [String]
5968
5783
  attr_accessor :details
@@ -5979,15 +5794,13 @@ module Google
5979
5794
  end
5980
5795
  end
5981
5796
 
5982
- # Message for detecting output from deidentification transformations
5983
- # such as
5984
- # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
5985
- # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
5986
- # These types of transformations are
5987
- # those that perform pseudonymization, thereby producing a "surrogate" as
5988
- # output. This should be used in conjunction with a field on the
5989
- # transformation such as `surrogate_info_type`. This CustomInfoType does
5990
- # not support the use of `detection_rules`.
5797
+ # Message for detecting output from deidentification transformations such as [`
5798
+ # CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
5799
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types
5800
+ # of transformations are those that perform pseudonymization, thereby producing
5801
+ # a "surrogate" as output. This should be used in conjunction with a field on
5802
+ # the transformation such as `surrogate_info_type`. This CustomInfoType does not
5803
+ # support the use of `detection_rules`.
5991
5804
  class GooglePrivacyDlpV2SurrogateType
5992
5805
  include Google::Apis::Core::Hashable
5993
5806
 
@@ -6000,9 +5813,9 @@ module Google
6000
5813
  end
6001
5814
  end
6002
5815
 
6003
- # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
6004
- # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
6005
- # learn more.
5816
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
5817
+ # https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn
5818
+ # more.
6006
5819
  class GooglePrivacyDlpV2Table
6007
5820
  include Google::Apis::Core::Hashable
6008
5821
 
@@ -6031,12 +5844,11 @@ module Google
6031
5844
  class GooglePrivacyDlpV2TableLocation
6032
5845
  include Google::Apis::Core::Hashable
6033
5846
 
6034
- # The zero-based index of the row where the finding is located. Only
6035
- # populated for resources that have a natural ordering, not BigQuery. In
6036
- # BigQuery, to identify the row a finding came from, populate
6037
- # BigQueryOptions.identifying_fields with your primary key column names and
6038
- # when you store the findings the value of those columns will be stored
6039
- # inside of Finding.
5847
+ # The zero-based index of the row where the finding is located. Only populated
5848
+ # for resources that have a natural ordering, not BigQuery. In BigQuery, to
5849
+ # identify the row a finding came from, populate BigQueryOptions.
5850
+ # identifying_fields with your primary key column names and when you store the
5851
+ # findings the value of those columns will be stored inside of Finding.
6040
5852
  # Corresponds to the JSON property `rowIndex`
6041
5853
  # @return [Fixnum]
6042
5854
  attr_accessor :row_index
@@ -6056,9 +5868,9 @@ module Google
6056
5868
  include Google::Apis::Core::Hashable
6057
5869
 
6058
5870
  # The columns that are the primary keys for table objects included in
6059
- # ContentItem. A copy of this cell's value will stored alongside alongside
6060
- # each finding so that the finding can be traced to the specific row it came
6061
- # from. No more than 3 may be provided.
5871
+ # ContentItem. A copy of this cell's value will stored alongside alongside each
5872
+ # finding so that the finding can be traced to the specific row it came from. No
5873
+ # more than 3 may be provided.
6062
5874
  # Corresponds to the JSON property `identifyingFields`
6063
5875
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
6064
5876
  attr_accessor :identifying_fields
@@ -6077,9 +5889,9 @@ module Google
6077
5889
  class GooglePrivacyDlpV2TaggedField
6078
5890
  include Google::Apis::Core::Hashable
6079
5891
 
6080
- # A column can be tagged with a custom tag. In this case, the user must
6081
- # indicate an auxiliary table that contains statistical information on
6082
- # the possible values of this column (below).
5892
+ # A column can be tagged with a custom tag. In this case, the user must indicate
5893
+ # an auxiliary table that contains statistical information on the possible
5894
+ # values of this column (below).
6083
5895
  # Corresponds to the JSON property `customTag`
6084
5896
  # @return [String]
6085
5897
  attr_accessor :custom_tag
@@ -6089,13 +5901,11 @@ module Google
6089
5901
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
6090
5902
  attr_accessor :field
6091
5903
 
6092
- # A generic empty message that you can re-use to avoid defining duplicated
6093
- # empty messages in your APIs. A typical example is to use it as the request
6094
- # or the response type of an API method. For instance:
6095
- # service Foo `
6096
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6097
- # `
6098
- # The JSON representation for `Empty` is empty JSON object ````.
5904
+ # A generic empty message that you can re-use to avoid defining duplicated empty
5905
+ # messages in your APIs. A typical example is to use it as the request or the
5906
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
5907
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
5908
+ # `Empty` is empty JSON object ````.
6099
5909
  # Corresponds to the JSON property `inferred`
6100
5910
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
6101
5911
  attr_accessor :inferred
@@ -6155,8 +5965,8 @@ module Google
6155
5965
  class GooglePrivacyDlpV2TimeZone
6156
5966
  include Google::Apis::Core::Hashable
6157
5967
 
6158
- # Set only if the offset can be determined. Positive for time ahead of UTC.
6159
- # E.g. For "UTC-9", this value is -540.
5968
+ # Set only if the offset can be determined. Positive for time ahead of UTC. E.g.
5969
+ # For "UTC-9", this value is -540.
6160
5970
  # Corresponds to the JSON property `offsetMinutes`
6161
5971
  # @return [Fixnum]
6162
5972
  attr_accessor :offset_minutes
@@ -6171,22 +5981,22 @@ module Google
6171
5981
  end
6172
5982
  end
6173
5983
 
6174
- # Configuration of the timespan of the items to include in scanning.
6175
- # Currently only supported when inspecting Google Cloud Storage and BigQuery.
5984
+ # Configuration of the timespan of the items to include in scanning. Currently
5985
+ # only supported when inspecting Google Cloud Storage and BigQuery.
6176
5986
  class GooglePrivacyDlpV2TimespanConfig
6177
5987
  include Google::Apis::Core::Hashable
6178
5988
 
6179
- # When the job is started by a JobTrigger we will automatically figure out
6180
- # a valid start_time to avoid scanning files that have not been modified
6181
- # since the last time the JobTrigger executed. This will be based on the
6182
- # time of the execution of the last run of the JobTrigger.
5989
+ # When the job is started by a JobTrigger we will automatically figure out a
5990
+ # valid start_time to avoid scanning files that have not been modified since the
5991
+ # last time the JobTrigger executed. This will be based on the time of the
5992
+ # execution of the last run of the JobTrigger.
6183
5993
  # Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig`
6184
5994
  # @return [Boolean]
6185
5995
  attr_accessor :enable_auto_population_of_timespan_config
6186
5996
  alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
6187
5997
 
6188
- # Exclude files or rows newer than this value.
6189
- # If set to zero, no upper time limit is applied.
5998
+ # Exclude files or rows newer than this value. If set to zero, no upper time
5999
+ # limit is applied.
6190
6000
  # Corresponds to the JSON property `endTime`
6191
6001
  # @return [String]
6192
6002
  attr_accessor :end_time
@@ -6214,21 +6024,19 @@ module Google
6214
6024
  end
6215
6025
  end
6216
6026
 
6217
- # How to handle transformation errors during de-identification. A
6218
- # transformation error occurs when the requested transformation is incompatible
6219
- # with the data. For example, trying to de-identify an IP address using a
6220
- # `DateShift` transformation would result in a transformation error, since date
6221
- # info cannot be extracted from an IP address.
6222
- # Information about any incompatible transformations, and how they were
6223
- # handled, is returned in the response as part of the
6224
- # `TransformationOverviews`.
6027
+ # How to handle transformation errors during de-identification. A transformation
6028
+ # error occurs when the requested transformation is incompatible with the data.
6029
+ # For example, trying to de-identify an IP address using a `DateShift`
6030
+ # transformation would result in a transformation error, since date info cannot
6031
+ # be extracted from an IP address. Information about any incompatible
6032
+ # transformations, and how they were handled, is returned in the response as
6033
+ # part of the `TransformationOverviews`.
6225
6034
  class GooglePrivacyDlpV2TransformationErrorHandling
6226
6035
  include Google::Apis::Core::Hashable
6227
6036
 
6228
6037
  # Skips the data without modifying it if the requested transformation would
6229
- # cause an error. For example, if a `DateShift` transformation were applied
6230
- # an an IP address, this mode would leave the IP address unchanged in the
6231
- # response.
6038
+ # cause an error. For example, if a `DateShift` transformation were applied an
6039
+ # an IP address, this mode would leave the IP address unchanged in the response.
6232
6040
  # Corresponds to the JSON property `leaveUntransformed`
6233
6041
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LeaveUntransformed]
6234
6042
  attr_accessor :leave_untransformed
@@ -6274,9 +6082,8 @@ module Google
6274
6082
  end
6275
6083
  end
6276
6084
 
6277
- # Summary of a single transformation.
6278
- # Only one of 'transformation', 'field_transformation', or 'record_suppress'
6279
- # will be set.
6085
+ # Summary of a single transformation. Only one of 'transformation', '
6086
+ # field_transformation', or 'record_suppress' will be set.
6280
6087
  class GooglePrivacyDlpV2TransformationSummary
6281
6088
  include Google::Apis::Core::Hashable
6282
6089
 
@@ -6285,9 +6092,9 @@ module Google
6285
6092
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
6286
6093
  attr_accessor :field
6287
6094
 
6288
- # The field transformation that was applied.
6289
- # If multiple field transformations are requested for a single field,
6290
- # this list will contain all of them; otherwise, only one is supplied.
6095
+ # The field transformation that was applied. If multiple field transformations
6096
+ # are requested for a single field, this list will contain all of them;
6097
+ # otherwise, only one is supplied.
6291
6098
  # Corresponds to the JSON property `fieldTransformations`
6292
6099
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>]
6293
6100
  attr_accessor :field_transformations
@@ -6334,17 +6141,16 @@ module Google
6334
6141
  end
6335
6142
  end
6336
6143
 
6337
- # Use this to have a random data crypto key generated.
6338
- # It will be discarded after the request finishes.
6144
+ # Use this to have a random data crypto key generated. It will be discarded
6145
+ # after the request finishes.
6339
6146
  class GooglePrivacyDlpV2TransientCryptoKey
6340
6147
  include Google::Apis::Core::Hashable
6341
6148
 
6342
- # Required. Name of the key.
6343
- # This is an arbitrary string used to differentiate different keys.
6344
- # A unique key is generated per name: two separate `TransientCryptoKey`
6345
- # protos share the same generated key if their names are the same.
6346
- # When the data crypto key is generated, this name is not used in any way
6347
- # (repeating the api call will result in a different key being generated).
6149
+ # Required. Name of the key. This is an arbitrary string used to differentiate
6150
+ # different keys. A unique key is generated per name: two separate `
6151
+ # TransientCryptoKey` protos share the same generated key if their names are the
6152
+ # same. When the data crypto key is generated, this name is not used in any way (
6153
+ # repeating the api call will result in a different key being generated).
6348
6154
  # Corresponds to the JSON property `name`
6349
6155
  # @return [String]
6350
6156
  attr_accessor :name
@@ -6363,8 +6169,7 @@ module Google
6363
6169
  class GooglePrivacyDlpV2Trigger
6364
6170
  include Google::Apis::Core::Hashable
6365
6171
 
6366
- # Job trigger option for hybrid jobs. Jobs must be manually created
6367
- # and finished.
6172
+ # Job trigger option for hybrid jobs. Jobs must be manually created and finished.
6368
6173
  # Corresponds to the JSON property `manual`
6369
6174
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Manual]
6370
6175
  attr_accessor :manual
@@ -6385,8 +6190,8 @@ module Google
6385
6190
  end
6386
6191
  end
6387
6192
 
6388
- # Using raw keys is prone to security risks due to accidentally
6389
- # leaking the key. Choose another type of key if possible.
6193
+ # Using raw keys is prone to security risks due to accidentally leaking the key.
6194
+ # Choose another type of key if possible.
6390
6195
  class GooglePrivacyDlpV2UnwrappedCryptoKey
6391
6196
  include Google::Apis::Core::Hashable
6392
6197
 
@@ -6410,8 +6215,8 @@ module Google
6410
6215
  class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
6411
6216
  include Google::Apis::Core::Hashable
6412
6217
 
6413
- # DeidentifyTemplates contains instructions on how to de-identify content.
6414
- # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6218
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
6219
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6415
6220
  # Corresponds to the JSON property `deidentifyTemplate`
6416
6221
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
6417
6222
  attr_accessor :deidentify_template
@@ -6438,8 +6243,8 @@ module Google
6438
6243
 
6439
6244
  # The inspectTemplate contains a configuration (set of types of sensitive data
6440
6245
  # to be detected) to be used anywhere you otherwise would normally specify
6441
- # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
6442
- # to learn more.
6246
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
6247
+ # learn more.
6443
6248
  # Corresponds to the JSON property `inspectTemplate`
6444
6249
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
6445
6250
  attr_accessor :inspect_template
@@ -6464,8 +6269,8 @@ module Google
6464
6269
  class GooglePrivacyDlpV2UpdateJobTriggerRequest
6465
6270
  include Google::Apis::Core::Hashable
6466
6271
 
6467
- # Contains a configuration to make dlp api calls on a repeating basis.
6468
- # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
6272
+ # Contains a configuration to make dlp api calls on a repeating basis. See https:
6273
+ # //cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
6469
6274
  # Corresponds to the JSON property `jobTrigger`
6470
6275
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
6471
6276
  attr_accessor :job_trigger
@@ -6490,9 +6295,9 @@ module Google
6490
6295
  class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
6491
6296
  include Google::Apis::Core::Hashable
6492
6297
 
6493
- # Configuration for stored infoTypes. All fields and subfield are provided
6494
- # by the user. For more information, see
6495
- # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
6298
+ # Configuration for stored infoTypes. All fields and subfield are provided by
6299
+ # the user. For more information, see https://cloud.google.com/dlp/docs/creating-
6300
+ # custom-infotypes.
6496
6301
  # Corresponds to the JSON property `config`
6497
6302
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
6498
6303
  attr_accessor :config
@@ -6513,12 +6318,11 @@ module Google
6513
6318
  end
6514
6319
  end
6515
6320
 
6516
- # Set of primitive values supported by the system.
6517
- # Note that for the purposes of inspection or transformation, the number
6518
- # of bytes considered to comprise a 'Value' is based on its representation
6519
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
6520
- # 123456789, the number of bytes would be counted as 9, even though an
6521
- # int64 only holds up to 8 bytes of data.
6321
+ # Set of primitive values supported by the system. Note that for the purposes of
6322
+ # inspection or transformation, the number of bytes considered to comprise a '
6323
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
6324
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
6325
+ # as 9, even though an int64 only holds up to 8 bytes of data.
6522
6326
  class GooglePrivacyDlpV2Value
6523
6327
  include Google::Apis::Core::Hashable
6524
6328
 
@@ -6530,12 +6334,12 @@ module Google
6530
6334
 
6531
6335
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6532
6336
  # and time zone are either specified elsewhere or are not significant. The date
6533
- # is relative to the Proleptic Gregorian Calendar. This can represent:
6534
- # * A full date, with non-zero year, month and day values
6535
- # * A month and day value, with a zero year, e.g. an anniversary
6536
- # * A year on its own, with zero month and day values
6537
- # * A year and month value, with a zero day, e.g. a credit card expiration date
6538
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
6337
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6338
+ # date, with non-zero year, month and day values * A month and day value, with a
6339
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
6340
+ # values * A year and month value, with a zero day, e.g. a credit card
6341
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6342
+ # Timestamp`.
6539
6343
  # Corresponds to the JSON property `dateValue`
6540
6344
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
6541
6345
  attr_accessor :date_value
@@ -6560,8 +6364,8 @@ module Google
6560
6364
  # @return [String]
6561
6365
  attr_accessor :string_value
6562
6366
 
6563
- # Represents a time of day. The date and time zone are either not significant
6564
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
6367
+ # Represents a time of day. The date and time zone are either not significant or
6368
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6565
6369
  # types are google.type.Date and `google.protobuf.Timestamp`.
6566
6370
  # Corresponds to the JSON property `timeValue`
6567
6371
  # @return [Google::Apis::DlpV2::GoogleTypeTimeOfDay]
@@ -6598,12 +6402,11 @@ module Google
6598
6402
  # @return [Fixnum]
6599
6403
  attr_accessor :count
6600
6404
 
6601
- # Set of primitive values supported by the system.
6602
- # Note that for the purposes of inspection or transformation, the number
6603
- # of bytes considered to comprise a 'Value' is based on its representation
6604
- # as a UTF-8 encoded string. For example, if 'integer_value' is set to
6605
- # 123456789, the number of bytes would be counted as 9, even though an
6606
- # int64 only holds up to 8 bytes of data.
6405
+ # Set of primitive values supported by the system. Note that for the purposes of
6406
+ # inspection or transformation, the number of bytes considered to comprise a '
6407
+ # Value' is based on its representation as a UTF-8 encoded string. For example,
6408
+ # if 'integer_value' is set to 123456789, the number of bytes would be counted
6409
+ # as 9, even though an int64 only holds up to 8 bytes of data.
6607
6410
  # Corresponds to the JSON property `value`
6608
6411
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Value]
6609
6412
  attr_accessor :value
@@ -6623,9 +6426,9 @@ module Google
6623
6426
  class GooglePrivacyDlpV2WordList
6624
6427
  include Google::Apis::Core::Hashable
6625
6428
 
6626
- # Words or phrases defining the dictionary. The dictionary must contain
6627
- # at least one phrase and every phrase must contain at least 2 characters
6628
- # that are letters or digits. [required]
6429
+ # Words or phrases defining the dictionary. The dictionary must contain at least
6430
+ # one phrase and every phrase must contain at least 2 characters that are
6431
+ # letters or digits. [required]
6629
6432
  # Corresponds to the JSON property `words`
6630
6433
  # @return [Array<String>]
6631
6434
  attr_accessor :words
@@ -6640,13 +6443,11 @@ module Google
6640
6443
  end
6641
6444
  end
6642
6445
 
6643
- # A generic empty message that you can re-use to avoid defining duplicated
6644
- # empty messages in your APIs. A typical example is to use it as the request
6645
- # or the response type of an API method. For instance:
6646
- # service Foo `
6647
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6648
- # `
6649
- # The JSON representation for `Empty` is empty JSON object ````.
6446
+ # A generic empty message that you can re-use to avoid defining duplicated empty
6447
+ # messages in your APIs. A typical example is to use it as the request or the
6448
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
6449
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
6450
+ # `Empty` is empty JSON object ````.
6650
6451
  class GoogleProtobufEmpty
6651
6452
  include Google::Apis::Core::Hashable
6652
6453
 
@@ -6659,12 +6460,12 @@ module Google
6659
6460
  end
6660
6461
  end
6661
6462
 
6662
- # The `Status` type defines a logical error model that is suitable for
6663
- # different programming environments, including REST APIs and RPC APIs. It is
6664
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
6665
- # three pieces of data: error code, error message, and error details.
6666
- # You can find out more about this error model and how to work with it in the
6667
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
6463
+ # The `Status` type defines a logical error model that is suitable for different
6464
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6465
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6466
+ # data: error code, error message, and error details. You can find out more
6467
+ # about this error model and how to work with it in the [API Design Guide](https:
6468
+ # //cloud.google.com/apis/design/errors).
6668
6469
  class GoogleRpcStatus
6669
6470
  include Google::Apis::Core::Hashable
6670
6471
 
@@ -6673,15 +6474,15 @@ module Google
6673
6474
  # @return [Fixnum]
6674
6475
  attr_accessor :code
6675
6476
 
6676
- # A list of messages that carry the error details. There is a common set of
6477
+ # A list of messages that carry the error details. There is a common set of
6677
6478
  # message types for APIs to use.
6678
6479
  # Corresponds to the JSON property `details`
6679
6480
  # @return [Array<Hash<String,Object>>]
6680
6481
  attr_accessor :details
6681
6482
 
6682
- # A developer-facing error message, which should be in English. Any
6683
- # user-facing error message should be localized and sent in the
6684
- # google.rpc.Status.details field, or localized by the client.
6483
+ # A developer-facing error message, which should be in English. Any user-facing
6484
+ # error message should be localized and sent in the google.rpc.Status.details
6485
+ # field, or localized by the client.
6685
6486
  # Corresponds to the JSON property `message`
6686
6487
  # @return [String]
6687
6488
  attr_accessor :message
@@ -6700,30 +6501,29 @@ module Google
6700
6501
 
6701
6502
  # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6702
6503
  # and time zone are either specified elsewhere or are not significant. The date
6703
- # is relative to the Proleptic Gregorian Calendar. This can represent:
6704
- # * A full date, with non-zero year, month and day values
6705
- # * A month and day value, with a zero year, e.g. an anniversary
6706
- # * A year on its own, with zero month and day values
6707
- # * A year and month value, with a zero day, e.g. a credit card expiration date
6708
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
6504
+ # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6505
+ # date, with non-zero year, month and day values * A month and day value, with a
6506
+ # zero year, e.g. an anniversary * A year on its own, with zero month and day
6507
+ # values * A year and month value, with a zero day, e.g. a credit card
6508
+ # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6509
+ # Timestamp`.
6709
6510
  class GoogleTypeDate
6710
6511
  include Google::Apis::Core::Hashable
6711
6512
 
6712
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
6713
- # if specifying a year by itself or a year and month where the day is not
6513
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
6514
+ # specifying a year by itself or a year and month where the day is not
6714
6515
  # significant.
6715
6516
  # Corresponds to the JSON property `day`
6716
6517
  # @return [Fixnum]
6717
6518
  attr_accessor :day
6718
6519
 
6719
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
6720
- # month and day.
6520
+ # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
6521
+ # and day.
6721
6522
  # Corresponds to the JSON property `month`
6722
6523
  # @return [Fixnum]
6723
6524
  attr_accessor :month
6724
6525
 
6725
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
6726
- # a year.
6526
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
6727
6527
  # Corresponds to the JSON property `year`
6728
6528
  # @return [Fixnum]
6729
6529
  attr_accessor :year
@@ -6740,14 +6540,14 @@ module Google
6740
6540
  end
6741
6541
  end
6742
6542
 
6743
- # Represents a time of day. The date and time zone are either not significant
6744
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
6543
+ # Represents a time of day. The date and time zone are either not significant or
6544
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6745
6545
  # types are google.type.Date and `google.protobuf.Timestamp`.
6746
6546
  class GoogleTypeTimeOfDay
6747
6547
  include Google::Apis::Core::Hashable
6748
6548
 
6749
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6750
- # to allow the value "24:00:00" for scenarios like business closing time.
6549
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
6550
+ # allow the value "24:00:00" for scenarios like business closing time.
6751
6551
  # Corresponds to the JSON property `hours`
6752
6552
  # @return [Fixnum]
6753
6553
  attr_accessor :hours