google-api-client 0.20.1 → 0.21.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 +190 -0
- data/README.md +3 -12
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
- data/generated/google/apis/admin_directory_v1.rb +3 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
- data/generated/google/apis/admin_directory_v1/service.rb +363 -577
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +21 -35
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +117 -195
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +21 -35
- data/generated/google/apis/analytics_v3.rb +4 -1
- data/generated/google/apis/analytics_v3/classes.rb +119 -60
- data/generated/google/apis/analytics_v3/representations.rb +43 -12
- data/generated/google/apis/analytics_v3/service.rb +294 -435
- data/generated/google/apis/analyticsreporting_v4.rb +2 -2
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
- data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +297 -286
- data/generated/google/apis/androidpublisher_v3.rb +34 -0
- data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +11 -4
- data/generated/google/apis/appengine_v1/service.rb +28 -19
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
- data/generated/google/apis/appengine_v1beta/service.rb +28 -19
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +6 -10
- data/generated/google/apis/appsmarket_v2/service.rb +12 -20
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +18 -30
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +76 -15
- data/generated/google/apis/bigquery_v2/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2/service.rb +69 -115
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/blogger_v2/service.rb +30 -50
- data/generated/google/apis/blogger_v3/service.rb +102 -170
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +156 -260
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +114 -190
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +6 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +18 -30
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +0 -69
- data/generated/google/apis/classroom_v1/representations.rb +0 -31
- data/generated/google/apis/classroom_v1/service.rb +0 -88
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
- data/generated/google/apis/cloudiot_v1/service.rb +387 -0
- data/generated/google/apis/cloudkms_v1.rb +2 -2
- data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +31 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
- data/generated/google/apis/composer_v1beta1/classes.rb +640 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
- data/generated/google/apis/composer_v1beta1/service.rb +462 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +4279 -1869
- data/generated/google/apis/compute_alpha/representations.rb +1366 -346
- data/generated/google/apis/compute_alpha/service.rb +4754 -4134
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +211 -55
- data/generated/google/apis/compute_beta/representations.rb +41 -0
- data/generated/google/apis/compute_beta/service.rb +1273 -2082
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +245 -44
- data/generated/google/apis/compute_v1/representations.rb +81 -0
- data/generated/google/apis/compute_v1/service.rb +1567 -1668
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +20 -15
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +51 -49
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +193 -14
- data/generated/google/apis/container_v1beta1/representations.rb +78 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -49
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +173 -8
- data/generated/google/apis/content_v2/representations.rb +71 -0
- data/generated/google/apis/content_v2/service.rb +246 -410
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
- data/generated/google/apis/content_v2sandbox/service.rb +63 -105
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +9 -15
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +6 -6
- data/generated/google/apis/dataproc_v1/service.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
- data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +2 -2
- data/generated/google/apis/datastore_v1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +2 -2
- data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v2_8/service.rb +622 -1031
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v3_0/service.rb +619 -1026
- data/generated/google/apis/dfareporting_v3_1.rb +40 -0
- data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
- data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
- data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
- data/generated/google/apis/discovery_v1/service.rb +9 -15
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +136 -1572
- data/generated/google/apis/dlp_v2/representations.rb +676 -1405
- data/generated/google/apis/dlp_v2/service.rb +24 -24
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +49 -81
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2/service.rb +49 -81
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1/service.rb +49 -81
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +205 -341
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +120 -200
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +2 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +45 -75
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +99 -165
- data/generated/google/apis/fusiontables_v2/service.rb +105 -175
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +84 -140
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +162 -270
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +41 -7
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
- data/generated/google/apis/gmail_v1/service.rb +189 -315
- data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
- data/generated/google/apis/groupssettings_v1/service.rb +12 -20
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +29 -7
- data/generated/google/apis/iam_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
- data/generated/google/apis/jobs_v2.rb +38 -0
- data/generated/google/apis/jobs_v2/classes.rb +3374 -0
- data/generated/google/apis/jobs_v2/representations.rb +1067 -0
- data/generated/google/apis/jobs_v2/service.rb +753 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +1 -0
- data/generated/google/apis/licensing_v1/service.rb +24 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +55 -5
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +6 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
- data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
- data/generated/google/apis/logging_v2beta1/service.rb +6 -4
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +75 -125
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +65 -28
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +27 -45
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +15 -25
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -0
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/photoslibrary_v1.rb +49 -0
- data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
- data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
- data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +63 -105
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +30 -50
- data/generated/google/apis/pubsub_v1.rb +2 -2
- data/generated/google/apis/pubsub_v1/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
- data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
- data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
- data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
- data/generated/google/apis/redis_v1beta1/service.rb +426 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
- data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
- data/generated/google/apis/reseller_v1/service.rb +54 -90
- data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
- data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
- data/generated/google/apis/runtimeconfig_v1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +29 -7
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/script_v1.rb +8 -2
- data/generated/google/apis/script_v1/classes.rb +3 -3
- data/generated/google/apis/script_v1/service.rb +8 -2
- data/generated/google/apis/servicebroker_v1.rb +36 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
- data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
- data/generated/google/apis/servicebroker_v1/service.rb +168 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
- data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
- data/generated/google/apis/servicecontrol_v1.rb +2 -2
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +2 -2
- data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +421 -0
- data/generated/google/apis/sheets_v4/representations.rb +120 -0
- data/generated/google/apis/site_verification_v1/service.rb +24 -40
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +6 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +160 -8
- data/generated/google/apis/sourcerepo_v1/representations.rb +63 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +99 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +40 -13
- data/generated/google/apis/spanner_v1/service.rb +2 -2
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +12 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +246 -210
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -6
- data/generated/google/apis/storage_v1/service.rb +144 -240
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +75 -125
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +105 -175
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +19 -122
- data/generated/google/apis/surveys_v2/representations.rb +0 -38
- data/generated/google/apis/surveys_v2/service.rb +27 -157
- data/generated/google/apis/tagmanager_v1/service.rb +153 -255
- data/generated/google/apis/tagmanager_v2/service.rb +222 -370
- data/generated/google/apis/tasks_v1/service.rb +45 -75
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/urlshortener_v1/service.rb +12 -20
- data/generated/google/apis/vault_v1.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +34 -0
- data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
- data/generated/google/apis/videointelligence_v1/service.rb +246 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
- data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
- data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2001 -105
- data/generated/google/apis/vision_v1/representations.rb +1024 -170
- data/generated/google/apis/vision_v1/service.rb +35 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4147 -772
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1659 -209
- data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2603 -844
- data/generated/google/apis/vision_v1p2beta1/representations.rb +784 -8
- data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
- data/generated/google/apis/webfonts_v1/service.rb +6 -10
- data/generated/google/apis/webmasters_v3/service.rb +42 -70
- data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v2.rb +46 -0
- data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
- data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
- data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -168
- data/generated/google/apis/youtube_v3/representations.rb +0 -62
- data/generated/google/apis/youtube_v3/service.rb +216 -415
- data/lib/google/apis/generator/helpers.rb +3 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +55 -39
- data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
- data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
- data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
- data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
- data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
- data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
- data/generated/google/apis/prediction_v1_2.rb +0 -44
- data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
- data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
- data/generated/google/apis/prediction_v1_2/service.rb +0 -287
- data/generated/google/apis/prediction_v1_3.rb +0 -44
- data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
- data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
- data/generated/google/apis/prediction_v1_3/service.rb +0 -284
- data/generated/google/apis/prediction_v1_4.rb +0 -44
- data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
- data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
- data/generated/google/apis/prediction_v1_4/service.rb +0 -284
- data/generated/google/apis/prediction_v1_5.rb +0 -44
- data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
- data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
- data/generated/google/apis/prediction_v1_5/service.rb +0 -357
- data/generated/google/apis/prediction_v1_6.rb +0 -47
- data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
- data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
- data/generated/google/apis/prediction_v1_6/service.rb +0 -381
- data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
- data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
- data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -1,603 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module DlpV2beta1
|
23
|
-
# Cloud Data Loss Prevention (DLP) API
|
24
|
-
#
|
25
|
-
# Provides methods for detection, risk analysis, and de-identification of
|
26
|
-
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
27
|
-
# repositories.
|
28
|
-
#
|
29
|
-
# @example
|
30
|
-
# require 'google/apis/dlp_v2beta1'
|
31
|
-
#
|
32
|
-
# Dlp = Google::Apis::DlpV2beta1 # Alias the module
|
33
|
-
# service = Dlp::DLPService.new
|
34
|
-
#
|
35
|
-
# @see https://cloud.google.com/dlp/docs/
|
36
|
-
class DLPService < Google::Apis::Core::BaseService
|
37
|
-
# @return [String]
|
38
|
-
# API key. Your API key identifies your project and provides you with API access,
|
39
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
-
attr_accessor :key
|
41
|
-
|
42
|
-
# @return [String]
|
43
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
-
attr_accessor :quota_user
|
46
|
-
|
47
|
-
def initialize
|
48
|
-
super('https://dlp.googleapis.com/', '')
|
49
|
-
@batch_path = 'batch'
|
50
|
-
end
|
51
|
-
|
52
|
-
# De-identifies potentially sensitive info from a list of strings.
|
53
|
-
# This method has limits on input size and output size.
|
54
|
-
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest] google_privacy_dlp_v2beta1_deidentify_content_request_object
|
55
|
-
# @param [String] fields
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
57
|
-
# @param [String] quota_user
|
58
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
-
# @param [Google::Apis::RequestOptions] options
|
61
|
-
# Request-specific options
|
62
|
-
#
|
63
|
-
# @yield [result, err] Result & error if block supplied
|
64
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse] parsed result object
|
65
|
-
# @yieldparam err [StandardError] error object if request failed
|
66
|
-
#
|
67
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse]
|
68
|
-
#
|
69
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
-
def deidentify_content(google_privacy_dlp_v2beta1_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command = make_simple_command(:post, 'v2beta1/content:deidentify', options)
|
74
|
-
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest::Representation
|
75
|
-
command.request_object = google_privacy_dlp_v2beta1_deidentify_content_request_object
|
76
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse::Representation
|
77
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse
|
78
|
-
command.query['fields'] = fields unless fields.nil?
|
79
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
-
execute_or_queue_command(command, &block)
|
81
|
-
end
|
82
|
-
|
83
|
-
# Finds potentially sensitive info in a list of strings.
|
84
|
-
# This method has limits on input size, processing time, and output size.
|
85
|
-
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest] google_privacy_dlp_v2beta1_inspect_content_request_object
|
86
|
-
# @param [String] fields
|
87
|
-
# Selector specifying which fields to include in a partial response.
|
88
|
-
# @param [String] quota_user
|
89
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
90
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
91
|
-
# @param [Google::Apis::RequestOptions] options
|
92
|
-
# Request-specific options
|
93
|
-
#
|
94
|
-
# @yield [result, err] Result & error if block supplied
|
95
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse] parsed result object
|
96
|
-
# @yieldparam err [StandardError] error object if request failed
|
97
|
-
#
|
98
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse]
|
99
|
-
#
|
100
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
101
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
102
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
103
|
-
def inspect_content(google_privacy_dlp_v2beta1_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
104
|
-
command = make_simple_command(:post, 'v2beta1/content:inspect', options)
|
105
|
-
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest::Representation
|
106
|
-
command.request_object = google_privacy_dlp_v2beta1_inspect_content_request_object
|
107
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse::Representation
|
108
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse
|
109
|
-
command.query['fields'] = fields unless fields.nil?
|
110
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
|
-
execute_or_queue_command(command, &block)
|
112
|
-
end
|
113
|
-
|
114
|
-
# Redacts potentially sensitive info from a list of strings.
|
115
|
-
# This method has limits on input size, processing time, and output size.
|
116
|
-
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest] google_privacy_dlp_v2beta1_redact_content_request_object
|
117
|
-
# @param [String] fields
|
118
|
-
# Selector specifying which fields to include in a partial response.
|
119
|
-
# @param [String] quota_user
|
120
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
121
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
122
|
-
# @param [Google::Apis::RequestOptions] options
|
123
|
-
# Request-specific options
|
124
|
-
#
|
125
|
-
# @yield [result, err] Result & error if block supplied
|
126
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse] parsed result object
|
127
|
-
# @yieldparam err [StandardError] error object if request failed
|
128
|
-
#
|
129
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse]
|
130
|
-
#
|
131
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
132
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
133
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
134
|
-
def redact_content(google_privacy_dlp_v2beta1_redact_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
135
|
-
command = make_simple_command(:post, 'v2beta1/content:redact', options)
|
136
|
-
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest::Representation
|
137
|
-
command.request_object = google_privacy_dlp_v2beta1_redact_content_request_object
|
138
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse::Representation
|
139
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse
|
140
|
-
command.query['fields'] = fields unless fields.nil?
|
141
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
142
|
-
execute_or_queue_command(command, &block)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Schedules a job to compute risk analysis metrics over content in a Google
|
146
|
-
# Cloud Platform repository.
|
147
|
-
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest] google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object
|
148
|
-
# @param [String] fields
|
149
|
-
# Selector specifying which fields to include in a partial response.
|
150
|
-
# @param [String] quota_user
|
151
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
152
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
153
|
-
# @param [Google::Apis::RequestOptions] options
|
154
|
-
# Request-specific options
|
155
|
-
#
|
156
|
-
# @yield [result, err] Result & error if block supplied
|
157
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
158
|
-
# @yieldparam err [StandardError] error object if request failed
|
159
|
-
#
|
160
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
161
|
-
#
|
162
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
163
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
164
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
165
|
-
def analyze_data_source(google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
166
|
-
command = make_simple_command(:post, 'v2beta1/dataSource:analyze', options)
|
167
|
-
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest::Representation
|
168
|
-
command.request_object = google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object
|
169
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
170
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
171
|
-
command.query['fields'] = fields unless fields.nil?
|
172
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
-
execute_or_queue_command(command, &block)
|
174
|
-
end
|
175
|
-
|
176
|
-
# Cancels an operation. Use the `inspect.operations.get` to check whether the
|
177
|
-
# cancellation succeeded or the operation completed despite cancellation.
|
178
|
-
# @param [String] name
|
179
|
-
# The name of the operation resource to be cancelled.
|
180
|
-
# @param [Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
181
|
-
# @param [String] fields
|
182
|
-
# Selector specifying which fields to include in a partial response.
|
183
|
-
# @param [String] quota_user
|
184
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
185
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
186
|
-
# @param [Google::Apis::RequestOptions] options
|
187
|
-
# Request-specific options
|
188
|
-
#
|
189
|
-
# @yield [result, err] Result & error if block supplied
|
190
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
191
|
-
# @yieldparam err [StandardError] error object if request failed
|
192
|
-
#
|
193
|
-
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
194
|
-
#
|
195
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
196
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
197
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
198
|
-
def cancel_inspect_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
199
|
-
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
|
200
|
-
command.request_representation = Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest::Representation
|
201
|
-
command.request_object = google_longrunning_cancel_operation_request_object
|
202
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
203
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
204
|
-
command.params['name'] = name unless name.nil?
|
205
|
-
command.query['fields'] = fields unless fields.nil?
|
206
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
207
|
-
execute_or_queue_command(command, &block)
|
208
|
-
end
|
209
|
-
|
210
|
-
# Schedules a job scanning content in a Google Cloud Platform data
|
211
|
-
# repository.
|
212
|
-
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest] google_privacy_dlp_v2beta1_create_inspect_operation_request_object
|
213
|
-
# @param [String] fields
|
214
|
-
# Selector specifying which fields to include in a partial response.
|
215
|
-
# @param [String] quota_user
|
216
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
217
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
218
|
-
# @param [Google::Apis::RequestOptions] options
|
219
|
-
# Request-specific options
|
220
|
-
#
|
221
|
-
# @yield [result, err] Result & error if block supplied
|
222
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
223
|
-
# @yieldparam err [StandardError] error object if request failed
|
224
|
-
#
|
225
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
226
|
-
#
|
227
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
-
def create_inspect_operation(google_privacy_dlp_v2beta1_create_inspect_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
-
command = make_simple_command(:post, 'v2beta1/inspect/operations', options)
|
232
|
-
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest::Representation
|
233
|
-
command.request_object = google_privacy_dlp_v2beta1_create_inspect_operation_request_object
|
234
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
235
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
236
|
-
command.query['fields'] = fields unless fields.nil?
|
237
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
238
|
-
execute_or_queue_command(command, &block)
|
239
|
-
end
|
240
|
-
|
241
|
-
# This method is not supported and the server returns `UNIMPLEMENTED`.
|
242
|
-
# @param [String] name
|
243
|
-
# The name of the operation resource to be deleted.
|
244
|
-
# @param [String] fields
|
245
|
-
# Selector specifying which fields to include in a partial response.
|
246
|
-
# @param [String] quota_user
|
247
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
248
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
249
|
-
# @param [Google::Apis::RequestOptions] options
|
250
|
-
# Request-specific options
|
251
|
-
#
|
252
|
-
# @yield [result, err] Result & error if block supplied
|
253
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
254
|
-
# @yieldparam err [StandardError] error object if request failed
|
255
|
-
#
|
256
|
-
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
257
|
-
#
|
258
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
259
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
|
-
def delete_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
262
|
-
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
263
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
264
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
265
|
-
command.params['name'] = name unless name.nil?
|
266
|
-
command.query['fields'] = fields unless fields.nil?
|
267
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
|
-
execute_or_queue_command(command, &block)
|
269
|
-
end
|
270
|
-
|
271
|
-
# Gets the latest state of a long-running operation. Clients can use this
|
272
|
-
# method to poll the operation result at intervals as recommended by the API
|
273
|
-
# service.
|
274
|
-
# @param [String] name
|
275
|
-
# The name of the operation resource.
|
276
|
-
# @param [String] fields
|
277
|
-
# Selector specifying which fields to include in a partial response.
|
278
|
-
# @param [String] quota_user
|
279
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
280
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
281
|
-
# @param [Google::Apis::RequestOptions] options
|
282
|
-
# Request-specific options
|
283
|
-
#
|
284
|
-
# @yield [result, err] Result & error if block supplied
|
285
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
286
|
-
# @yieldparam err [StandardError] error object if request failed
|
287
|
-
#
|
288
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
289
|
-
#
|
290
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
291
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
292
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
293
|
-
def get_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
294
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
295
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
296
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
297
|
-
command.params['name'] = name unless name.nil?
|
298
|
-
command.query['fields'] = fields unless fields.nil?
|
299
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
300
|
-
execute_or_queue_command(command, &block)
|
301
|
-
end
|
302
|
-
|
303
|
-
# Fetches the list of long running operations.
|
304
|
-
# @param [String] name
|
305
|
-
# The name of the operation's parent resource.
|
306
|
-
# @param [String] filter
|
307
|
-
# Filters by `done`. That is, `done=true` or `done=false`.
|
308
|
-
# @param [Fixnum] page_size
|
309
|
-
# The list page size. The maximum allowed value is 256 and the default is 100.
|
310
|
-
# @param [String] page_token
|
311
|
-
# The standard list page token.
|
312
|
-
# @param [String] fields
|
313
|
-
# Selector specifying which fields to include in a partial response.
|
314
|
-
# @param [String] quota_user
|
315
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
316
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
317
|
-
# @param [Google::Apis::RequestOptions] options
|
318
|
-
# Request-specific options
|
319
|
-
#
|
320
|
-
# @yield [result, err] Result & error if block supplied
|
321
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
322
|
-
# @yieldparam err [StandardError] error object if request failed
|
323
|
-
#
|
324
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse]
|
325
|
-
#
|
326
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
327
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
|
-
def list_inspect_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
331
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse::Representation
|
332
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse
|
333
|
-
command.params['name'] = name unless name.nil?
|
334
|
-
command.query['filter'] = filter unless filter.nil?
|
335
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
336
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
337
|
-
command.query['fields'] = fields unless fields.nil?
|
338
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
339
|
-
execute_or_queue_command(command, &block)
|
340
|
-
end
|
341
|
-
|
342
|
-
# Returns list of results for given inspect operation result set id.
|
343
|
-
# @param [String] name
|
344
|
-
# Identifier of the results set returned as metadata of
|
345
|
-
# the longrunning operation created by a call to InspectDataSource.
|
346
|
-
# Should be in the format of `inspect/results/`id``.
|
347
|
-
# @param [String] filter
|
348
|
-
# Restricts findings to items that match. Supports info_type and likelihood.
|
349
|
-
# Examples:
|
350
|
-
# - info_type=EMAIL_ADDRESS
|
351
|
-
# - info_type=PHONE_NUMBER,EMAIL_ADDRESS
|
352
|
-
# - likelihood=VERY_LIKELY
|
353
|
-
# - likelihood=VERY_LIKELY,LIKELY
|
354
|
-
# - info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY
|
355
|
-
# @param [Fixnum] page_size
|
356
|
-
# Maximum number of results to return.
|
357
|
-
# If 0, the implementation selects a reasonable value.
|
358
|
-
# @param [String] page_token
|
359
|
-
# The value returned by the last `ListInspectFindingsResponse`; indicates
|
360
|
-
# that this is a continuation of a prior `ListInspectFindings` call, and that
|
361
|
-
# the system should return the next page of data.
|
362
|
-
# @param [String] fields
|
363
|
-
# Selector specifying which fields to include in a partial response.
|
364
|
-
# @param [String] quota_user
|
365
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
366
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
367
|
-
# @param [Google::Apis::RequestOptions] options
|
368
|
-
# Request-specific options
|
369
|
-
#
|
370
|
-
# @yield [result, err] Result & error if block supplied
|
371
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse] parsed result object
|
372
|
-
# @yieldparam err [StandardError] error object if request failed
|
373
|
-
#
|
374
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse]
|
375
|
-
#
|
376
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
377
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
378
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
379
|
-
def list_inspect_result_findings(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
380
|
-
command = make_simple_command(:get, 'v2beta1/{+name}/findings', options)
|
381
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse::Representation
|
382
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse
|
383
|
-
command.params['name'] = name unless name.nil?
|
384
|
-
command.query['filter'] = filter unless filter.nil?
|
385
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
386
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
387
|
-
command.query['fields'] = fields unless fields.nil?
|
388
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
|
-
execute_or_queue_command(command, &block)
|
390
|
-
end
|
391
|
-
|
392
|
-
# Cancels an operation. Use the `inspect.operations.get` to check whether the
|
393
|
-
# cancellation succeeded or the operation completed despite cancellation.
|
394
|
-
# @param [String] name
|
395
|
-
# The name of the operation resource to be cancelled.
|
396
|
-
# @param [Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
397
|
-
# @param [String] fields
|
398
|
-
# Selector specifying which fields to include in a partial response.
|
399
|
-
# @param [String] quota_user
|
400
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
401
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
|
-
# @param [Google::Apis::RequestOptions] options
|
403
|
-
# Request-specific options
|
404
|
-
#
|
405
|
-
# @yield [result, err] Result & error if block supplied
|
406
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
407
|
-
# @yieldparam err [StandardError] error object if request failed
|
408
|
-
#
|
409
|
-
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
410
|
-
#
|
411
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
-
def cancel_risk_analysis_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
-
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
|
416
|
-
command.request_representation = Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest::Representation
|
417
|
-
command.request_object = google_longrunning_cancel_operation_request_object
|
418
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
419
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
420
|
-
command.params['name'] = name unless name.nil?
|
421
|
-
command.query['fields'] = fields unless fields.nil?
|
422
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
423
|
-
execute_or_queue_command(command, &block)
|
424
|
-
end
|
425
|
-
|
426
|
-
# This method is not supported and the server returns `UNIMPLEMENTED`.
|
427
|
-
# @param [String] name
|
428
|
-
# The name of the operation resource to be deleted.
|
429
|
-
# @param [String] fields
|
430
|
-
# Selector specifying which fields to include in a partial response.
|
431
|
-
# @param [String] quota_user
|
432
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
433
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
434
|
-
# @param [Google::Apis::RequestOptions] options
|
435
|
-
# Request-specific options
|
436
|
-
#
|
437
|
-
# @yield [result, err] Result & error if block supplied
|
438
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
439
|
-
# @yieldparam err [StandardError] error object if request failed
|
440
|
-
#
|
441
|
-
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
442
|
-
#
|
443
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
444
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
|
-
def delete_risk_analysis_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
447
|
-
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
448
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
449
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
450
|
-
command.params['name'] = name unless name.nil?
|
451
|
-
command.query['fields'] = fields unless fields.nil?
|
452
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
453
|
-
execute_or_queue_command(command, &block)
|
454
|
-
end
|
455
|
-
|
456
|
-
# Gets the latest state of a long-running operation. Clients can use this
|
457
|
-
# method to poll the operation result at intervals as recommended by the API
|
458
|
-
# service.
|
459
|
-
# @param [String] name
|
460
|
-
# The name of the operation resource.
|
461
|
-
# @param [String] fields
|
462
|
-
# Selector specifying which fields to include in a partial response.
|
463
|
-
# @param [String] quota_user
|
464
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
465
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
466
|
-
# @param [Google::Apis::RequestOptions] options
|
467
|
-
# Request-specific options
|
468
|
-
#
|
469
|
-
# @yield [result, err] Result & error if block supplied
|
470
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
471
|
-
# @yieldparam err [StandardError] error object if request failed
|
472
|
-
#
|
473
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
474
|
-
#
|
475
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
476
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
477
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
478
|
-
def get_risk_analysis_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
479
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
480
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
481
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
482
|
-
command.params['name'] = name unless name.nil?
|
483
|
-
command.query['fields'] = fields unless fields.nil?
|
484
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
485
|
-
execute_or_queue_command(command, &block)
|
486
|
-
end
|
487
|
-
|
488
|
-
# Fetches the list of long running operations.
|
489
|
-
# @param [String] name
|
490
|
-
# The name of the operation's parent resource.
|
491
|
-
# @param [String] filter
|
492
|
-
# Filters by `done`. That is, `done=true` or `done=false`.
|
493
|
-
# @param [Fixnum] page_size
|
494
|
-
# The list page size. The maximum allowed value is 256 and the default is 100.
|
495
|
-
# @param [String] page_token
|
496
|
-
# The standard list page token.
|
497
|
-
# @param [String] fields
|
498
|
-
# Selector specifying which fields to include in a partial response.
|
499
|
-
# @param [String] quota_user
|
500
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
501
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
502
|
-
# @param [Google::Apis::RequestOptions] options
|
503
|
-
# Request-specific options
|
504
|
-
#
|
505
|
-
# @yield [result, err] Result & error if block supplied
|
506
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
507
|
-
# @yieldparam err [StandardError] error object if request failed
|
508
|
-
#
|
509
|
-
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse]
|
510
|
-
#
|
511
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
512
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
|
-
def list_risk_analysis_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
515
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
516
|
-
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse::Representation
|
517
|
-
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse
|
518
|
-
command.params['name'] = name unless name.nil?
|
519
|
-
command.query['filter'] = filter unless filter.nil?
|
520
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
521
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
522
|
-
command.query['fields'] = fields unless fields.nil?
|
523
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
524
|
-
execute_or_queue_command(command, &block)
|
525
|
-
end
|
526
|
-
|
527
|
-
# Returns the list of root categories of sensitive information.
|
528
|
-
# @param [String] language_code
|
529
|
-
# Optional language code for localized friendly category names.
|
530
|
-
# If omitted or if localized strings are not available,
|
531
|
-
# en-US strings will be returned.
|
532
|
-
# @param [String] fields
|
533
|
-
# Selector specifying which fields to include in a partial response.
|
534
|
-
# @param [String] quota_user
|
535
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
536
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
537
|
-
# @param [Google::Apis::RequestOptions] options
|
538
|
-
# Request-specific options
|
539
|
-
#
|
540
|
-
# @yield [result, err] Result & error if block supplied
|
541
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse] parsed result object
|
542
|
-
# @yieldparam err [StandardError] error object if request failed
|
543
|
-
#
|
544
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse]
|
545
|
-
#
|
546
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
547
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
548
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
549
|
-
def list_root_categories(language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
550
|
-
command = make_simple_command(:get, 'v2beta1/rootCategories', options)
|
551
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse::Representation
|
552
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse
|
553
|
-
command.query['languageCode'] = language_code unless language_code.nil?
|
554
|
-
command.query['fields'] = fields unless fields.nil?
|
555
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
556
|
-
execute_or_queue_command(command, &block)
|
557
|
-
end
|
558
|
-
|
559
|
-
# Returns sensitive information types for given category.
|
560
|
-
# @param [String] category
|
561
|
-
# Category name as returned by ListRootCategories.
|
562
|
-
# @param [String] language_code
|
563
|
-
# Optional BCP-47 language code for localized info type friendly
|
564
|
-
# names. If omitted, or if localized strings are not available,
|
565
|
-
# en-US strings will be returned.
|
566
|
-
# @param [String] fields
|
567
|
-
# Selector specifying which fields to include in a partial response.
|
568
|
-
# @param [String] quota_user
|
569
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
570
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
571
|
-
# @param [Google::Apis::RequestOptions] options
|
572
|
-
# Request-specific options
|
573
|
-
#
|
574
|
-
# @yield [result, err] Result & error if block supplied
|
575
|
-
# @yieldparam result [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse] parsed result object
|
576
|
-
# @yieldparam err [StandardError] error object if request failed
|
577
|
-
#
|
578
|
-
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse]
|
579
|
-
#
|
580
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
581
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
582
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
583
|
-
def list_root_category_info_types(category, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
584
|
-
command = make_simple_command(:get, 'v2beta1/rootCategories/{+category}/infoTypes', options)
|
585
|
-
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse::Representation
|
586
|
-
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse
|
587
|
-
command.params['category'] = category unless category.nil?
|
588
|
-
command.query['languageCode'] = language_code unless language_code.nil?
|
589
|
-
command.query['fields'] = fields unless fields.nil?
|
590
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
591
|
-
execute_or_queue_command(command, &block)
|
592
|
-
end
|
593
|
-
|
594
|
-
protected
|
595
|
-
|
596
|
-
def apply_command_defaults(command)
|
597
|
-
command.query['key'] = key unless key.nil?
|
598
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
|
-
end
|
600
|
-
end
|
601
|
-
end
|
602
|
-
end
|
603
|
-
end
|