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