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