google-api-client 0.39.3 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +242 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
- data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +318 -166
- data/generated/google/apis/compute_alpha/representations.rb +80 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +237 -83
- data/generated/google/apis/compute_beta/representations.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +155 -58
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +62 -4
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +64 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
- data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +111 -93
- data/generated/google/apis/iam_v1/service.rb +166 -144
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +17 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -9
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +70 -15
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -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 = '20200606'
|
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'
|
@@ -36,7 +36,8 @@ module Google
|
|
36
36
|
# Publish a message into given Pub/Sub topic when DlpJob has completed. The
|
37
37
|
# message contains a single field, `DlpJobName`, which is equal to the
|
38
38
|
# finished job's
|
39
|
-
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.
|
39
|
+
# [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
|
40
|
+
# dlpJobs#DlpJob).
|
40
41
|
# Compatible with: Inspect, Risk
|
41
42
|
# Corresponds to the JSON property `pubSub`
|
42
43
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
@@ -1155,8 +1156,7 @@ module Google
|
|
1155
1156
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
1156
1157
|
attr_accessor :deidentify_template
|
1157
1158
|
|
1158
|
-
#
|
1159
|
-
# for future extensions.
|
1159
|
+
# Deprecated. This field has no effect.
|
1160
1160
|
# Corresponds to the JSON property `locationId`
|
1161
1161
|
# @return [String]
|
1162
1162
|
attr_accessor :location_id
|
@@ -1200,8 +1200,7 @@ module Google
|
|
1200
1200
|
# @return [String]
|
1201
1201
|
attr_accessor :job_id
|
1202
1202
|
|
1203
|
-
#
|
1204
|
-
# future extensions.
|
1203
|
+
# Deprecated. This field has no effect.
|
1205
1204
|
# Corresponds to the JSON property `locationId`
|
1206
1205
|
# @return [String]
|
1207
1206
|
attr_accessor :location_id
|
@@ -1237,8 +1236,7 @@ module Google
|
|
1237
1236
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
|
1238
1237
|
attr_accessor :inspect_template
|
1239
1238
|
|
1240
|
-
#
|
1241
|
-
# future extensions.
|
1239
|
+
# Deprecated. This field has no effect.
|
1242
1240
|
# Corresponds to the JSON property `locationId`
|
1243
1241
|
# @return [String]
|
1244
1242
|
attr_accessor :location_id
|
@@ -1273,8 +1271,7 @@ module Google
|
|
1273
1271
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
|
1274
1272
|
attr_accessor :job_trigger
|
1275
1273
|
|
1276
|
-
#
|
1277
|
-
# future extensions.
|
1274
|
+
# Deprecated. This field has no effect.
|
1278
1275
|
# Corresponds to the JSON property `locationId`
|
1279
1276
|
# @return [String]
|
1280
1277
|
attr_accessor :location_id
|
@@ -1310,8 +1307,7 @@ module Google
|
|
1310
1307
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
|
1311
1308
|
attr_accessor :config
|
1312
1309
|
|
1313
|
-
#
|
1314
|
-
# future extensions.
|
1310
|
+
# Deprecated. This field has no effect.
|
1315
1311
|
# Corresponds to the JSON property `locationId`
|
1316
1312
|
# @return [String]
|
1317
1313
|
attr_accessor :location_id
|
@@ -1581,8 +1577,8 @@ module Google
|
|
1581
1577
|
|
1582
1578
|
# Message for detecting output from deidentification transformations
|
1583
1579
|
# such as
|
1584
|
-
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/
|
1585
|
-
# deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
1580
|
+
# [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
|
1581
|
+
# v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
1586
1582
|
# These types of transformations are
|
1587
1583
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
1588
1584
|
# output. This should be used in conjunction with a field on the
|
@@ -1835,8 +1831,7 @@ module Google
|
|
1835
1831
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
|
1836
1832
|
attr_accessor :item
|
1837
1833
|
|
1838
|
-
#
|
1839
|
-
# extensions.
|
1834
|
+
# Deprecated. This field has no effect.
|
1840
1835
|
# Corresponds to the JSON property `locationId`
|
1841
1836
|
# @return [String]
|
1842
1837
|
attr_accessor :location_id
|
@@ -3314,10 +3309,7 @@ module Google
|
|
3314
3309
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
|
3315
3310
|
attr_accessor :item
|
3316
3311
|
|
3317
|
-
#
|
3318
|
-
# extensions.
|
3319
|
-
# When inspecting images location is restricted to 'global', 'us', 'asia',
|
3320
|
-
# and 'europe'.
|
3312
|
+
# Deprecated. This field has no effect.
|
3321
3313
|
# Corresponds to the JSON property `locationId`
|
3322
3314
|
# @return [String]
|
3323
3315
|
attr_accessor :location_id
|
@@ -4904,7 +4896,8 @@ module Google
|
|
4904
4896
|
# Publish a message into given Pub/Sub topic when DlpJob has completed. The
|
4905
4897
|
# message contains a single field, `DlpJobName`, which is equal to the
|
4906
4898
|
# finished job's
|
4907
|
-
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.
|
4899
|
+
# [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
|
4900
|
+
# dlpJobs#DlpJob).
|
4908
4901
|
# Compatible with: Inspect, Risk
|
4909
4902
|
class GooglePrivacyDlpV2PublishToPubSub
|
4910
4903
|
include Google::Apis::Core::Hashable
|
@@ -5262,9 +5255,7 @@ module Google
|
|
5262
5255
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
|
5263
5256
|
attr_accessor :inspect_config
|
5264
5257
|
|
5265
|
-
#
|
5266
|
-
# extensions.
|
5267
|
-
# Location is restricted to 'global', 'us', 'asia', and 'europe'.
|
5258
|
+
# Deprecated. This field has no effect.
|
5268
5259
|
# Corresponds to the JSON property `locationId`
|
5269
5260
|
# @return [String]
|
5270
5261
|
attr_accessor :location_id
|
@@ -5370,8 +5361,7 @@ module Google
|
|
5370
5361
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
|
5371
5362
|
attr_accessor :item
|
5372
5363
|
|
5373
|
-
#
|
5374
|
-
# future extensions.
|
5364
|
+
# Deprecated. This field has no effect.
|
5375
5365
|
# Corresponds to the JSON property `locationId`
|
5376
5366
|
# @return [String]
|
5377
5367
|
attr_accessor :location_id
|
@@ -5987,8 +5977,8 @@ module Google
|
|
5987
5977
|
|
5988
5978
|
# Message for detecting output from deidentification transformations
|
5989
5979
|
# such as
|
5990
|
-
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/
|
5991
|
-
# deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
5980
|
+
# [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
|
5981
|
+
# v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
5992
5982
|
# These types of transformations are
|
5993
5983
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
5994
5984
|
# output. This should be used in conjunction with a field on the
|
@@ -60,8 +60,10 @@ module Google
|
|
60
60
|
# names. If omitted, or if localized strings are not available,
|
61
61
|
# en-US strings will be returned.
|
62
62
|
# @param [String] location_id
|
63
|
-
#
|
64
|
-
#
|
63
|
+
# Deprecated. This field has no effect.
|
64
|
+
# @param [String] parent
|
65
|
+
# The parent resource name.
|
66
|
+
# - Format:locations/[LOCATION-ID]
|
65
67
|
# @param [String] fields
|
66
68
|
# Selector specifying which fields to include in a partial response.
|
67
69
|
# @param [String] quota_user
|
@@ -79,13 +81,14 @@ module Google
|
|
79
81
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
82
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
83
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def list_info_types(filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
84
|
+
def list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
85
|
command = make_simple_command(:get, 'v2/infoTypes', options)
|
84
86
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
|
85
87
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
|
86
88
|
command.query['filter'] = filter unless filter.nil?
|
87
89
|
command.query['languageCode'] = language_code unless language_code.nil?
|
88
90
|
command.query['locationId'] = location_id unless location_id.nil?
|
91
|
+
command.query['parent'] = parent unless parent.nil?
|
89
92
|
command.query['fields'] = fields unless fields.nil?
|
90
93
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
94
|
execute_or_queue_command(command, &block)
|
@@ -94,9 +97,9 @@ module Google
|
|
94
97
|
# Returns a list of the sensitive information types that the DLP API
|
95
98
|
# supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
|
96
99
|
# learn more.
|
97
|
-
# @param [String]
|
98
|
-
# The
|
99
|
-
#
|
100
|
+
# @param [String] parent
|
101
|
+
# The parent resource name.
|
102
|
+
# - Format:locations/[LOCATION-ID]
|
100
103
|
# @param [String] filter
|
101
104
|
# filter to only return infoTypes supported by certain parts of the
|
102
105
|
# API. Defaults to supported_by=INSPECT.
|
@@ -104,6 +107,8 @@ module Google
|
|
104
107
|
# BCP-47 language code for localized infoType friendly
|
105
108
|
# names. If omitted, or if localized strings are not available,
|
106
109
|
# en-US strings will be returned.
|
110
|
+
# @param [String] location_id
|
111
|
+
# Deprecated. This field has no effect.
|
107
112
|
# @param [String] fields
|
108
113
|
# Selector specifying which fields to include in a partial response.
|
109
114
|
# @param [String] quota_user
|
@@ -121,13 +126,14 @@ module Google
|
|
121
126
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
122
127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
123
128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
124
|
-
def list_location_info_types(
|
125
|
-
command = make_simple_command(:get, 'v2/
|
129
|
+
def list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
130
|
+
command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options)
|
126
131
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
|
127
132
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
|
128
|
-
command.params['
|
133
|
+
command.params['parent'] = parent unless parent.nil?
|
129
134
|
command.query['filter'] = filter unless filter.nil?
|
130
135
|
command.query['languageCode'] = language_code unless language_code.nil?
|
136
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
131
137
|
command.query['fields'] = fields unless fields.nil?
|
132
138
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
139
|
execute_or_queue_command(command, &block)
|
@@ -138,8 +144,11 @@ module Google
|
|
138
144
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
139
145
|
# more.
|
140
146
|
# @param [String] parent
|
141
|
-
# Required.
|
142
|
-
#
|
147
|
+
# Required. Parent resource name.
|
148
|
+
# - Format:projects/[PROJECT-ID]
|
149
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
150
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
151
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
143
152
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
144
153
|
# @param [String] fields
|
145
154
|
# Selector specifying which fields to include in a partial response.
|
@@ -244,11 +253,13 @@ module Google
|
|
244
253
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
245
254
|
# more.
|
246
255
|
# @param [String] parent
|
247
|
-
# Required.
|
248
|
-
#
|
256
|
+
# Required. Parent resource name.
|
257
|
+
# - Format:projects/[PROJECT-ID]
|
258
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
259
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
260
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
249
261
|
# @param [String] location_id
|
250
|
-
#
|
251
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
262
|
+
# Deprecated. This field has no effect.
|
252
263
|
# @param [String] order_by
|
253
264
|
# Comma separated list of fields to order by,
|
254
265
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -339,8 +350,11 @@ module Google
|
|
339
350
|
# for inspecting content, images, and storage.
|
340
351
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
341
352
|
# @param [String] parent
|
342
|
-
# Required.
|
343
|
-
#
|
353
|
+
# Required. Parent resource name.
|
354
|
+
# - Format:projects/[PROJECT-ID]
|
355
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
356
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
357
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
344
358
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
345
359
|
# @param [String] fields
|
346
360
|
# Selector specifying which fields to include in a partial response.
|
@@ -442,11 +456,13 @@ module Google
|
|
442
456
|
# Lists InspectTemplates.
|
443
457
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
444
458
|
# @param [String] parent
|
445
|
-
# Required.
|
446
|
-
#
|
459
|
+
# Required. Parent resource name.
|
460
|
+
# - Format:projects/[PROJECT-ID]
|
461
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
462
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
463
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
447
464
|
# @param [String] location_id
|
448
|
-
#
|
449
|
-
# Use `-` for all locations. Reserved for future extensions.
|
465
|
+
# Deprecated. This field has no effect.
|
450
466
|
# @param [String] order_by
|
451
467
|
# Comma separated list of fields to order by,
|
452
468
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -536,11 +552,11 @@ module Google
|
|
536
552
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
537
553
|
# more.
|
538
554
|
# @param [String] parent
|
539
|
-
# Required.
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
555
|
+
# Required. Parent resource name.
|
556
|
+
# - Format:projects/[PROJECT-ID]
|
557
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
558
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
559
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
544
560
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
545
561
|
# @param [String] fields
|
546
562
|
# Selector specifying which fields to include in a partial response.
|
@@ -559,14 +575,13 @@ module Google
|
|
559
575
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
560
576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
561
577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
562
|
-
def create_organization_location_deidentify_template(parent,
|
563
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
578
|
+
def create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
579
|
+
command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
|
564
580
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
|
565
581
|
command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
|
566
582
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
|
567
583
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
|
568
584
|
command.params['parent'] = parent unless parent.nil?
|
569
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
570
585
|
command.query['fields'] = fields unless fields.nil?
|
571
586
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
572
587
|
execute_or_queue_command(command, &block)
|
@@ -646,11 +661,13 @@ module Google
|
|
646
661
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
647
662
|
# more.
|
648
663
|
# @param [String] parent
|
649
|
-
# Required.
|
650
|
-
#
|
664
|
+
# Required. Parent resource name.
|
665
|
+
# - Format:projects/[PROJECT-ID]
|
666
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
667
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
668
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
651
669
|
# @param [String] location_id
|
652
|
-
#
|
653
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
670
|
+
# Deprecated. This field has no effect.
|
654
671
|
# @param [String] order_by
|
655
672
|
# Comma separated list of fields to order by,
|
656
673
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -685,12 +702,12 @@ module Google
|
|
685
702
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
686
703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
687
704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
688
|
-
def list_organization_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
689
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
705
|
+
def list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
|
690
707
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
|
691
708
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
692
709
|
command.params['parent'] = parent unless parent.nil?
|
693
|
-
command.
|
710
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
694
711
|
command.query['orderBy'] = order_by unless order_by.nil?
|
695
712
|
command.query['pageSize'] = page_size unless page_size.nil?
|
696
713
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -741,11 +758,11 @@ module Google
|
|
741
758
|
# for inspecting content, images, and storage.
|
742
759
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
743
760
|
# @param [String] parent
|
744
|
-
# Required.
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
761
|
+
# Required. Parent resource name.
|
762
|
+
# - Format:projects/[PROJECT-ID]
|
763
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
764
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
765
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
749
766
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
750
767
|
# @param [String] fields
|
751
768
|
# Selector specifying which fields to include in a partial response.
|
@@ -764,14 +781,13 @@ module Google
|
|
764
781
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
765
782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
766
783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
767
|
-
def create_organization_location_inspect_template(parent,
|
768
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
784
|
+
def create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
785
|
+
command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
|
769
786
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
|
770
787
|
command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
|
771
788
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
|
772
789
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
|
773
790
|
command.params['parent'] = parent unless parent.nil?
|
774
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
775
791
|
command.query['fields'] = fields unless fields.nil?
|
776
792
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
777
793
|
execute_or_queue_command(command, &block)
|
@@ -848,11 +864,13 @@ module Google
|
|
848
864
|
# Lists InspectTemplates.
|
849
865
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
850
866
|
# @param [String] parent
|
851
|
-
# Required.
|
852
|
-
#
|
867
|
+
# Required. Parent resource name.
|
868
|
+
# - Format:projects/[PROJECT-ID]
|
869
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
870
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
871
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
853
872
|
# @param [String] location_id
|
854
|
-
#
|
855
|
-
# Use `-` for all locations. Reserved for future extensions.
|
873
|
+
# Deprecated. This field has no effect.
|
856
874
|
# @param [String] order_by
|
857
875
|
# Comma separated list of fields to order by,
|
858
876
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -887,12 +905,12 @@ module Google
|
|
887
905
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
888
906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
889
907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
890
|
-
def list_organization_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
891
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
908
|
+
def list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
|
+
command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
|
892
910
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
|
893
911
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
|
894
912
|
command.params['parent'] = parent unless parent.nil?
|
895
|
-
command.
|
913
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
896
914
|
command.query['orderBy'] = order_by unless order_by.nil?
|
897
915
|
command.query['pageSize'] = page_size unless page_size.nil?
|
898
916
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -941,11 +959,11 @@ module Google
|
|
941
959
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
942
960
|
# learn more.
|
943
961
|
# @param [String] parent
|
944
|
-
# Required.
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
962
|
+
# Required. Parent resource name.
|
963
|
+
# - Format:projects/[PROJECT-ID]
|
964
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
965
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
966
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
949
967
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
950
968
|
# @param [String] fields
|
951
969
|
# Selector specifying which fields to include in a partial response.
|
@@ -964,14 +982,13 @@ module Google
|
|
964
982
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
965
983
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
966
984
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
967
|
-
def create_organization_location_stored_info_type(parent,
|
968
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
985
|
+
def create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
986
|
+
command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
|
969
987
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
|
970
988
|
command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
|
971
989
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
|
972
990
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
|
973
991
|
command.params['parent'] = parent unless parent.nil?
|
974
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
975
992
|
command.query['fields'] = fields unless fields.nil?
|
976
993
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
977
994
|
execute_or_queue_command(command, &block)
|
@@ -1050,11 +1067,13 @@ module Google
|
|
1050
1067
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
1051
1068
|
# learn more.
|
1052
1069
|
# @param [String] parent
|
1053
|
-
# Required.
|
1054
|
-
#
|
1070
|
+
# Required. Parent resource name.
|
1071
|
+
# - Format:projects/[PROJECT-ID]
|
1072
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1073
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1074
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1055
1075
|
# @param [String] location_id
|
1056
|
-
#
|
1057
|
-
# Use `-` for all locations. Reserved for future extensions.
|
1076
|
+
# Deprecated. This field has no effect.
|
1058
1077
|
# @param [String] order_by
|
1059
1078
|
# Comma separated list of fields to order by,
|
1060
1079
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -1090,12 +1109,12 @@ module Google
|
|
1090
1109
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1091
1110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1092
1111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1093
|
-
def list_organization_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1094
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
1112
|
+
def list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1113
|
+
command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
|
1095
1114
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
|
1096
1115
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
|
1097
1116
|
command.params['parent'] = parent unless parent.nil?
|
1098
|
-
command.
|
1117
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
1099
1118
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1100
1119
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1101
1120
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1146,8 +1165,11 @@ module Google
|
|
1146
1165
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
1147
1166
|
# learn more.
|
1148
1167
|
# @param [String] parent
|
1149
|
-
# Required.
|
1150
|
-
#
|
1168
|
+
# Required. Parent resource name.
|
1169
|
+
# - Format:projects/[PROJECT-ID]
|
1170
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1171
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1172
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1151
1173
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
1152
1174
|
# @param [String] fields
|
1153
1175
|
# Selector specifying which fields to include in a partial response.
|
@@ -1251,11 +1273,13 @@ module Google
|
|
1251
1273
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
1252
1274
|
# learn more.
|
1253
1275
|
# @param [String] parent
|
1254
|
-
# Required.
|
1255
|
-
#
|
1276
|
+
# Required. Parent resource name.
|
1277
|
+
# - Format:projects/[PROJECT-ID]
|
1278
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1279
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1280
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1256
1281
|
# @param [String] location_id
|
1257
|
-
#
|
1258
|
-
# Use `-` for all locations. Reserved for future extensions.
|
1282
|
+
# Deprecated. This field has no effect.
|
1259
1283
|
# @param [String] order_by
|
1260
1284
|
# Comma separated list of fields to order by,
|
1261
1285
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -1351,7 +1375,9 @@ module Google
|
|
1351
1375
|
# system will automatically choose what detectors to run. By default this may
|
1352
1376
|
# be all types, but may change over time as detectors are updated.
|
1353
1377
|
# @param [String] parent
|
1354
|
-
#
|
1378
|
+
# Parent resource name.
|
1379
|
+
# - Format:projects/[PROJECT-ID]
|
1380
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1355
1381
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
1356
1382
|
# @param [String] fields
|
1357
1383
|
# Selector specifying which fields to include in a partial response.
|
@@ -1390,7 +1416,9 @@ module Google
|
|
1390
1416
|
# For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
|
1391
1417
|
# and https://cloud.google.com/dlp/docs/inspecting-text,
|
1392
1418
|
# @param [String] parent
|
1393
|
-
#
|
1419
|
+
# Parent resource name.
|
1420
|
+
# - Format:projects/[PROJECT-ID]
|
1421
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1394
1422
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
|
1395
1423
|
# @param [String] fields
|
1396
1424
|
# Selector specifying which fields to include in a partial response.
|
@@ -1428,6 +1456,8 @@ module Google
|
|
1428
1456
|
# to learn more.
|
1429
1457
|
# @param [String] parent
|
1430
1458
|
# Required. The parent resource name.
|
1459
|
+
# - Format:projects/[PROJECT-ID]
|
1460
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1431
1461
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
|
1432
1462
|
# @param [String] fields
|
1433
1463
|
# Selector specifying which fields to include in a partial response.
|
@@ -1463,8 +1493,11 @@ module Google
|
|
1463
1493
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
1464
1494
|
# more.
|
1465
1495
|
# @param [String] parent
|
1466
|
-
# Required.
|
1467
|
-
#
|
1496
|
+
# Required. Parent resource name.
|
1497
|
+
# - Format:projects/[PROJECT-ID]
|
1498
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1499
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1500
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1468
1501
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
1469
1502
|
# @param [String] fields
|
1470
1503
|
# Selector specifying which fields to include in a partial response.
|
@@ -1569,11 +1602,13 @@ module Google
|
|
1569
1602
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
1570
1603
|
# more.
|
1571
1604
|
# @param [String] parent
|
1572
|
-
# Required.
|
1573
|
-
#
|
1605
|
+
# Required. Parent resource name.
|
1606
|
+
# - Format:projects/[PROJECT-ID]
|
1607
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1608
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1609
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1574
1610
|
# @param [String] location_id
|
1575
|
-
#
|
1576
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
1611
|
+
# Deprecated. This field has no effect.
|
1577
1612
|
# @param [String] order_by
|
1578
1613
|
# Comma separated list of fields to order by,
|
1579
1614
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -1704,7 +1739,9 @@ module Google
|
|
1704
1739
|
# system will automatically choose what detectors to run. By default this may
|
1705
1740
|
# be all types, but may change over time as detectors are updated.
|
1706
1741
|
# @param [String] parent
|
1707
|
-
# Required.
|
1742
|
+
# Required. Parent resource name.
|
1743
|
+
# - Format:projects/[PROJECT-ID]
|
1744
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1708
1745
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
1709
1746
|
# @param [String] fields
|
1710
1747
|
# Selector specifying which fields to include in a partial response.
|
@@ -1805,7 +1842,9 @@ module Google
|
|
1805
1842
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
1806
1843
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
1807
1844
|
# @param [String] parent
|
1808
|
-
# Required.
|
1845
|
+
# Required. Parent resource name.
|
1846
|
+
# - Format:projects/[PROJECT-ID]
|
1847
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1809
1848
|
# @param [String] filter
|
1810
1849
|
# Allows filtering.
|
1811
1850
|
# Supported syntax:
|
@@ -1831,8 +1870,7 @@ module Google
|
|
1831
1870
|
# * end_time > \"2017-12-12T00:00:00+00:00\"
|
1832
1871
|
# The length of this field should be no more than 500 characters.
|
1833
1872
|
# @param [String] location_id
|
1834
|
-
#
|
1835
|
-
# Use `-` for all locations. Reserved for future extensions.
|
1873
|
+
# Deprecated. This field has no effect.
|
1836
1874
|
# @param [String] order_by
|
1837
1875
|
# Comma separated list of fields to order by,
|
1838
1876
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -1891,7 +1929,9 @@ module Google
|
|
1891
1929
|
# system will automatically choose what detectors to run. By default this may
|
1892
1930
|
# be all types, but may change over time as detectors are updated.
|
1893
1931
|
# @param [String] parent
|
1894
|
-
# The parent resource name
|
1932
|
+
# The parent resource name.
|
1933
|
+
# - Format:projects/[PROJECT-ID]
|
1934
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1895
1935
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
1896
1936
|
# @param [String] fields
|
1897
1937
|
# Selector specifying which fields to include in a partial response.
|
@@ -1926,8 +1966,11 @@ module Google
|
|
1926
1966
|
# for inspecting content, images, and storage.
|
1927
1967
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
1928
1968
|
# @param [String] parent
|
1929
|
-
# Required.
|
1930
|
-
#
|
1969
|
+
# Required. Parent resource name.
|
1970
|
+
# - Format:projects/[PROJECT-ID]
|
1971
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
1972
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
1973
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
1931
1974
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
1932
1975
|
# @param [String] fields
|
1933
1976
|
# Selector specifying which fields to include in a partial response.
|
@@ -2029,11 +2072,13 @@ module Google
|
|
2029
2072
|
# Lists InspectTemplates.
|
2030
2073
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
2031
2074
|
# @param [String] parent
|
2032
|
-
# Required.
|
2033
|
-
#
|
2075
|
+
# Required. Parent resource name.
|
2076
|
+
# - Format:projects/[PROJECT-ID]
|
2077
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
2078
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2079
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
2034
2080
|
# @param [String] location_id
|
2035
|
-
#
|
2036
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2081
|
+
# Deprecated. This field has no effect.
|
2037
2082
|
# @param [String] order_by
|
2038
2083
|
# Comma separated list of fields to order by,
|
2039
2084
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -2157,7 +2202,9 @@ module Google
|
|
2157
2202
|
# sensitive information on a set schedule.
|
2158
2203
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
2159
2204
|
# @param [String] parent
|
2160
|
-
# Required.
|
2205
|
+
# Required. Parent resource name.
|
2206
|
+
# - Format:projects/[PROJECT-ID]
|
2207
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2161
2208
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
|
2162
2209
|
# @param [String] fields
|
2163
2210
|
# Selector specifying which fields to include in a partial response.
|
@@ -2255,7 +2302,9 @@ module Google
|
|
2255
2302
|
# Lists job triggers.
|
2256
2303
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
2257
2304
|
# @param [String] parent
|
2258
|
-
# Required.
|
2305
|
+
# Required. Parent resource name.
|
2306
|
+
# - Format:projects/[PROJECT-ID]
|
2307
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2259
2308
|
# @param [String] filter
|
2260
2309
|
# Allows filtering.
|
2261
2310
|
# Supported syntax:
|
@@ -2277,8 +2326,7 @@ module Google
|
|
2277
2326
|
# * last_run_time > \"2017-12-12T00:00:00+00:00\"
|
2278
2327
|
# The length of this field should be no more than 500 characters.
|
2279
2328
|
# @param [String] location_id
|
2280
|
-
#
|
2281
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2329
|
+
# Deprecated. This field has no effect.
|
2282
2330
|
# @param [String] order_by
|
2283
2331
|
# Comma separated list of triggeredJob fields to order by,
|
2284
2332
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -2373,10 +2421,9 @@ module Google
|
|
2373
2421
|
# system will automatically choose what detectors to run. By default this may
|
2374
2422
|
# be all types, but may change over time as detectors are updated.
|
2375
2423
|
# @param [String] parent
|
2376
|
-
#
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
# extensions.
|
2424
|
+
# Parent resource name.
|
2425
|
+
# - Format:projects/[PROJECT-ID]
|
2426
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2380
2427
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
2381
2428
|
# @param [String] fields
|
2382
2429
|
# Selector specifying which fields to include in a partial response.
|
@@ -2395,14 +2442,13 @@ module Google
|
|
2395
2442
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2396
2443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2397
2444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2398
|
-
def deidentify_project_location_content(parent,
|
2399
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
2445
|
+
def deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2446
|
+
command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', options)
|
2400
2447
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation
|
2401
2448
|
command.request_object = google_privacy_dlp_v2_deidentify_content_request_object
|
2402
2449
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation
|
2403
2450
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
|
2404
2451
|
command.params['parent'] = parent unless parent.nil?
|
2405
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2406
2452
|
command.query['fields'] = fields unless fields.nil?
|
2407
2453
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2408
2454
|
execute_or_queue_command(command, &block)
|
@@ -2416,12 +2462,9 @@ module Google
|
|
2416
2462
|
# For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
|
2417
2463
|
# and https://cloud.google.com/dlp/docs/inspecting-text,
|
2418
2464
|
# @param [String] parent
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
#
|
2422
|
-
# extensions.
|
2423
|
-
# When inspecting images location is restricted to 'global', 'us', 'asia',
|
2424
|
-
# and 'europe'.
|
2465
|
+
# Parent resource name.
|
2466
|
+
# - Format:projects/[PROJECT-ID]
|
2467
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2425
2468
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
|
2426
2469
|
# @param [String] fields
|
2427
2470
|
# Selector specifying which fields to include in a partial response.
|
@@ -2440,14 +2483,13 @@ module Google
|
|
2440
2483
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2441
2484
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2442
2485
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2443
|
-
def inspect_project_location_content(parent,
|
2444
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
2486
|
+
def inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2487
|
+
command = make_simple_command(:post, 'v2/{+parent}/content:inspect', options)
|
2445
2488
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation
|
2446
2489
|
command.request_object = google_privacy_dlp_v2_inspect_content_request_object
|
2447
2490
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation
|
2448
2491
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
|
2449
2492
|
command.params['parent'] = parent unless parent.nil?
|
2450
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2451
2493
|
command.query['fields'] = fields unless fields.nil?
|
2452
2494
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2453
2495
|
execute_or_queue_command(command, &block)
|
@@ -2460,9 +2502,8 @@ module Google
|
|
2460
2502
|
# to learn more.
|
2461
2503
|
# @param [String] parent
|
2462
2504
|
# Required. The parent resource name.
|
2463
|
-
#
|
2464
|
-
#
|
2465
|
-
# future extensions.
|
2505
|
+
# - Format:projects/[PROJECT-ID]
|
2506
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2466
2507
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
|
2467
2508
|
# @param [String] fields
|
2468
2509
|
# Selector specifying which fields to include in a partial response.
|
@@ -2481,14 +2522,13 @@ module Google
|
|
2481
2522
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2482
2523
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2483
2524
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2484
|
-
def reidentify_project_location_content(parent,
|
2485
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
2525
|
+
def reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2526
|
+
command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', options)
|
2486
2527
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation
|
2487
2528
|
command.request_object = google_privacy_dlp_v2_reidentify_content_request_object
|
2488
2529
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation
|
2489
2530
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
|
2490
2531
|
command.params['parent'] = parent unless parent.nil?
|
2491
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2492
2532
|
command.query['fields'] = fields unless fields.nil?
|
2493
2533
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2494
2534
|
execute_or_queue_command(command, &block)
|
@@ -2499,11 +2539,11 @@ module Google
|
|
2499
2539
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
2500
2540
|
# more.
|
2501
2541
|
# @param [String] parent
|
2502
|
-
# Required.
|
2503
|
-
#
|
2504
|
-
#
|
2505
|
-
#
|
2506
|
-
#
|
2542
|
+
# Required. Parent resource name.
|
2543
|
+
# - Format:projects/[PROJECT-ID]
|
2544
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
2545
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2546
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
2507
2547
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
2508
2548
|
# @param [String] fields
|
2509
2549
|
# Selector specifying which fields to include in a partial response.
|
@@ -2522,14 +2562,13 @@ module Google
|
|
2522
2562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2523
2563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2524
2564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2525
|
-
def create_project_location_deidentify_template(parent,
|
2526
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
2565
|
+
def create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2566
|
+
command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
|
2527
2567
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
|
2528
2568
|
command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
|
2529
2569
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
|
2530
2570
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
|
2531
2571
|
command.params['parent'] = parent unless parent.nil?
|
2532
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2533
2572
|
command.query['fields'] = fields unless fields.nil?
|
2534
2573
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2535
2574
|
execute_or_queue_command(command, &block)
|
@@ -2609,11 +2648,13 @@ module Google
|
|
2609
2648
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
2610
2649
|
# more.
|
2611
2650
|
# @param [String] parent
|
2612
|
-
# Required.
|
2613
|
-
#
|
2651
|
+
# Required. Parent resource name.
|
2652
|
+
# - Format:projects/[PROJECT-ID]
|
2653
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
2654
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2655
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
2614
2656
|
# @param [String] location_id
|
2615
|
-
#
|
2616
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
2657
|
+
# Deprecated. This field has no effect.
|
2617
2658
|
# @param [String] order_by
|
2618
2659
|
# Comma separated list of fields to order by,
|
2619
2660
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -2648,12 +2689,12 @@ module Google
|
|
2648
2689
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2649
2690
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2650
2691
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2651
|
-
def list_project_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2652
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
2692
|
+
def list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2693
|
+
command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
|
2653
2694
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
|
2654
2695
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
2655
2696
|
command.params['parent'] = parent unless parent.nil?
|
2656
|
-
command.
|
2697
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
2657
2698
|
command.query['orderBy'] = order_by unless order_by.nil?
|
2658
2699
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2659
2700
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -2744,10 +2785,9 @@ module Google
|
|
2744
2785
|
# system will automatically choose what detectors to run. By default this may
|
2745
2786
|
# be all types, but may change over time as detectors are updated.
|
2746
2787
|
# @param [String] parent
|
2747
|
-
# Required.
|
2748
|
-
#
|
2749
|
-
#
|
2750
|
-
# future extensions.
|
2788
|
+
# Required. Parent resource name.
|
2789
|
+
# - Format:projects/[PROJECT-ID]
|
2790
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2751
2791
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
2752
2792
|
# @param [String] fields
|
2753
2793
|
# Selector specifying which fields to include in a partial response.
|
@@ -2766,14 +2806,13 @@ module Google
|
|
2766
2806
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2767
2807
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2768
2808
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2769
|
-
def create_project_location_dlp_job(parent,
|
2770
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
2809
|
+
def create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2810
|
+
command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', options)
|
2771
2811
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation
|
2772
2812
|
command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object
|
2773
2813
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation
|
2774
2814
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
|
2775
2815
|
command.params['parent'] = parent unless parent.nil?
|
2776
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2777
2816
|
command.query['fields'] = fields unless fields.nil?
|
2778
2817
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2779
2818
|
execute_or_queue_command(command, &block)
|
@@ -2925,10 +2964,9 @@ module Google
|
|
2925
2964
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
2926
2965
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
2927
2966
|
# @param [String] parent
|
2928
|
-
# Required.
|
2929
|
-
#
|
2930
|
-
#
|
2931
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2967
|
+
# Required. Parent resource name.
|
2968
|
+
# - Format:projects/[PROJECT-ID]
|
2969
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
2932
2970
|
# @param [String] filter
|
2933
2971
|
# Allows filtering.
|
2934
2972
|
# Supported syntax:
|
@@ -2953,6 +2991,8 @@ module Google
|
|
2953
2991
|
# * inspected_storage = cloud_storage AND (state = done OR state = canceled)
|
2954
2992
|
# * end_time > \"2017-12-12T00:00:00+00:00\"
|
2955
2993
|
# The length of this field should be no more than 500 characters.
|
2994
|
+
# @param [String] location_id
|
2995
|
+
# Deprecated. This field has no effect.
|
2956
2996
|
# @param [String] order_by
|
2957
2997
|
# Comma separated list of fields to order by,
|
2958
2998
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -2987,13 +3027,13 @@ module Google
|
|
2987
3027
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2988
3028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2989
3029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2990
|
-
def list_project_location_dlp_jobs(parent,
|
2991
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
3030
|
+
def list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3031
|
+
command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options)
|
2992
3032
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation
|
2993
3033
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
|
2994
3034
|
command.params['parent'] = parent unless parent.nil?
|
2995
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
2996
3035
|
command.query['filter'] = filter unless filter.nil?
|
3036
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
2997
3037
|
command.query['orderBy'] = order_by unless order_by.nil?
|
2998
3038
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2999
3039
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -3011,11 +3051,9 @@ module Google
|
|
3011
3051
|
# system will automatically choose what detectors to run. By default this may
|
3012
3052
|
# be all types, but may change over time as detectors are updated.
|
3013
3053
|
# @param [String] parent
|
3014
|
-
# The parent resource name
|
3015
|
-
#
|
3016
|
-
#
|
3017
|
-
# extensions.
|
3018
|
-
# Location is restricted to 'global', 'us', 'asia', and 'europe'.
|
3054
|
+
# The parent resource name.
|
3055
|
+
# - Format:projects/[PROJECT-ID]
|
3056
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3019
3057
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
3020
3058
|
# @param [String] fields
|
3021
3059
|
# Selector specifying which fields to include in a partial response.
|
@@ -3034,14 +3072,13 @@ module Google
|
|
3034
3072
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3035
3073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3036
3074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3037
|
-
def redact_project_location_image(parent,
|
3038
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
3075
|
+
def redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3076
|
+
command = make_simple_command(:post, 'v2/{+parent}/image:redact', options)
|
3039
3077
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation
|
3040
3078
|
command.request_object = google_privacy_dlp_v2_redact_image_request_object
|
3041
3079
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation
|
3042
3080
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
|
3043
3081
|
command.params['parent'] = parent unless parent.nil?
|
3044
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
3045
3082
|
command.query['fields'] = fields unless fields.nil?
|
3046
3083
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3047
3084
|
execute_or_queue_command(command, &block)
|
@@ -3051,11 +3088,11 @@ module Google
|
|
3051
3088
|
# for inspecting content, images, and storage.
|
3052
3089
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
3053
3090
|
# @param [String] parent
|
3054
|
-
# Required.
|
3055
|
-
#
|
3056
|
-
#
|
3057
|
-
#
|
3058
|
-
#
|
3091
|
+
# Required. Parent resource name.
|
3092
|
+
# - Format:projects/[PROJECT-ID]
|
3093
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3094
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3095
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3059
3096
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
3060
3097
|
# @param [String] fields
|
3061
3098
|
# Selector specifying which fields to include in a partial response.
|
@@ -3074,14 +3111,13 @@ module Google
|
|
3074
3111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3075
3112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3076
3113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3077
|
-
def create_project_location_inspect_template(parent,
|
3078
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
3114
|
+
def create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3115
|
+
command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
|
3079
3116
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
|
3080
3117
|
command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
|
3081
3118
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
|
3082
3119
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
|
3083
3120
|
command.params['parent'] = parent unless parent.nil?
|
3084
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
3085
3121
|
command.query['fields'] = fields unless fields.nil?
|
3086
3122
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3087
3123
|
execute_or_queue_command(command, &block)
|
@@ -3158,11 +3194,13 @@ module Google
|
|
3158
3194
|
# Lists InspectTemplates.
|
3159
3195
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
3160
3196
|
# @param [String] parent
|
3161
|
-
# Required.
|
3162
|
-
#
|
3197
|
+
# Required. Parent resource name.
|
3198
|
+
# - Format:projects/[PROJECT-ID]
|
3199
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3200
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3201
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3163
3202
|
# @param [String] location_id
|
3164
|
-
#
|
3165
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3203
|
+
# Deprecated. This field has no effect.
|
3166
3204
|
# @param [String] order_by
|
3167
3205
|
# Comma separated list of fields to order by,
|
3168
3206
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -3197,12 +3235,12 @@ module Google
|
|
3197
3235
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3198
3236
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3199
3237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3200
|
-
def list_project_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3201
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
3238
|
+
def list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3239
|
+
command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
|
3202
3240
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
|
3203
3241
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
|
3204
3242
|
command.params['parent'] = parent unless parent.nil?
|
3205
|
-
command.
|
3243
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
3206
3244
|
command.query['orderBy'] = order_by unless order_by.nil?
|
3207
3245
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3208
3246
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -3286,10 +3324,9 @@ module Google
|
|
3286
3324
|
# sensitive information on a set schedule.
|
3287
3325
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
3288
3326
|
# @param [String] parent
|
3289
|
-
# Required.
|
3290
|
-
#
|
3291
|
-
#
|
3292
|
-
# future extensions.
|
3327
|
+
# Required. Parent resource name.
|
3328
|
+
# - Format:projects/[PROJECT-ID]
|
3329
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3293
3330
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
|
3294
3331
|
# @param [String] fields
|
3295
3332
|
# Selector specifying which fields to include in a partial response.
|
@@ -3308,14 +3345,13 @@ module Google
|
|
3308
3345
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3309
3346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3310
3347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3311
|
-
def create_project_location_job_trigger(parent,
|
3312
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
3348
|
+
def create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3349
|
+
command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', options)
|
3313
3350
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation
|
3314
3351
|
command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object
|
3315
3352
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
|
3316
3353
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
|
3317
3354
|
command.params['parent'] = parent unless parent.nil?
|
3318
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
3319
3355
|
command.query['fields'] = fields unless fields.nil?
|
3320
3356
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3321
3357
|
execute_or_queue_command(command, &block)
|
@@ -3428,10 +3464,9 @@ module Google
|
|
3428
3464
|
# Lists job triggers.
|
3429
3465
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
3430
3466
|
# @param [String] parent
|
3431
|
-
# Required.
|
3432
|
-
#
|
3433
|
-
#
|
3434
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3467
|
+
# Required. Parent resource name.
|
3468
|
+
# - Format:projects/[PROJECT-ID]
|
3469
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3435
3470
|
# @param [String] filter
|
3436
3471
|
# Allows filtering.
|
3437
3472
|
# Supported syntax:
|
@@ -3452,6 +3487,8 @@ module Google
|
|
3452
3487
|
# * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
|
3453
3488
|
# * last_run_time > \"2017-12-12T00:00:00+00:00\"
|
3454
3489
|
# The length of this field should be no more than 500 characters.
|
3490
|
+
# @param [String] location_id
|
3491
|
+
# Deprecated. This field has no effect.
|
3455
3492
|
# @param [String] order_by
|
3456
3493
|
# Comma separated list of triggeredJob fields to order by,
|
3457
3494
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -3488,13 +3525,13 @@ module Google
|
|
3488
3525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3489
3526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3490
3527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3491
|
-
def list_project_location_job_triggers(parent,
|
3492
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
3528
|
+
def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3529
|
+
command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
|
3493
3530
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
|
3494
3531
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
|
3495
3532
|
command.params['parent'] = parent unless parent.nil?
|
3496
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
3497
3533
|
command.query['filter'] = filter unless filter.nil?
|
3534
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
3498
3535
|
command.query['orderBy'] = order_by unless order_by.nil?
|
3499
3536
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3500
3537
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -3542,11 +3579,11 @@ module Google
|
|
3542
3579
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
3543
3580
|
# learn more.
|
3544
3581
|
# @param [String] parent
|
3545
|
-
# Required.
|
3546
|
-
#
|
3547
|
-
#
|
3548
|
-
#
|
3549
|
-
#
|
3582
|
+
# Required. Parent resource name.
|
3583
|
+
# - Format:projects/[PROJECT-ID]
|
3584
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3585
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3586
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3550
3587
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
3551
3588
|
# @param [String] fields
|
3552
3589
|
# Selector specifying which fields to include in a partial response.
|
@@ -3565,14 +3602,13 @@ module Google
|
|
3565
3602
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3566
3603
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3567
3604
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3568
|
-
def create_project_location_stored_info_type(parent,
|
3569
|
-
command = make_simple_command(:post, 'v2/{+parent}/
|
3605
|
+
def create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3606
|
+
command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
|
3570
3607
|
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
|
3571
3608
|
command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
|
3572
3609
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
|
3573
3610
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
|
3574
3611
|
command.params['parent'] = parent unless parent.nil?
|
3575
|
-
command.params['locationId'] = location_id unless location_id.nil?
|
3576
3612
|
command.query['fields'] = fields unless fields.nil?
|
3577
3613
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3578
3614
|
execute_or_queue_command(command, &block)
|
@@ -3651,11 +3687,13 @@ module Google
|
|
3651
3687
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
3652
3688
|
# learn more.
|
3653
3689
|
# @param [String] parent
|
3654
|
-
# Required.
|
3655
|
-
#
|
3690
|
+
# Required. Parent resource name.
|
3691
|
+
# - Format:projects/[PROJECT-ID]
|
3692
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3693
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3694
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3656
3695
|
# @param [String] location_id
|
3657
|
-
#
|
3658
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3696
|
+
# Deprecated. This field has no effect.
|
3659
3697
|
# @param [String] order_by
|
3660
3698
|
# Comma separated list of fields to order by,
|
3661
3699
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
@@ -3691,12 +3729,12 @@ module Google
|
|
3691
3729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3692
3730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3693
3731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3694
|
-
def list_project_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3695
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
3732
|
+
def list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3733
|
+
command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
|
3696
3734
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
|
3697
3735
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
|
3698
3736
|
command.params['parent'] = parent unless parent.nil?
|
3699
|
-
command.
|
3737
|
+
command.query['locationId'] = location_id unless location_id.nil?
|
3700
3738
|
command.query['orderBy'] = order_by unless order_by.nil?
|
3701
3739
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3702
3740
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -3747,8 +3785,11 @@ module Google
|
|
3747
3785
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
3748
3786
|
# learn more.
|
3749
3787
|
# @param [String] parent
|
3750
|
-
# Required.
|
3751
|
-
#
|
3788
|
+
# Required. Parent resource name.
|
3789
|
+
# - Format:projects/[PROJECT-ID]
|
3790
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3791
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3792
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3752
3793
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
3753
3794
|
# @param [String] fields
|
3754
3795
|
# Selector specifying which fields to include in a partial response.
|
@@ -3852,11 +3893,13 @@ module Google
|
|
3852
3893
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
3853
3894
|
# learn more.
|
3854
3895
|
# @param [String] parent
|
3855
|
-
# Required.
|
3856
|
-
#
|
3896
|
+
# Required. Parent resource name.
|
3897
|
+
# - Format:projects/[PROJECT-ID]
|
3898
|
+
# - Format:organizations/[ORGANIZATION-ID]
|
3899
|
+
# - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
|
3900
|
+
# - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
|
3857
3901
|
# @param [String] location_id
|
3858
|
-
#
|
3859
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3902
|
+
# Deprecated. This field has no effect.
|
3860
3903
|
# @param [String] order_by
|
3861
3904
|
# Comma separated list of fields to order by,
|
3862
3905
|
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|