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